Server Side Includes (SSI) is a group of directives that will allow you to include the content of a text file inside an HTML file. This way, you can add some content to a few different webpages on your website and change it just by editing just one text file. You'll be able to additionally add the output of distinctive scripts so that the current time and date, the IP address of the website visitor or the attributes of some file show up on your site. This will help you add some dynamic content to static web pages, making the website more appealing to your website visitors and creating a professional visual appearance. It will be easier to revise this content when compared with updating each static web page one at a time. If you would like to use Server Side Includes in your website, the pages that include the content of any kind of file should be with extension .shtml.
Server Side Includes in Shared Website Hosting
You will be able to use Server Side Includes with all shared website hosting
plans we provide and activate it independently for every single domain or subdomain within your hosting account. This can be accomplished by utilizing an .htaccess file, which should be placed in the folder in which you want to use SSI and you have to type in a couple of lines of code in that file. You'll find the code inside our Knowledgebase section, so you're able to simply copy it, as you do not need any programming knowledge to take advantage of all of the features that our solutions feature. In case you have by now built your site and you wish to use Server Side Includes afterwards, you need to make sure that you rename the files from .html to .shtml and correct the links on the website, or else SSI won't work.
Server Side Includes in Semi-dedicated Hosting
When you get a semi-dedicated server
plan from us, you will be able to enable Server Side Includes with a couple of clicks and for any domain or subdomain that you choose. We have an in depth Help article on the subject that you could find in your Hepsia Hosting Control Panel. All it takes to enable Server Side Includes will be to copy a couple of lines from the article within an .htaccess file that you should make in the root folder of the domain/subdomain and you will be good to go. You need to only be sure that all of the files implementing SSI have the proper extension i.e. .shtml, not just .html, and that the links on your site are updated and point to the by now renamed files.