Server Side Includes (SSI) is a widely used server-side scripting language, which can be used to add the content of one file inside a second file. It is utilized mainly with online content and it could help make a static HTML site far more dynamic. If you'd like to have a daily quote displayed on various webpages of your website, for example, you can create a text file and replace the quote in it every single day. All pages in which this file is integrated are going to display the updated quote, so you'll not need to alter every one of them by hand each time. SSI can also be used to incorporate the output of basic functions rather than a static file - for example, the viewer's IP address, a hit counter or even the current date and time. In this manner, you can make your internet site seem more professional and much more appealing to the visitors. Web pages that employ SSI have a .shtml extension.
Server Side Includes in Shared Hosting
It will be possible to use Server Side Includes with all shared hosting packages we provide and enable it individually for each domain name or subdomain in your own hosting account. This can be achieved when using .htaccess file, which should be put into the folder where you wish to use SSI and you need to put a few lines of code in that file. You'll find the code inside our Knowledgebase section, so you're able to simply copy it, as you do not need any coding capabilities to benefit from all capabilities that our solutions contain. In case you have already built your website and you wish to employ Server Side Includes afterwards, you have to make sure that you rename the files from .html to .shtml and fix the links on the website, or else SSI will not work.
Server Side Includes in Semi-dedicated Servers
Server Side Includes could be enabled without any problem with each semi-dedicated server plan that we provide and the whole process will take you only a minute and simply a number of clicks. You can activate SSI by creating an empty .htaccess file in a domain name or subdomain root folder with the File Manager tool in your Hosting Control Panel or an FTP application of your choosing, then typing in a couple of lines of code, which you'll be capable to copy out of the SSI article inside our detailed Knowledgebase. The one thing remaining after that is to double-check if all web pages that will use Server Side Includes are updated from .html to .shtml and then to modify the links to different pages on your site, in order to represent the changes in the file extensions.