Server Side Includes (SSI) is a basic server-side language, which lets you include text from a specific source inside a web page. In the most widespread situation, the text from a file is incorporated in a different one, providing a website the feeling that it's dynamic. For instance, in case your site involves ten web pages, 5 of them can easily contain the content of any kind of file, such as horoscope.txt. Any time you alter this text file, the new content will appear on all of the five web pages, which will permit you to update your website faster and easier than if you had to update part of all five pages. Server Side Includes is occasionally utilized to include the output of basic commands, scripts or functions as well - a hit counter that is displayed on the website, the present date and time or the visitor's IP address. Every web page that works by using SSI will need to have a particular extension - .shtml.
Server Side Includes in Web Hosting
You will be able to use Server Side Includes with all web hosting packages that we offer and activate it separately for each and every domain name or subdomain inside your hosting account. This can be achieved with an .htaccess file, which should be positiioned in the folder in which you want to use SSI and you have to enter a couple of lines of code in that file. You can get the code in our Knowledgebase section, so you're able to simply just copy it, since you do not need any coding skills to benefit from all of the characteristics that our solutions come with. If you have currently built your site and you want to employ Server Side Includes later, you have to ensure 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 Servers
If you get a semi-dedicated server plan with our company, you will be able to enable Server Side Includes with a couple of clicks and for virtually any domain or subdomain of your preference. You will find in-depth Help article on the subject you can find in your Hepsia Hosting Control Panel. All it takes to activate Server Side Includes is to copy a couple of lines out of the article within an .htaccess file that you should create in the main folder of the domain name/subdomain and you will be good to go. You should just make certain that all files implementing SSI have the proper extension i.e. .shtml, not just .html, as well as that the links on your site are modified and lead to the by now updated files.