Server Side Includes (SSI) really is a list of directives that will allow you to include the content of a text file inside an HTML file. This way, you are able to add some content to a few different web pages on your website and change it by simply modifying a single text file. You're able to additionally incorporate the output of distinctive scripts so the current time and date, the IP address of the website visitor or the properties of some file show on your site. This will enable you to incorporate some dynamic content to static webpages, making the website more inviting to your website visitors and creating a more professional appearance. It will likewise be simpler to revise this content as compared to updating every static page one at a time. If you wish to use Server Side Includes on your site, the pages that contain the content of some file need to be with extension .shtml.
Server Side Includes in Shared Hosting
As our unique cloud hosting system features Server Side Includes on a global level, it's possible to make use of this function with all of the shared hosting plans we have and add in dynamic content to your sites with only a few mouse clicks. SSI is enabled for each specific domain or subdomain by placing an .htaccess file in the website folder with a couple of lines of code. Naturally, you do not have to be a developer for that because the required code may be copied from the Help article we have about Server Side Includes. If you want to use this feature for your site, it's important to rename your website files from .html to .shtml plus you've got to double-check if all links on your website lead to the modified names.
Server Side Includes in Semi-dedicated Servers
If you get a semi-dedicated server package with our company, it is possible to enable Server Side Includes with a few mouse clicks and for every domain or subdomain that you pick. We have a comprehensive Help article about the subject that you could see in your Hepsia Hosting Control Panel. All it takes to activate Server Side Includes will be to copy a number of lines out of the article in an .htaccess file that you should set up in the root folder of the domain/subdomain and you'll be set. You should simply be certain that all files utilizing SSI have the appropriate extension i.e. .shtml, not .html, and that the links on your website are kept up to date and lead to the by now updated files.