Server Side Includes (SSI) is a popular server-side scripting language, which is often used to incorporate the content of one file within another file. It's used primarily with online content and it can help make a static HTML website a lot more dynamic. If you need to have a daily quote shown on a few web pages on your site, for example, you can create a text file and switch the quote within it every day. All the web pages in which this file is incorporated will display the modified quote, so you'll not have to edit every one of them by hand every time. SSI could also be used to incorporate the output of basic functions instead of a static file - for instance, the client's IP address, a hit counter or perhaps the present date and time. In this way, you can make your site look much more professional and much more attractive to the site visitors. Web pages that employ SSI have a .shtml extension.
Server Side Includes in Hosting
You will be able to use Server Side Includes with all hosting packages that we offer and enable it individually for each and every domain or subdomain within your hosting account. You can do this by utilizing an .htaccess file, which needs to be placed into the folder in which you want to use SSI and you have to enter a couple of lines of code in that file. You will find the code within our Knowledgebase section, so you can simply just copy and paste it, as you do not need any coding expertise to benefit from all capabilities that our services incorporate. In case you have currently built your site and you wish to employ Server Side Includes afterwards, you have to make certain that you rename the files from .html to .shtml and fix the links on the website, otherwise SSI is not going to work.
Server Side Includes in Semi-dedicated Servers
Server Side Includes can be activated without difficulty with every semi-dedicated server plan that we provide you with and the entire process will take you less than a minute and only a couple of clicks. You can enable SSI by setting up an empty .htaccess file within a domain name or subdomain root folder with the File Manager tool in your Hosting Control Panel or an FTP program of your preference, then typing in a couple of lines of code, which you'll be able to copy from the SSI article within our detailed Knowledgebase. The only thing left then will be to double-check if all of the web pages that shall make use of Server Side Includes are renamed from .html to .shtml and then to edit the links to different web pages on your website, to represent the changes in the file extensions.