Server Side Includes (SSI) is a widely used server-side scripting language, that is employed to include the content of one file inside of a second file. It's utilized predominantly with online content and it will help to make a static HTML website much more dynamic. If you need to have a daily quote displayed on various pages of your site, as an example, you can create a text file and replace the quote in it every single day. All of the webpages in which this file is integrated are going to display the updated quote, so you will not need to change all of them by hand every time. SSI can also be used to contain the output of simple functions rather than a static file - for example, the viewer's IP address, a hit counter or perhaps the current time and date. By doing this, you can make your internet site seem more professional and a lot more appealing to the visitors. Pages that implement SSI get a .shtml extension.
Server Side Includes in Shared Web Hosting
You will be able to use Server Side Includes with all shared web hosting packages that we provide and enable it individually for each domain name or subdomain in your own hosting account. You can do this with an .htaccess file, which should be put into the folder where you wish to use SSI and you need to enter a few lines of code in that file. You will find the code within our Knowledgebase area, so you're able to simply just copy and paste it, since you do not need any programming skills to benefit from all of the characteristics that our solutions incorporate. If you have already built your site and you wish to employ Server Side Includes later, you have to make certain that you rename the files from .html to .shtml and fix the links on the website, otherwise SSI won't work.
Server Side Includes in Semi-dedicated Servers
It shall not take you over a moment to enable Server Side Includes when you have a semi-dedicated server plan from us. When you choose to activate this function, you have to make an .htaccess file in the main folder for the domain name or subdomain where you want SSI to be enabled. In that file, you must copy some code, that you can get in the FAQ article we have dedicated to SSI. You can find the latter in the Help area of your Hosting Control Panel, so you don't require any prior experience with these types of things. The only two things you should deal with are renaming all of webpages that shall use Server Side Includes from .html to .shtml and editing each of the links on your site, to make sure they point to the renamed files.