Server Side Includes (SSI) really is a list of directives that will enable you to include the content of a text file inside an HTML file. By doing this, you are able to add any kind of content to various pages on your website and alter it just by editing just one text file. You can also incorporate the output of distinctive scripts so the current date and time, the IP address of the visitor or the properties of some file show up on your website. This shall help you incorporate some dynamic content to static webpages, making the website more desirable to your site visitors and giving it a far more professional overall look. It will be simpler to revise this content when compared with editing every static web page one by one. If you want to use Server Side Includes in your site, the pages that incorporate the content of any kind of file must be with extension .shtml.
Server Side Includes in Shared Website Hosting
It will be possible to use Server Side Includes with all shared website hosting plans that we offer and enable it individually for each 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 need to put a few lines of code in that file. You can see the code inside our Knowledgebase section, so you can just copy it, since you do not need any coding skills to benefit from all characteristics that our solutions incorporate. In case you have by now built your website and you would like to employ Server Side Includes later on, you need to make sure that you rename the files from .html to .shtml and fix the links on the site, or else SSI is not going to work.
Server Side Includes in Semi-dedicated Servers
It shall not take you over a minute to activate Server Side Includes when you have a semi-dedicated server plan from our company. When you decide to activate this feature, you have to create an .htaccess file in the root folder for the domain name or subdomain where you would like SSI to be active. In this file, you must copy some code, that you can get in the FAQ article we have devoted to SSI. You will find the latter in the Help section of your Hosting Control Panel, so you don't need any previous experience with this kind of matters. The only 2 things you must take care of are renaming all of web pages that shall use Server Side Includes from .html to .shtml and changing each of the links in your website, so that they lead to the renamed files.