Server Side Includes (SSI) is a simple server-side language, which allows you to include text from a given source within a web page. In the most common scenario, the text from a file is integrated in a different one, providing a site the feeling that it's dynamic. As an example, if your website involves 10 pages, 5 of them can have the content of some file, for example horoscope.txt. If you ever modify this text file, the updated content will appear on all of the five web pages, which will enable you to bring up to date your site faster and easier than if you had to change part of all five pages. Server Side Includes is at times used to contain the output of simple commands, scripts or functions as well - a hit counter that is displayed on the site, the present time and date or the visitor's IP address. Any webpage that makes use of SSI should have a particular extension - .shtml.
Server Side Includes in Hosting
It will be easy to use Server Side Includes with all of the hosting
plans we offer you and enable it separately for each domain or subdomain in your own 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 type in a couple of lines of code in that file. You can find the code in our Knowledgebase section, so you can simply just copy it, as you don't need any programming knowledge to benefit from all functions that our services contain. In case you have by now built your website and you would like to use Server Side Includes afterwards, you must make certain that you rename the files from .html to .shtml and fix the links on the site, or else SSI is not going to work.
Server Side Includes in Semi-dedicated Hosting
It will be easy to activate and utilize Server Side Includes with just a couple of mouse clicks with any one of the semi-dedicated server
offers since the feature is present on the cloud platform where your account will be configured. All you have to do will be to make an empty file named .htaccess from your Hepsia Hosting Control Panel and then place in a few lines of code in it. You will find the latter within the Help articles that can be found in your account, and that means you do not require any programming capabilities - you'll be able to just copy the code in question. All pages that will utilize Server Side Includes need to have a .shtml extension, so in case you add this function to an active site, you must make sure that you update all of the links on it.