Server Side Includes (SSI) is a basic server-side language, which enables you to incorporate text from a specified source within a web page. In the most popular scenario, the text from a single file is included in a different one, providing a website the feeling that it's dynamic. For example, if your website comprises of ten web pages, 5 of them can easily have the content of some file, for example horoscope.txt. In case you change this text file, the modified content will appear on all of the five web pages, which shall enable you to revise your website faster and easier than if you had to update a component of all 5 pages. Server Side Includes is at times used to include the output of simple commands, scripts or functions as well - a hit counter that's shown on the website, the present date and time or the visitor's IP address. Any web page that works by using SSI will need to have a special extension - .shtml.
Server Side Includes in Shared Web Hosting
Server Side Includes is available on our innovative cloud hosting platform, so regardless of the shared web hosting plan that you select, it's possible to make use of this function and make your website more dynamic. All that you will have to do is to set up a file called .htaccess in the home folder for the domain name or subdomain where you wish to use SSI and then include a few lines of code inside. You simply will not need any kind of coding skills however, as you're able to simply copy the necessary code from the help section, or our tech support team can assist you enable SSI for a specific site. You need to simply customize the extension of the html file that will use Server Side Includes to .shtml and make sure that all of the links to those webpages on the website are correct.
Server Side Includes in Semi-dedicated Servers
It won't take you over a moment to activate Server Side Includes when you have a semi-dedicated server package through us. When you choose to activate this function, you need to make an .htaccess file in the root folder for the domain name or subdomain where you would like SSI to be active. In that file, you need to copy and paste some code, which you'll get in the FAQ article that we have devoted to SSI. You'll find the latter within the Help area of your Hosting Control Panel, so you don't require any prior knowledge about these types of matters. The only two things you should take care of are renaming all of the pages that shall use Server Side Includes from .html to .shtml and changing all of the links in your website, to ensure that they point to the updated files.