Server Side Includes (SSI) is a basic server-side language, which enables you to incorporate text from a given source within a web page. In the most widespread scenario, the text from one file is integrated in a different one, giving a site the sense it is dynamic. For example, in case your site involves ten web pages, five of them can easily contain the content of any kind of file, for example horoscope.txt. Once you change this text file, the new content will appear on all of the five webpages, which will help you revise your site much easier than if you had to modify part of all 5 web pages. Server Side Includes is at times used to contain the output of basic commands, scripts or functions as well - a hit counter that is shown on the website, the current date and time or the customer's IP address. Every web page that makes use of SSI will need to have a special extension - .shtml.
Server Side Includes in Shared Web Hosting
As our custom made cloud hosting system features Server Side Includes on a global level, you will be able to implement this feature with any of the shared web hosting packages we offer and add dynamic content to your sites with a couple of clicks. SSI is enabled for each particular domain name or subdomain by placing an .htaccess file in the site folder with a few lines of code. Of course, there is no need to become a developer for that as the required code may be copied from the Help post we have about Server Side Includes. If you'd like to utilize this feature for your website, you have to rename your website files from .html to .shtml plus you've got to double-check if all links on your site point to the current names.
Server Side Includes in Semi-dedicated Hosting
If you get a semi-dedicated server package with us, it will be easy to enable Server Side Includes with a few mouse clicks and for virtually any domain name or subdomain of your choice. You will find a detailed Help article on the subject you can see in your Hepsia Hosting Control Panel. All it takes to enable Server Side Includes will be to copy a number of lines from the article within an .htaccess file that you ought to make in the root folder of the domain/subdomain and you'll be good to go. You need to only make certain that all files utilizing SSI have the accurate extension i.e. .shtml, not simply .html, and also that the links on your website are kept up to date and point to the by now renamed files.