Server Side Includes (SSI) is a simple server-side language, which lets you incorporate text from a specific source within a website. In the most popular situation, the text from a single file is integrated in a second one, providing a site the sense it is dynamic. For example, in case your site includes ten web pages, five of them can include the content of any kind of file, for example horoscope.txt. Any time you modify this text file, the modified content will appear on all five webpages, which will help you bring up to date your site faster and easier than if you had to modify a component of all 5 pages. Server Side Includes is occasionally employed to contain the output of basic commands, scripts or functions as well - a hit counter that is shown on the website, the current date and time or the visitor's IP address. Any webpage that utilizes SSI should have a special extension - .shtml.
Server Side Includes in Shared Hosting
All Linux shared hosting we provide support Server Side Includes, so you can bring in dynamic elements to any static site that you host on our cloud system. By setting up a blank .htaccess file and entering a couple of lines of code in it, you're able to activate SSI for a domain name or a subdomain. The file concerned must be inside the specific folder where you are going to use SSI you'll be able to see the code in our Frequently Asked Questions section, and that means you don't need any coding experience. The 24/7 technical support team shall also be capable to assist you with activating Server Side Includes if you're not confident how to proceed. You should additionally make sure to change the extension of all your files that are going to make use of SSI from .html to .shtml and ensure that the links on your website lead to the right files.
Server Side Includes in Semi-dedicated Hosting
It will not take you over a moment to activate Server Side Includes in case you have a semi-dedicated server plan with our company. When you choose to enable this function, you have to make an .htaccess file in the root folder for the domain name or subdomain where you need SSI to be enabled. In that file, you need to copy and paste some code, which you can find in the FAQ article we have dedicated to SSI. You can get the latter within the Help section of your Hosting Control Panel, so you do not require any prior knowledge about these types of matters. The only two things you must take care of are renaming all of the webpages that will utilize Server Side Includes from .html to .shtml and replacing every one of the links on your website, to ensure that they lead to the updated files.