Server Side Includes (SSI) is a basic server-side language, which allows you to include text from a specific source in a website. In the most popular case, the text from a single file is incorporated in another, providing a site the feeling that it's dynamic. For instance, in case your site features 10 pages, 5 of them can easily contain the content of any kind of file, such as horoscope.txt. In case you change this text file, the new content will appear on all five webpages, which will allow you to revise your site faster and easier than if you had to update an element of all five web pages. Server Side Includes is sometimes utilized to contain the output of simple commands, scripts or functions as well - a hit counter that is shown on the website, the current date and time or the customer's IP address. Every web page that makes use of SSI should have a special extension - .shtml.
Server Side Includes in Website Hosting
All Linux website hosting we offer you support Server Side Includes, so you're able to incorporate dynamic elements to your static site that you host on our cloud system. By making an empty .htaccess file and adding several lines of code inside it, you'll be able to activate SSI for a domain or maybe a subdomain. The file in question should be inside the exact folder where you will use SSI and you'll find the code in our Frequently Asked Questions section, which means you don't need any coding practical experience. Our 24/7 tech support staff will also be able to help you with activating Server Side Includes if you are not sure what to do. You should furthermore remember to change the extension of all 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 could be activated with ease with every single semi-dedicated server plan that we provide you with and the whole process shall take you only a minute and merely a few mouse 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 your Hosting Control Panel or an FTP program of your choosing, then typing in a number of lines of code, that you will be capable to get from the SSI article within our detailed Knowledgebase. The one thing remaining following that shall be to double-check if all of the web pages that will use Server Side Includes are renamed from .html to .shtml and then to change the links to different pages on your site, so as to reflect the modifications in the file extensions.