Server Side Includes (SSI) is a simple server-side language, which lets you include text from a specific source in a web page. In the most popular scenario, the text from a single file is included in a second one, giving a website the sense it is dynamic. For instance, if your site involves ten pages, 5 of them can contain the content of any kind of file, for example horoscope.txt. Any time you change this text file, the new content is going to appear on all five web pages, which shall let you revise your site much easier than if you had to change a component of all 5 web pages. Server Side Includes is at times employed to incorporate the output of basic commands, scripts or functions as well - a hit counter that is shown on the site, the present date and time or the customer's IP address. Any webpage that utilizes SSI should have a special extension - .shtml.
Server Side Includes in Website Hosting
All the Linux website hosting that we offer you support Server Side Includes, so that you can add dynamic components to your static site that you host on our cloud platform. By making a clear .htaccess file and typing in several lines of code within it, you're able to activate SSI for a domain or a subdomain. The file in question needs to be inside the specific 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 expertise. The 24/7 tech support staff will also be able to help you with activating Server Side Includes if you're not confident what to do. You should furthermore remember to change the extension of all your files that will use SSI from .html to .shtml and make certain that the links on your website lead to the right files.
Server Side Includes in Semi-dedicated Servers
Server Side Includes can be activated without any problem with every single semi-dedicated server package that we provide you with and the entire process shall take you under a minute and merely a few mouse clicks. You can enable SSI by making an empty .htaccess file in a domain or subdomain main folder with the File Manager tool in the Hosting Control Panel or an FTP program of your choosing, then adding a couple of lines of code, that you will be able to copy out of the SSI article inside our extensive Knowledgebase. The only thing left after that will be to double-check if all of the pages that will use Server Side Includes are renamed from .html to .shtml and then to edit the links to different webpages on your website, so as to represent the changes in the file extensions.