Server Side Includes (SSI) is a basic server-side language, which lets you include text from a specific source within a website. In the most popular situation, the text from one file is incorporated in another, providing a site the feeling it is dynamic. For example, in case your website has 10 webpages, five of them can contain the content of any kind of file, like horoscope.txt. Once you alter this text file, the updated content will appear on all five web pages, which shall permit you to bring up to date your site much easier than if you had to update an element of all 5 pages. Server Side Includes is occasionally utilized to incorporate the output of simple commands, scripts or functions as well - a hit counter that's displayed on the site, the present time and date or the visitor's IP address. Every web page that makes use of SSI should have a particular extension - .shtml.
Server Side Includes in Shared Website Hosting
It is possible to use Server Side Includes with all shared website hosting
plans that we offer you and activate it independently for every domain name or subdomain inside of your hosting account. You can do this by utilizing an .htaccess file, which needs to be placed in the folder in which you want to use SSI and you need to enter a few lines of code in that file. You can get the code inside our Knowledgebase section, so you can just copy and paste it, as you don't need any programming expertise to take advantage of all characteristics that our solutions incorporate. If you have currently built your website and you would like to use Server Side Includes later on, you need to make certain that you rename the files from .html to .shtml and correct the links on the website, or else SSI won't work.
Server Side Includes in Semi-dedicated Hosting
When you get a semi-dedicated server
package with us, you'll be able to enable Server Side Includes with only a few mouse clicks and for any domain or subdomain of your choice. We've got a comprehensive Help article about the subject that you could find in your Hepsia Hosting Control Panel. All you need to enable Server Side Includes is to copy a handful of lines out of the article inside an .htaccess file that you ought to make in the main folder of the domain/subdomain and you will be set. You need to just make sure that all files implementing SSI possess the proper extension i.e. .shtml, not simply .html, and that the links on your website are updated and point to the already renamed files.