Server Side Includes (SSI) really is a set of directives that will permit you to include the content of a text file within an HTML file. By doing this, you are able to add some content to various pages on your website and alter it by simply editing an individual text file. You'll be able to furthermore add the output of various scripts so the current time and date, the IP address of the visitor or the attributes of a file show up on your website. This will help you incorporate some dynamic content to static webpages, making the website more inviting to your website visitors and giving it a much more professional overall appearance. It will also be easier to update this content as compared to editing every static web page one at a time. If you wish to use Server Side Includes on your website, the pages that contain the content of any kind of file must be with extension .shtml.
Server Side Includes in Shared Hosting
It is possible to use Server Side Includes with all of the shared hosting packages we offer and activate it separately for each domain or subdomain in your own hosting account. This can be accomplished by utilizing an .htaccess file, which needs to 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 in our Knowledgebase section, so you can simply just copy and paste it, since you don't need any coding expertise to take advantage of all of the characteristics that our solutions have. In case you have by now built your website and you would like to employ Server Side Includes afterwards, you have to ensure 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
If you get a semi-dedicated server package through us, it is possible to enable Server Side Includes with a couple of clicks and for virtually any domain or subdomain of your choosing. You will find in-depth Help article about the subject that you can find in your Hepsia Hosting Control Panel. All it takes to activate Server Side Includes will be to copy a handful of lines out of the article inside an .htaccess file that you need to set up in the main folder of the domain name/subdomain and you will be all set to go. You need to just make certain that all of the files using SSI have the appropriate extension i.e. .shtml, not .html, as well as that the links on your site are kept up to date and point to the already updated files.