Server Side Includes (SSI) is a basic server-side language, which allows you to include text from a given source within a web page. In the most common scenario, the text from one file is incorporated in a different one, giving a site the sense that it's dynamic. For example, if your website is comprised of ten pages, five of them can have the content of some file, such as horoscope.txt. In case you change this text file, the updated content is going to appear on all five webpages, which will enable you to bring up to date your website much easier than if you had to update an element of all 5 pages. Server Side Includes is in some cases employed to include the output of simple commands, scripts or functions as well - a hit counter that's displayed on the website, the present time and date or the customer's IP address. Any web page that utilizes SSI will need to have a particular extension - .shtml.
Server Side Includes in Website Hosting
All of the Linux website hosting services we offer you support Server Side Includes, so you can incorporate dynamic elements to any static website that you host on our cloud system. By making a blank .htaccess file and adding a couple of lines of code within it, you are able to activate SSI for a domain name or maybe a subdomain. The file concerned should be in the specific folder where you will use SSI and you can also find the code in our Frequently Asked Questions section, which means you don't need any kind of coding experience. The 24/7 tech support crew shall also be in a position to help you with enabling Server Side Includes if you aren't certain how to proceed. You should furthermore remember to modify the extension of all your files which will utilize SSI from .html to .shtml and make sure that the links on your website lead to the correct files.
Server Side Includes in Semi-dedicated Hosting
Server Side Includes can be enabled easily with every semi-dedicated server plan that we offer and the entire process is going to take you under a minute and just a number of clicks. You can activate SSI by creating a blank .htaccess file within a domain name or subdomain root folder using the File Manager tool in the Hosting Control Panel or perhaps an FTP app of your choosing, then typing in a number of lines of code, which you'll be able to get out of the SSI article inside our detailed Knowledgebase. The only thing left following that is to double-check if all pages that shall use Server Side Includes are renamed from .html to .shtml and to change the links to different webpages on your site, to represent the changes in the file extensions.