Server Side Includes (SSI) is actually a list of directives that will permit you to incorporate the content of a text file inside an HTML file. This way, you can add some content to numerous web pages on your site and adjust it simply by updating just one text file. You can also add the output of distinctive scripts so that the current time and date, the IP address of the visitor or the attributes of a file show on your website. This will help you add some dynamic content to static webpages, making the website more inviting to your site visitors and creating a more professional overall look. It will be much easier to update this content in comparison with updating every static web page one by one. If you wish to use Server Side Includes on your site, the web pages that contain the content of any kind of file should be with extension .shtml.
Server Side Includes in Cloud Hosting
All the cloud hosting plans that we offer support Server Side Includes, so you can incorporate dynamic elements to your static site which you host on our cloud platform. By creating an empty .htaccess file and adding some lines of code inside, you can enable SSI for a domain name or perhaps a subdomain. The file in question needs to be within the specific folder where you are going to use SSI and you will discover the code in our Frequently Asked Questions section, which means you do not need any coding experience. The 24/7 technical support crew will also be able to assist you with enabling Server Side Includes if you aren't confident what to do. You should also remember to change the extension of all of the files that are going to utilize SSI from .html to .shtml and ensure that the links on your site point to the appropriate files.
Server Side Includes in Semi-dedicated Servers
It won't take you more than a minute to activate Server Side Includes if you have a semi-dedicated server package with our company. When you decide to enable this feature, you must make an .htaccess file in the root folder for the domain name or subdomain where you need SSI to be active. In this file, you have to copy and paste some code, that you can get in the FAQ article we have dedicated to SSI. You will find the latter within the Help area of your Hosting Control Panel, so you do not require any prior knowledge about such things. The only 2 things you must deal with are renaming all of pages that will employ Server Side Includes from .html to .shtml and bringing up-to-date each of the links in your website, in order that they point to the updated files.