Server Side Includes (SSI) is a common server-side scripting language, which is used to add the content of one file within another file. It is utilized primarily with online content and it will help to make a static HTML website far more dynamic. If you want to have a daily quote shown on multiple pages of your site, as an example, you can create a text file and switch the quote within it every day. All webpages in which this file is included will show the updated quote, so you will not have to alter every one of them personally each time. SSI can also be used to include the output of simple functions rather than a static file - for example, the viewer's IP address, a hit counter or even the present date and time. This way, you may make your site look far more professional and a lot more attractive to the site visitors. Pages that implement SSI have a .shtml extension.
Server Side Includes in Web Hosting
It will be easy to use Server Side Includes with all web hosting plans that we offer you and enable it independently for every domain or subdomain in your hosting account. You can do this when using an .htaccess file, which should be placed in the folder in which you wish to use SSI and you need to type in a couple of lines of code in that file. You can see the code in our Knowledgebase area, so you're able to simply just copy and paste it, as you don't need any coding skills to take advantage of all functions that our services have. In case you have currently built your website and you would like to use Server Side Includes later on, you will need to ensure that you rename the files from .html to .shtml and fix the links on the site, otherwise SSI will not work.
Server Side Includes in Semi-dedicated Servers
It will not take you more than a moment to activate Server Side Includes if you have a semi-dedicated server plan from our company. When you choose to activate this feature, you must make an .htaccess file in the root folder for the domain or subdomain where you would like SSI to be enabled. In that file, you have to copy and paste some code, that you can find in the FAQ article that we have devoted to SSI. You will find the latter in the Help section of your Hosting Control Panel, so you do not need any previous knowledge about these types of matters. The only two things you ought to take care of are renaming all webpages that will utilize Server Side Includes from .html to .shtml and replacing all the links in your website, so that they lead to the updated files.