Server Side Includes (SSI) really is a set of directives that will enable you to incorporate the content of a text file within an HTML file. This way, you can add any kind of content to numerous web pages in your site and change it by simply updating a single text file. You can furthermore incorporate the output of different scripts so the current date and time, the IP address of the visitor or the properties of some file show up on your website. This shall let you add in some dynamic content to static pages, making the website more inviting to your website visitors and creating a more professional visual appearance. It will be much easier to update this content compared to editing each static web page one by one. If you would like to use Server Side Includes on your website, the pages that incorporate the content of some file must be with extension .shtml.
Server Side Includes in Shared Hosting
You'll be able to use Server Side Includes with all of the shared hosting
plans we offer and activate it independently for each domain name or subdomain in your hosting account. This can be accomplished when using an .htaccess file, which should be placed in the folder where you wish to use SSI and you need to enter a couple of lines of code in that file. You can get the code in our Knowledgebase section, so you're able to simply copy and paste it, as you do not need any programming capabilities to take advantage of all of the characteristics that our solutions come with. If you have already built your site and you wish to employ Server Side Includes later on, you need to make certain that you rename the files from .html to .shtml and fix the links on the site, otherwise SSI won't work.
Server Side Includes in Semi-dedicated Hosting
If you get a semi-dedicated server
plan from us, it will be easy to enable Server Side Includes with a couple mouse clicks and for every domain or subdomain of your choice. We've got 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 handful of lines from the article inside an .htaccess file that you should set up in the main folder of the domain name/subdomain and you'll be set. You should just make certain that all of the files implementing SSI have the accurate extension i.e. .shtml, not simply .html, and also that the links on your site are kept up to date and point to the by now updated files.