Server Side Includes
Discover what exactly Server Side Includes is and exactly how you can use it to enhance your web sites.
Server Side Includes (SSI) is a simple server-side language, which enables you to incorporate text from a specified source inside a website. In the most typical situation, the text from a file is included in another, providing a site the sense that it is dynamic. As an example, if your site includes 10 web pages, five of them can easily contain the content of any kind of file, for example horoscope.txt. Any time you alter this text file, the modified content will appear on all of the five webpages, which will help you update your website much easier than if you had to update a component of all five pages. Server Side Includes is sometimes used to incorporate the output of basic commands, scripts or functions as well - a hit counter that is displayed on the site, the current time and date or the customer's IP address. Any web page that uses SSI must have a particular extension - .shtml.
-
Server Side Includes in Shared Hosting
It will be easy to use Server Side Includes with all
shared hosting packages that we offer and enable it independently for every domain name or subdomain in your hosting account. You can do this with an .htaccess file, which needs to be put into the folder in which you want to use SSI and you need to put a few lines of code in that file. You can get the code inside our Knowledgebase section, so you're able to simply copy and paste it, as you don't need any coding knowledge to take advantage of all of the characteristics that our services feature. In case you have already built your site and you would like to employ Server Side Includes later, you need to ensure that you rename the files from .html to .shtml and correct the links on the site, otherwise SSI will not work.
-
Server Side Includes in Semi-dedicated Servers
If you get a
semi-dedicated server plan with our company, you'll be able to enable Server Side Includes with a few mouse clicks and for virtually any domain or subdomain of your choosing. We have a detailed Help article about the subject you can find in your Hepsia Hosting Control Panel. All you need to activate Server Side Includes is to copy a number of lines from the article inside an .htaccess file that you ought to set up in the root folder of the domain name/subdomain and you will be ready. You should just make certain that all of the files implementing SSI have the correct extension i.e. .shtml, not .html, and that the links on your site are modified and lead to the already updated files.