Server Side Includes (SSI) is a common server-side scripting language, which is used to add the content of one file inside of another file. It's employed typically with online content and it will help to make a static HTML site a lot more dynamic. If you'd like to have a daily quote displayed on a variety of web pages of your website, for example, you can make a text file and switch the quote in it every day. All of the web pages where this file is incorporated are going to show the updated quote, so you'll not need to update them personally every time. SSI could also be used to include the output of simple functions instead of a static file - for instance, the viewer's IP address, a hit counter or maybe the present time and date. In this manner, you can make your website seem more professional and more attractive to the site visitors. Pages that use SSI have a .shtml extension.
Server Side Includes in Web Hosting
It is possible to use Server Side Includes with all of the web hosting plans we offer and activate it independently for every domain or subdomain in your own hosting account. This can be achieved by utilizing an .htaccess file, which should be placed into the folder where you wish to use SSI and you have to type in a couple of lines of code in that file. You will find the code in our Knowledgebase section, so you can simply just copy it, since you don't need any programming capabilities to take advantage of all of the features that our solutions include. If you have by now built your site and you wish to use Server Side Includes later on, you have to make sure that you rename the files from .html to .shtml and fix the links on the site, otherwise SSI is not going to work.
Server Side Includes in Semi-dedicated Hosting
Server Side Includes could be enabled effortlessly with each and every semi-dedicated server plan that we provide and the full process is going to take you just one minute and only a couple of mouse clicks. You can enable SSI by making an empty .htaccess file inside a domain or subdomain root folder using the File Manager tool in the Hosting Control Panel or perhaps an FTP app of your choice, then adding a number of lines of code, which you'll be capable to get from the SSI article inside our detailed Knowledgebase. The one thing left after that will be to double-check if all webpages that shall implement Server Side Includes are renamed from .html to .shtml and then to edit the links to different web pages on your site, so as to reflect the changes in the file extensions.