Server Side Includes (SSI) is a well-known server-side scripting language, employed to include the content of one file inside a second file. It is used mainly with online content and it will make a static HTML site much more dynamic. If you'd like to have a daily quote shown on numerous web pages on your website, for example, you can make a text file and replace the quote in it daily. All of the web pages in which this file is included will show the updated quote, so you'll not have to modify all of them by hand every time. SSI may also be used to incorporate the output of basic functions as opposed to a static file - for example, the visitor's IP address, a hit counter or the current date and time. In this way, you can make your site seem more professional and a lot more attractive to the website visitors. Pages that employ SSI get a .shtml extension.
Server Side Includes in Shared Hosting
You'll be able to use Server Side Includes with all of the shared hosting plans that we offer and enable it independently for every single domain name or subdomain in your own hosting account. This can be achieved by using an .htaccess file, which should be positiioned in the folder where you want to use SSI and you need to enter a couple of lines of code in that file. You can get the code inside our Knowledgebase section, so you're able to just copy and paste it, as you do not need any coding skills to take advantage of all capabilities that our solutions have. In case you have currently built your website and you want to employ Server Side Includes afterwards, you will need to make sure that you rename the files from .html to .shtml and correct the links on the website, otherwise SSI is not going to work.
Server Side Includes in Semi-dedicated Hosting
When you get a semi-dedicated server package with our company, it is possible to enable Server Side Includes with just a few mouse clicks and for every domain or subdomain of your choice. We have a comprehensive Help article on the subject that you could see in your Hepsia Hosting Control Panel. All it takes to activate Server Side Includes will be to copy a handful of lines from the article within an .htaccess file that you should create in the main folder of the domain/subdomain and you will be ready. You should only be certain that all files making use of SSI have the correct extension i.e. .shtml, not simply .html, and also that the links on your website are kept up to date and point to the already updated files.