Server Side Includes (SSI) is a list of directives that will allow you to incorporate the content of a text file inside an HTML file. This way, you can add any kind of content to various webpages on your site and modify it by just updating one text file. You'll be able to additionally add the output of different scripts so that the present date and time, the IP address of the visitor or the attributes of a file show up on your site. This will allow you to add some dynamic content to static pages, making the website more inviting to your visitors and giving it a professional appearance. It will be quicker to update this content as compared to editing each static page one by one. If you wish to use Server Side Includes in your website, the pages that contain the content of any kind of file need to be with extension .shtml.
Server Side Includes in Hosting
All the hosting services
we provide support Server Side Includes, so that you can incorporate dynamic elements to your static website which you host on our cloud platform. By making an empty .htaccess file and adding a couple of lines of code in it, you're able to enable SSI for a domain or perhaps a subdomain. The file in question must be inside the exact folder where you will make use of SSI and you can discover the code inside our Frequently Asked Questions section, so you do not need any kind of coding expertise. Our 24/7 tech support team will also be able to help you with enabling Server Side Includes if you're not confident what to do. You should also remember to change the extension of all of the files that are going to make use of SSI from .html to .shtml and make sure that the links on your site lead to the correct files.
Server Side Includes in Semi-dedicated Hosting
It shall not take you more than a moment to enable Server Side Includes when you have a semi-dedicated server
package through us. When you choose to enable this function, you need to set up an .htaccess file in the root folder for the domain name or subdomain where you need SSI to be active. In that file, you must copy some code, which you can get in the FAQ article we have devoted to SSI. You will find the latter within the Help area of your Hosting Control Panel, so you do not require any prior experience with such matters. The only 2 things you ought to deal with are renaming all of the web pages that shall employ Server Side Includes from .html to .shtml and changing each of the links in your website, to ensure that they point to the updated files.