Server Side Includes
Find out more about SSI (Server Side Includes) - what exactly it is and how you can use it in order to improve your site's functionality.
Server Side Includes (SSI) is a basic server-side language, which allows you to include text from a given source inside a website. In the most popular case, the text from a file is integrated in a different one, providing a website the sense that it is dynamic. As an example, if your site comprises of ten pages, five of them can include the content of some file, for example horoscope.txt. Any time you modify this text file, the new content will appear on all five web pages, which shall help you revise your website much easier than if you had to modify a component of all 5 pages. Server Side Includes is at times employed to contain the output of simple commands, scripts or functions as well - a hit counter that is displayed on the website, the present time and date or the customer's IP address. Every web page that utilizes SSI must have a unique extension - .shtml.
-
Server Side Includes in Shared Website Hosting
It will be easy to use Server Side Includes with all of the
shared website hosting plans we provide and enable it individually for every single domain or subdomain inside your hosting account. This can be accomplished by using an .htaccess file, which needs to be placed in the folder where you want to use SSI and you need to type in a few lines of code in that file. You can find the code in our Knowledgebase section, so you can simply just copy it, since you don't need any coding expertise to benefit from all features that our solutions have. In case you have currently built your site and you want to employ Server Side Includes later on, you need to ensure that you rename the files from .html to .shtml and correct the links on the site, otherwise SSI is not going to work.
-
Server Side Includes in Semi-dedicated Hosting
When you get a
semi-dedicated server plan from our company, it is possible to activate Server Side Includes with a few clicks and for any domain or subdomain that you choose. We've got in-depth Help article about the subject you could find in your Hepsia Hosting Control Panel. All it takes to enable Server Side Includes will be to copy a number of lines out of the article in an .htaccess file that you need to create in the main folder of the domain/subdomain and you'll be ready to go. You need to just ensure that all files making use of SSI have the accurate extension i.e. .shtml, not simply .html, and that the links on your website are updated and lead to the already renamed files.