Server Side Includes
Learn precisely what Server Side Includes is actually and exactly how it can be used to boost your websites.
Server Side Includes (SSI) really is a set of directives that will allow you to include the content of a text file within an HTML file. By doing this, you are able to add any kind of content to various web pages in your website and change it just by modifying just one text file. You're able to also add the output of distinctive scripts so the present date and time, the IP address of the visitor or the properties of a file show up on your site. This shall help you incorporate some dynamic content to static webpages, making the site more desirable to your visitors and giving it a more professional visual appearance. It will likewise be quicker to revise this content in comparison to editing every static page one at a time. If you wish to use Server Side Includes on your site, the pages that incorporate the content of some file must be with extension .shtml.
-
Server Side Includes in Web Hosting
Since our customized cloud hosting platform supports Server Side Includes on a global level, you'll be able to utilize this feature with all of the
web hosting plans that we have and add dynamic content to your sites with a couple of clicks. SSI can be enabled for every individual domain or subdomain by placing an .htaccess file in the site folder with just a few lines of code. Certainly, there is no need to be a coder for that since the needed code may be copied from the Help article that we have concerning Server Side Includes. If you'd like to employ this feature for your site, you need to rename your website files from .html to .shtml plus you've got to double-check if all of the links on your website lead to the modified names.
-
Server Side Includes in Semi-dedicated Servers
It shall not take you more than a moment to activate Server Side Includes if you have a
semi-dedicated server package through us. When you decide to activate this function, you have to make an .htaccess file in the main folder for the domain name or subdomain in which you need SSI to be active. In this file, you need to copy some code, which you'll get in the FAQ article that we have dedicated to SSI. You can get the latter in the Help section of your Hosting Control Panel, so you do not need any prior knowledge of such things. The only 2 things you ought to deal with are renaming all of pages that shall employ Server Side Includes from .html to .shtml and changing every one of the links in your website, to ensure that they point to the updated files.