Server Side Includes (SSI) is actually a group of directives that will allow you to include the content of a text file inside an HTML file. In this way, you are able to add some content to various pages in your website and alter it by just editing one text file. You can furthermore add the output of various scripts so the current time and date, the IP address of the website visitor or the properties of a file show on your site. This will allow you to incorporate some dynamic content to static pages, making the site more inviting to your website visitors and giving it a far more professional look and feel. It will likewise be simpler to revise this content in comparison with editing every static web page one at a time. If you wish to use Server Side Includes in your site, the web pages that include the content of any kind of file need to be with extension .shtml.
Server Side Includes in Cloud Website Hosting
It is possible to use Server Side Includes with all of the cloud website hosting
plans we provide and activate it independently for every domain or subdomain in your hosting account. This can be accomplished with an .htaccess file, which needs to be positiioned in the folder where you wish to use SSI and you have to type in a couple of lines of code in that file. You can get the code inside our Knowledgebase section, so you're able to just copy and paste it, since you don't need any coding skills to take advantage of all of the functions that our solutions incorporate. In case you have by now built your website and you want to employ Server Side Includes afterwards, you have to make certain 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
When you get a semi-dedicated server
plan with our company, it is possible to enable Server Side Includes with a couple clicks and for any domain name or subdomain of your choosing. You will find a thorough Help article on the subject that you could find in your Hepsia Hosting Control Panel. All you need to enable Server Side Includes is to copy a couple of lines from the article inside an .htaccess file that you should make in the root folder of the domain/subdomain and you will be set. You should only be certain that all files making use of SSI possess the accurate extension i.e. .shtml, not .html, and that the links on your site are kept up to date and lead to the by now renamed files.