Server Side Includes (SSI) is a range of directives that will enable you to contain the content of a text file inside an HTML file. In this way, you are able to add any kind of content to various web pages on your website and modify it just by editing one text file. You can also add the output of different scripts in order that the current time and date, the IP address of the website visitor or the attributes of some file appear on your website. This shall help you incorporate some dynamic content to static pages, making the website more desirable to your visitors and creating a more professional look and feel. It will likewise be simpler to revise this content when compared with updating each static page one by one. If you wish to use Server Side Includes in your website, the pages that incorporate the content of some file need to be with extension .shtml.
Server Side Includes in Website Hosting
As our custom made cloud hosting system features Server Side Includes on a global level, it will be easy to use this function with all of the website hosting packages that we have and incorporate dynamic content to your sites with a couple of mouse clicks. SSI can be activated for each specific domain name or subdomain by inserting an .htaccess file in the site folder with a few lines of code. Naturally, you do not have to turn into a coder for that because the necessary code may be copied from the Help article we have concerning Server Side Includes. If you want to employ this feature for your website, you need to rename your site files from .html to .shtml and you will have to double-check if all links on your website point to the up-to-date names.
Server Side Includes in Semi-dedicated Servers
If you get a semi-dedicated server package with our company, you will be able to enable Server Side Includes with a couple of mouse clicks and for virtually any domain or subdomain of your preference. We've got a comprehensive Help article on the subject that you can see in your Hepsia Hosting Control Panel. All you need to activate Server Side Includes will be to copy a number of lines out of the article in an .htaccess file that you need to set up in the main folder of the domain/subdomain and you'll be all set. You need to only be certain that all of the files using SSI have the proper extension i.e. .shtml, not simply .html, and also that the links on your site are updated and lead to the already renamed files.