Server Side Includes (SSI) is a simple server-side language, which enables you to include text from a given source in a web page. In the most common case, the text from one file is incorporated in a different one, providing a site the feeling that it's dynamic. For instance, if your site includes ten web pages, 5 of them can include the content of some file, for example horoscope.txt. As soon as you change this text file, the new content will come up on all of the five webpages, which shall 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 contain the output of simple commands, scripts or functions as well - a hit counter that is shown on the site, the present date and time or the customer's IP address. Every webpage that utilizes SSI will need to have a particular extension - .shtml.
Server Side Includes in Shared Hosting
You will be able to use Server Side Includes with all of the shared hosting packages we provide and activate it independently for every single domain name or subdomain in your hosting account. You can do this by using an .htaccess file, which needs to be put into the folder where you want to use SSI and you need to type in a few lines of code in that file. You'll find the code in our Knowledgebase section, so you're able to simply copy it, as you do not need any coding knowledge to benefit from all features that our services include. In case you have by now built your website and you want to employ Server Side Includes later on, you need to make certain that you rename the files from .html to .shtml and fix the links on the website, otherwise SSI will not work.
Server Side Includes in Semi-dedicated Servers
Server Side Includes can be activated easily with every single semi-dedicated server plan that we provide and the whole process is going to take you just one minute and only a few mouse clicks. You can enable SSI by creating a blank .htaccess file in a domain or subdomain root folder with the File Manager tool in your Hosting Control Panel or perhaps an FTP program of your choice, then typing in a number of lines of code, which you will be capable to copy from the SSI article inside our detailed Knowledgebase. The only thing left after that will be to double-check if all of the webpages that shall make use of Server Side Includes are updated from .html to .shtml and to change the links to different web pages on your website, in order to reflect the modifications in the file extensions.