Server Side Includes (SSI) is a range of directives that will permit you to include the content of a text file within an HTML file. In this way, you can add any kind of content to various webpages in your site and adjust it by just editing an individual text file. You're able to furthermore add the output of different scripts so that the current time and date, the IP address of the visitor or the attributes of a file appear on your website. This shall enable you to add in some dynamic content to static pages, making the website more inviting to your visitors and giving it a far more professional appearance. It will also be much easier to revise this content in comparison with updating each static page one by one. If you want to use Server Side Includes on your site, the pages that include the content of some file should be with extension .shtml.
Server Side Includes in Web Hosting
You will be able to use Server Side Includes with all of the web hosting plans we provide and activate it independently for every domain name or subdomain in your own hosting account. You can do this when using an .htaccess file, which needs to be put into the folder where you want to use SSI and you need to put a couple of lines of code in that file. You can get the code in our Knowledgebase section, so you're able to simply just copy and paste it, since you don't need any coding capabilities to take advantage of all functions that our services incorporate. In case you have already built your site and you want to employ Server Side Includes later on, you must ensure that you rename the files from .html to .shtml and fix the links on the website, otherwise SSI is not going to work.
Server Side Includes in Semi-dedicated Hosting
It shall not take you more than a moment to enable Server Side Includes when you've got a semi-dedicated server package from our company. When you choose to enable this function, you need to set up an .htaccess file in the root folder for the domain name or subdomain in which you would like SSI to be active. In this file, you must copy some code, which you can see in the FAQ article that we have devoted to SSI. You can find the latter within the Help section of your Hosting Control Panel, so you do not require any previous knowledge about these types of matters. The only 2 things you should take care of are renaming all of pages that will utilize Server Side Includes from .html to .shtml and bringing up-to-date all the links in your site, to ensure that they point to the renamed files.