Server Side Includes (SSI) is a common server-side scripting language, that is employed to incorporate the content of one file inside another file. It is employed typically with online content and it could help to make a static HTML site far more dynamic. If you'd like to have a daily quote shown on many webpages within your site, for example, you can create a text file and switch the quote in it every single day. All of the web pages where this file is integrated are going to display the modified quote, so you will not need to modify every one of them by hand every time. SSI can also be used to incorporate the output of simple functions rather than a static file - for instance, the visitor's IP address, a hit counter or maybe the present date and time. In this manner, you can make your site appear more professional and a lot more attractive to the visitors. Web pages that employ SSI use a .shtml extension.
Server Side Includes in Website Hosting
All the Linux website hosting service we offer support Server Side Includes, so you're able to include dynamic components to any static website that you host on our cloud system. By creating a clear .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 inside the particular folder where you will use SSI you'll be able to get the code within our Frequently Asked Questions section, so you do not need any kind of coding knowledge. The 24/7 tech support staff will also be able to help you with enabling Server Side Includes if you aren't certain what to do. You should additionally make sure to change the extension of all your files which will make use of SSI from .html to .shtml and ensure that the links on your site point to the proper files.
Server Side Includes in Semi-dedicated Servers
If you get a semi-dedicated server plan through our company, you'll be able to enable Server Side Includes with a couple of clicks and for every domain name or subdomain of your choosing. We've got a detailed Help article about the subject that you could see in your Hepsia Hosting Control Panel. All you need to activate Server Side Includes will be to copy a handful of lines out of the article inside an .htaccess file that you need to make in the root folder of the domain/subdomain and you will be all set to go. You need to just ensure that all of the files making use of SSI have the right extension i.e. .shtml, not just .html, and also that the links on your website are updated and point to the already updated files.