Server Side Includes (SSI) is a widely used server-side scripting language, employed to add the content of one file inside a second file. It is employed primarily with online content and it will help make a static HTML website more dynamic. If you want to have a daily quote displayed on a variety of webpages of your site, as an example, you can make a text file and replace the quote inside it every day. All web pages in which this file is incorporated are going to show the modified quote, so you'll not need to edit all of them manually every time. SSI can also be used to include the output of basic functions rather than a static file - for instance, the client's IP address, a hit counter or maybe the current time and date. In this way, you can make your website look far more professional and more attractive to the website visitors. Web pages that employ SSI have a .shtml extension.
Server Side Includes in Shared Web Hosting
It will be easy to use Server Side Includes with all shared web hosting packages that we provide and activate it independently for each and every domain name or subdomain in your hosting account. This can be done 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 few lines of code in that file. You can find the code within our Knowledgebase area, so you're able to simply just copy and paste it, as you don't need any coding skills to benefit from all features that our solutions include. If you have by now built your website and you want to use Server Side Includes afterwards, you will need to ensure 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
It shall not take you over a moment to activate Server Side Includes in case you have a semi-dedicated server package with us. When you decide to activate this feature, you have to set up an .htaccess file in the root folder for the domain or subdomain in which you want SSI to be active. In that file, you must copy and paste some code, which you can see in the FAQ article we have devoted to SSI. You can get the latter within the Help area of your Hosting Control Panel, so you don't need any previous knowledge about these types of matters. The only two things you ought to take care of are renaming all of the web pages that will use Server Side Includes from .html to .shtml and changing all the links in your site, so they lead to the renamed files.