Server Side Includes
Find out more about SSI (Server Side Includes) - what exactly it is and how you can use it in order to boost your site's functionality.
Server Side Includes (SSI) is a popular server-side scripting language, employed to add the content of one file inside of another file. It is used primarily with online content and it can help make a static HTML site more dynamic. If you wish to have a daily quote shown on multiple pages on your website, as an example, you can make a text file and replace the quote within it each day. All pages in which this file is integrated will show the modified quote, so you will not have to change them manually every single time. SSI may also be used to incorporate the output of basic functions as opposed to a static file - for instance, the viewer's IP address, a hit counter or even the current time and date. This way, you can make your internet site seem more professional and more attractive to the website visitors. Web pages that use SSI get a .shtml extension.
-
Server Side Includes in Website Hosting
All the
website hosting we offer you support Server Side Includes, so you can bring in dynamic elements to any static site that you host on our cloud platform. By creating an empty .htaccess file and entering a couple of lines of code inside it, you're able to activate SSI for a domain or perhaps a subdomain. The file concerned should be in the particular folder where you will use SSI and you will see the code in our Frequently Asked Questions section, which means you do not need any coding practical experience. Our 24/7 tech support crew shall also be capable to help you with enabling Server Side Includes if you're not sure what to do. You should also make sure to change the extension of all your files that will use SSI from .html to .shtml and ensure that the links on your website point to the correct files.
-
Server Side Includes in Semi-dedicated Servers
When you get a
semi-dedicated server plan with us, you will be able to activate Server Side Includes with a few clicks and for any domain name or subdomain that you pick. We have in-depth Help article about the subject you can see in your Hepsia Hosting Control Panel. All it takes to activate Server Side Includes is to copy a handful of lines from the article inside an .htaccess file that you should create in the main folder of the domain/subdomain and you'll be set. You need to only ensure that all files making use of SSI possess the proper extension i.e. .shtml, not simply .html, as well as that the links on your site are updated and lead to the already renamed files.