Server Side Includes (SSI) is actually a set of directives that will permit you to contain the content of a text file inside an HTML file. In this way, you can add some content to numerous web pages on your site and change it just by updating a single text file. You can furthermore incorporate the output of distinctive scripts in order that the current time and date, the IP address of the visitor or the attributes of some file appear on your site. This shall allow you to add some dynamic content to static webpages, making the website more desirable to your website visitors and creating a far more professional overall look. It will be easier to update this content when compared with updating every static web page one by one. If you would like to use Server Side Includes in your site, the pages that incorporate the content of some file should be with extension .shtml.
Server Side Includes in Website Hosting
All Linux website hosting
we provide support Server Side Includes, so you're able to add dynamic elements to your static website that you host on our cloud platform. By creating a blank .htaccess file and adding several lines of code within it, you are able to enable SSI for a domain or perhaps a subdomain. The file concerned needs to be inside the particular folder where you are going to use SSI and you will get the code inside our Frequently Asked Questions section, so you don't need any coding practical experience. The 24/7 technical support staff shall also be capable to assist you with enabling Server Side Includes if you're not sure how to proceed. You should also make sure to change the extension of all your files which will utilize SSI from .html to .shtml and make sure that the links on your site point to the proper files.
Server Side Includes in Semi-dedicated Servers
It will not take you more than a moment to enable Server Side Includes if you have a semi-dedicated server
package with our company. If you decide to activate this function, you must create an .htaccess file in the root folder for the domain name or subdomain where you need SSI to be enabled. In that file, you have to copy some code, which you can get in the FAQ article we have devoted to SSI. You can get the latter inside the Help section of your Hosting Control Panel, so you do not need any prior experience with this kind of things. The only 2 things you should take care of are renaming all of web pages that will use Server Side Includes from .html to .shtml and bringing up-to-date every one of the links on your website, so that they point to the renamed files.