Server Side Includes (SSI) really is a range of directives that will allow you to include the content of a text file in an HTML file. In this way, you can add some content to few different web pages in your website and alter it by just editing an individual text file. You are able to additionally add the output of distinctive scripts in order that the present date and time, the IP address of the visitor or the properties of some file appear on your website. This shall enable you to add in some dynamic content to static pages, making the site more appealing to your website visitors and creating a professional look and feel. It will be much easier to revise this content in comparison with editing every static page one at a time. If you wish to use Server Side Includes on your site, the web pages that incorporate the content of some file should be with extension .shtml.
Server Side Includes in Shared Web Hosting
It is possible to use Server Side Includes with all shared web hosting packages that we provide and enable it independently for every single domain name or subdomain in your hosting account. This can be accomplished by using an .htaccess file, which should be placed into the folder where you want to use SSI and you need to enter a couple of lines of code in that file. You'll find the code in our Knowledgebase section, so you can simply copy and paste it, as you do not need any programming capabilities to take advantage of all functions that our solutions contain. If you have already built your website and you want to employ Server Side Includes later on, you must make sure that you rename the files from .html to .shtml and correct the links on the site, otherwise SSI will not work.
Server Side Includes in Semi-dedicated Servers
If you get a semi-dedicated server package from our company, you will be able to activate Server Side Includes with only a few clicks and for virtually any domain or subdomain of your choice. We have a thorough Help article on the subject you could find in your Hepsia Hosting Control Panel. All you need to activate Server Side Includes will be to copy a couple of lines out of the article within an .htaccess file that you should create in the main folder of the domain/subdomain and you will be good to go. You should simply be sure that all files using SSI have the accurate extension i.e. .shtml, not .html, and also that the links on your website are modified and lead to the already renamed files.