Server Side Includes (SSI) is a group of directives that will enable you to include the content of a text file within an HTML file. In this manner, you are able to add any kind of content to numerous webpages in your site and change it simply by updating just one text file. You can also incorporate the output of various scripts so the present date and time, the IP address of the website visitor or the attributes of a file display on your site. This shall let you add some dynamic content to static web pages, making the site more desirable to your site visitors and creating a more professional visual appearance. It will also be simpler to update this content as compared to editing each static page one at a time. If you want to use Server Side Includes on your website, the pages that contain the content of any kind of file need to be with extension .shtml.
Server Side Includes in Hosting
You'll be able to use Server Side Includes with all of the hosting plans we provide and enable it independently for every domain name or subdomain in your hosting account. This can be accomplished with an .htaccess file, which needs to be positiioned in the folder where you wish to use SSI and you have to type in a couple of lines of code in that file. You can get the code in our Knowledgebase section, so you can simply just copy it, as you do not need any programming knowledge to benefit from all capabilities that our solutions contain. In case you have already built your site and you want to employ Server Side Includes later, you need to ensure that you rename the files from .html to .shtml and correct the links on the website, otherwise SSI will not work.
Server Side Includes in Semi-dedicated Hosting
If you get a semi-dedicated server package from us, you'll be able to activate Server Side Includes with a couple of clicks and for every domain or subdomain of your choice. You will find an in depth Help article on the subject you can find in your Hepsia Hosting Control Panel. All you need to enable Server Side Includes will be to copy a couple of lines out of the article inside an .htaccess file that you ought to make in the root folder of the domain name/subdomain and you will be all set to go. You need to just ensure that all files using SSI have the correct extension i.e. .shtml, not simply .html, as well as that the links on your website are modified and lead to the by now renamed files.