Server Side Includes
Find out what exactly Server Side Includes is actually and also how it can be used to further improve your web sites.
Server Side Includes (SSI) is a basic server-side language, which lets you incorporate text from a given source in a website. In the most popular case, the text from a single file is included in a different one, providing a website the sense that it's dynamic. For instance, if your website has ten webpages, 5 of them can have the content of some file, like horoscope.txt. If you ever change this text file, the modified content is going to appear on all five pages, which shall let you revise your website faster and easier than if you had to update a component of all five pages. Server Side Includes is sometimes used to incorporate the output of simple commands, scripts or functions as well - a hit counter that is shown on the website, the present time and date or the visitor's IP address. Any webpage that uses SSI must have a special extension - .shtml.
-
Server Side Includes in Cloud Hosting
It will be possible to use Server Side Includes with all
cloud hosting plans that we offer and enable it individually for each and every domain or subdomain inside of your hosting account. This can be done when using .htaccess file, which needs to be positiioned 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 see the code in our Knowledgebase section, so you're able to simply copy it, as you do not need any coding capabilities to benefit from all of the functions that our services contain. In case you have by now built your site and you want to use Server Side Includes afterwards, you have to make certain 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
You will be able to enable and use Server Side Includes with only a number of mouse clicks with any one of the
semi-dedicated server offers as the feature is supported on the cloud platform where your account shall be set up. All you need to do will be to make an empty file named .htaccess using your Hepsia Hosting Control Panel and then include a couple of lines of code in it. You will find the latter inside the Help articles which can be found in your account, and that means you don't require any kind of programming capabilities - it is possible to simply just copy the code in question. All pages that are going to use Server Side Includes need to have a .shtml extension, so in case you add this feature to an active website, you need to make sure that you change all the links in there.