Server Side Includes (SSI) is a basic server-side language, which allows you to incorporate text from a given source within a website. In the most widespread case, the text from one file is incorporated in another, giving a website the feeling that it is dynamic. As an example, if your website consists of ten web pages, 5 of them can easily have the content of some file, such as horoscope.txt. If you change this text file, the new content will appear on all of the five pages, which will help you bring up to date your website much easier than if you had to update an element of all 5 web pages. Server Side Includes is at times used to include the output of basic commands, scripts or functions as well - a hit counter that's shown on the site, the current time and date or the visitor's IP address. Every web page that makes use of SSI will need to have a particular extension - .shtml.

Server Side Includes in Shared Website Hosting

It will be easy to use Server Side Includes with all of the shared website hosting packages that we offer and enable it independently for every domain or subdomain inside of your hosting account. This can be achieved by utilizing an .htaccess file, which needs to be placed into the folder where you want to use SSI and you need to enter a few lines of code in that file. You'll find the code inside our Knowledgebase area, so you can just copy and paste it, since you don't need any coding expertise to benefit from all of the functions that our solutions incorporate. If you have already built your site and you wish to use Server Side Includes afterwards, you have to make certain that you rename the files from .html to .shtml and correct the links on the site, or else SSI won't work.

Server Side Includes in Semi-dedicated Servers

It is possible to enable and use Server Side Includes with merely a couple of clicks with any one of the semi-dedicated server packages as the option is available within the cloud platform where your account shall be set up. All you have to do will be to create an empty file named .htaccess from your Hepsia Hosting Control Panel and then include a number of lines of code inside. You can find the latter in one of the Help articles available as part of your account, so you do not require any kind of programming skills - you are able to simply copy the code in question. All pages that will implement Server Side Includes need to have a .shtml extension, so if you add this function to an active website, you have to make sure that you update all of the links on it.