Server Side Includes (SSI) really is a set of directives that will permit you to include the content of a text file inside an HTML file. In this manner, you are able to add any kind of content to few different web pages on your website and change it by just editing just one text file. You're able to additionally add the output of various scripts so that the present date and time, the IP address of the visitor or the properties of a file display on your site. This shall help you add in some dynamic content to static web pages, making the site more appealing to your website visitors and giving it a much more professional visual appearance. It will likewise be quicker to update this content when compared with updating every static web page one at a time. If you want to use Server Side Includes in your website, the web pages that contain the content of any kind of file must be with extension .shtml.
Server Side Includes in Website Hosting
As our custom cloud hosting platform supports Server Side Includes on a global level, it's possible to use this feature with all of the website hosting packages that we feature and bring dynamic content to your sites with only a few mouse clicks. SSI can be enabled for every particular domain or subdomain by inserting an .htaccess file in the website folder with only a few lines of code. Certainly, you don't have to be a coder for that as the necessary code may be copied from the Help post that we have related to Server Side Includes. If you'd like to utilize this feature for your website, it's important to rename your website files from .html to .shtml and you have to double-check if all of the links on your site lead to the updated names.
Server Side Includes in Semi-dedicated Servers
If you get a semi-dedicated server plan with our company, it will be easy to enable Server Side Includes with a few clicks and for every domain name or subdomain of your preference. You will find a thorough Help article on the subject you can see in your Hepsia Hosting Control Panel. All you need to activate Server Side Includes is to copy a number of lines from the article inside an .htaccess file that you ought to make in the root folder of the domain/subdomain and you'll be set. You should simply make certain that all of the files utilizing SSI have the appropriate extension i.e. .shtml, not .html, and also that the links on your site are updated and lead to the by now renamed files.