Server Side Includes (SSI) is a widely used server-side scripting language, which can be used to add the content of one file inside a second file. It is employed typically with online content and it can help to make a static HTML website a lot more dynamic. If you want to have a daily quote shown on multiple web pages on your website, for example, you can make a text file and replace the quote inside it every single day. All the webpages in which this file is integrated are going to show the modified quote, so you'll not have to update them by hand every single time. SSI may also be used to incorporate the output of simple functions instead of a static file - for example, the visitor's IP address, a hit counter or even the current time and date. By doing this, you can make your site seem far more professional and more attractive to the visitors. Pages that employ SSI use a .shtml extension.
Server Side Includes in Website Hosting
All of the website hosting service
that we offer support Server Side Includes, so you're able to include dynamic elements to your static site which you host on our cloud system. By making an empty .htaccess file and entering several lines of code inside it, you're able to activate SSI for a domain or maybe a subdomain. The file involved must be in the particular folder where you are going to use SSI you'll be able to see the code inside our Frequently Asked Questions section, which means you do not need any coding experience. Our 24/7 tech support team will also be in a position to help you with activating Server Side Includes if you are not absolutely sure what to do. You should furthermore make sure to change the extension of all files that are going to make use of SSI from .html to .shtml and make sure that the links on your site lead to the right files.
Server Side Includes in Semi-dedicated Servers
When you get a semi-dedicated server
plan from our company, you'll be able to activate Server Side Includes with a few clicks and for every domain name or subdomain that you choose. We have a thorough Help article about the subject that you can see in your Hepsia Hosting Control Panel. All you need to enable Server Side Includes is to copy a number 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 good to go. You should just be sure that all of the files implementing SSI have the appropriate extension i.e. .shtml, not just .html, and also that the links on your website are kept up to date and lead to the already updated files.