Server Side Includes (SSI) is actually a group of directives that will allow you to include the content of a text file inside an HTML file. In this way, you can add any kind of content to various webpages on your website and change it simply by updating a single text file. You can furthermore incorporate the output of different scripts so that the present time and date, the IP address of the visitor or the attributes of some file show up on your site. This shall allow you to add in some dynamic content to static web pages, making the site more inviting to your visitors and giving it a more professional appearance. It will also be simpler to revise this content in comparison with updating every static page one at a time. If you want to use Server Side Includes in your site, the web pages that include the content of any kind of file should be with extension .shtml.
Server Side Includes in Shared Hosting
Server Side Includes is available on our progressive cloud hosting platform, so no matter the Linux shared hosting which you pick, you will be able to use this feature making your site more dynamic. Everything you have to do is to set up a file called .htaccess in the main folder for the domain name or subdomain where you want to use SSI and include a couple of lines of code inside. You won't require any kind of coding skills however, as you're able simply just copy the necessary code from the help section, or our technical support can assist you enable SSI for a specified site. You need to simply customize the extension of the html file which will employ Server Side Includes to .shtml and make certain that all of the links to those web pages on the website are appropriate.
Server Side Includes in Semi-dedicated Servers
It will not take you over a minute to enable Server Side Includes if you have a semi-dedicated server plan with us. If you decide to activate this feature, you must make an .htaccess file in the main folder for the domain or subdomain in which you want SSI to be active. In that file, you must copy some code, which you'll see in the FAQ article that we have devoted to SSI. You can get the latter in the Help area of your Hosting Control Panel, so you do not need any prior knowledge of these types of things. The only two things you should deal with are renaming all of web pages that will utilize Server Side Includes from .html to .shtml and bringing up-to-date every one of the links on your website, to make sure they lead to the updated files.