Server Side Includes (SSI) is a basic server-side language, which lets you incorporate text from a specific source inside a website. In the most widespread case, the text from a single file is included in a second one, providing a website the sense that it is dynamic. For instance, if your site involves 10 web pages, 5 of them can include the content of any kind of file, like horoscope.txt. If you change this text file, the new content is going to appear on all of the five webpages, which shall let you update your site faster and easier than if you had to update a component of all five pages. Server Side Includes is occasionally used to include the output of simple commands, scripts or functions as well - a hit counter that's shown on the website, the present date and time or the customer's IP address. Any webpage that makes use of SSI must have a special extension - .shtml.
Server Side Includes in Website Hosting
All Linux website hosting that we provide support Server Side Includes, so you're able to add dynamic elements to any static site that you host on our cloud system. By creating a blank .htaccess file and typing in several lines of code inside, you can enable SSI for a domain name or maybe a subdomain. The file concerned must be in the specific folder where you will make use of SSI you'll be able to find the code in our Frequently Asked Questions section, which means you do not need any kind of coding practical experience. Our 24/7 tech support team will also be able to assist you with activating Server Side Includes if you are not certain what to do. You should additionally make sure to modify the extension of all files that will utilize SSI from .html to .shtml and ensure that the links on your site lead to the appropriate files.
Server Side Includes in Semi-dedicated Hosting
When you get a semi-dedicated server plan with us, it is possible to activate Server Side Includes with a couple of clicks and for every domain name or subdomain of your preference. We have an in depth Help article about the subject that you could find in your Hepsia Hosting Control Panel. All it takes to enable Server Side Includes will be to copy a handful of lines out of the article within an .htaccess file that you ought to create in the root folder of the domain/subdomain and you'll be all set to go. You should just be certain that all files utilizing SSI possess the appropriate extension i.e. .shtml, not .html, and that the links on your site are updated and lead to the by now renamed files.