Server Side Includes (SSI) is a group of directives that will enable you to incorporate the content of a text file inside an HTML file. In this way, you'll be able to add any kind of content to various webpages in your website and alter it by simply editing an individual text file. You can additionally add the output of different scripts so that the present date and time, the IP address of the visitor or the properties of a file display on your website. This will enable you to add some dynamic content to static web pages, making the site more desirable to your site visitors and creating a much more professional overall appearance. It will likewise be much easier to revise this content when compared with updating each static web page one at a time. If you want to use Server Side Includes on your website, the web pages that include the content of some file should be with extension .shtml.
Server Side Includes in Web Hosting
All the Linux web hosting that we offer support Server Side Includes, so you're able to add dynamic elements to any static website which you host on our cloud platform. By creating a clear .htaccess file and typing in a few lines of code in it, you are able to activate SSI for a domain name or maybe a subdomain. The file in question should be in the exact folder where you are going to use SSI and you can get the code inside our Frequently Asked Questions section, and that means you do not need any coding expertise. Our 24/7 technical support staff shall also be able to assist you with enabling Server Side Includes if you are not sure what to do. You should also make sure to change the extension of all your files that will implement SSI from .html to .shtml and make sure that the links on your website lead to the correct files.
Server Side Includes in Semi-dedicated Servers
When you get a semi-dedicated server plan through our company, you'll be able to enable Server Side Includes with a few mouse clicks and for any domain name or subdomain of your choosing. We have in-depth Help article about the subject that you can find in your Hepsia Hosting Control Panel. All it takes to enable Server Side Includes is to copy a couple of lines out of the article in an .htaccess file that you should create in the main folder of the domain name/subdomain and you'll be set. You need to just be certain that all files using SSI possess the right extension i.e. .shtml, not simply .html, as well as that the links on your site are modified and lead to the already renamed files.