Server Side Includes (SSI) is a group of directives that will permit you to contain the content of a text file within an HTML file. In this manner, you're able to add any kind of content to a few different webpages in your site and modify it by just modifying one text file. You are able to additionally add the output of distinctive scripts so that the current time and date, the IP address of the website visitor or the attributes of some file show up on your website. This shall help you add some dynamic content to static webpages, making the site more inviting to your website visitors and giving it a professional appearance. It will also be easier to update this content in comparison with updating each static page one at a time. If you would like to use Server Side Includes on your website, the web pages that contain the content of some file need to be with extension .shtml.
Server Side Includes in Shared Hosting
It is possible to use Server Side Includes with all of the shared hosting
plans we offer you and activate it independently for each and every domain or subdomain inside of your hosting account. This can be accomplished with an .htaccess file, which needs to be placed in the folder where you want to use SSI and you need to put a few lines of code in that file. You can find the code within our Knowledgebase section, so you're able to simply just copy and paste it, since you do not need any coding capabilities to take advantage of all functions that our services feature. In case you have currently built your website and you want to use Server Side Includes later on, you must make sure that you rename the files from .html to .shtml and fix the links on the website, or else SSI won't work.
Server Side Includes in Semi-dedicated Hosting
Server Side Includes may be enabled without difficulty with each and every semi-dedicated server
plan that we provide and the whole process will take you only a minute and merely a number of mouse clicks. You can enable SSI by creating an empty .htaccess file in a domain or subdomain main folder using the File Manager tool in the Hosting Control Panel or an FTP program of your choosing, then typing in a few lines of code, which you will be able to get out of the SSI article within our comprehensive Knowledgebase. The only thing remaining after that is to double-check if all of the webpages that shall implement Server Side Includes are renamed from .html to .shtml and to alter the links to different pages on your website, in order to represent the changes in the file extensions.