Server Side Includes (SSI) is actually a set of directives that will permit you to incorporate the content of a text file in an HTML file. In this manner, you're able to add some content to few different web pages on your site and modify it just by modifying a single text file. You'll be able to furthermore add the output of various scripts so the present date and time, the IP address of the visitor or the attributes of a file display on your site. This will let you add some dynamic content to static web pages, making the site more appealing to your website visitors and giving it a professional look and feel. It will be much easier to revise this content when compared with updating every static page one at a time. If you want to use Server Side Includes on your website, the pages that include the content of some file should be with extension .shtml.
Server Side Includes in Hosting
All of the Linux hosting we offer you support Server Side Includes, so you can bring in dynamic components to any static website that you host on our cloud system. By creating an empty .htaccess file and entering a couple of lines of code inside it, you'll be able to activate SSI for a domain or a subdomain. The file in question should be within the exact folder where you will make use of SSI and you will get the code within our Frequently Asked Questions section, and that means you don't need any coding practical experience. The 24/7 technical support crew shall also be capable to help you with activating Server Side Includes if you aren't sure how to proceed. You should also make sure to modify the extension of all of the files which will use SSI from .html to .shtml and ensure that the links on your site point to the appropriate files.
Server Side Includes in Semi-dedicated Hosting
It won't take you over a minute to enable Server Side Includes when you've got a semi-dedicated server plan through us. When you decide to activate this function, you will need to set up an .htaccess file in the root folder for the domain name or subdomain in which you want SSI to be active. In this file, you need to copy and paste some code, which you'll see in the FAQ article we have dedicated to SSI. You will find the latter in the Help section of your Hosting Control Panel, so you don't require any prior knowledge about these types of matters. The only 2 things you need to take care of are renaming all webpages that shall use Server Side Includes from .html to .shtml and editing all of the links on your website, to make sure they lead to the renamed files.