Server Side Includes (SSI) is a set of directives that will allow you to include the content of a text file in an HTML file. By doing this, you are able to add any kind of content to numerous web pages on your website and alter it simply by modifying just one text file. You are able to furthermore add the output of distinctive scripts so that the current time and date, the IP address of the visitor or the properties of some file display on your site. This will help you incorporate some dynamic content to static pages, making the site more appealing to your visitors and creating a much more professional overall look. It will be simpler to update this content compared to updating every static web page one by one. If you would like to use Server Side Includes on your website, the pages that contain the content of any kind of file should be with extension .shtml.
Server Side Includes in Website Hosting
All the website hosting we provide support Server Side Includes, so that you can add dynamic components to your static website that you host on our cloud platform. By creating a clear .htaccess file and entering some lines of code in it, you'll be able to enable SSI for a domain or a subdomain. The file in question needs to be in the particular folder where you are going to use SSI and you can get the code within our Frequently Asked Questions section, and that means you do not need any kind of coding expertise. The 24/7 tech support staff will also be able to assist you with activating Server Side Includes if you are not absolutely sure what to do. You should also remember to change the extension of all your files that are going to utilize SSI from .html to .shtml and make sure that the links on your site point to the right files.
Server Side Includes in Semi-dedicated Servers
It shall not take you over a moment to activate Server Side Includes when you have a semi-dedicated server package through us. When you decide to activate this feature, you need to make an .htaccess file in the root folder for the domain or subdomain in which you need SSI to be active. In that file, you must copy some code, which you'll find in the FAQ article that we have dedicated to SSI. You can get the latter within the Help section of your Hosting Control Panel, so you do not require any prior knowledge of such matters. The only 2 things you should take care of are renaming all of web pages that shall utilize Server Side Includes from .html to .shtml and updating every one of the links on your site, in order that they lead to the renamed files.