Server Side Includes (SSI) is a well-known server-side scripting language, which is used to include the content of one file within a second file. It is employed mainly with online content and it will help to make a static HTML website far more dynamic. If you wish to have a daily quote displayed on a number of web pages within your site, for instance, you can create a text file and replace the quote inside it daily. All pages where this file is included are going to display the modified quote, so you will not need to update all of them personally every time. SSI could also be used to contain the output of basic functions instead of a static file - for example, the visitor's IP address, a hit counter or maybe the present date and time. This way, you can make your website look much more professional and more attractive to the website visitors. Web pages that employ SSI get a .shtml extension.
Server Side Includes in Shared Hosting
You will be able to use Server Side Includes with all shared hosting packages that we provide and activate it independently for every domain or subdomain inside your hosting account. You can do this when using an .htaccess file, which should be placed into the folder in which you wish to use SSI and you have to type in a few lines of code in that file. You can find the code in our Knowledgebase section, so you're able to simply copy and paste it, since you do not need any programming knowledge to benefit from all of the characteristics that our services incorporate. If you have currently built your website and you want to employ Server Side Includes later, you will need to make certain that you rename the files from .html to .shtml and fix the links on the site, or else SSI won't work.
Server Side Includes in Semi-dedicated Servers
When you get a semi-dedicated server package from us, you'll be able to enable Server Side Includes with a couple of clicks and for any domain or subdomain of your choosing. We've got in-depth Help article on the subject 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 inside an .htaccess file that you ought to make in the main folder of the domain/subdomain and you will be good to go. You should only be certain that all files using SSI possess the proper extension i.e. .shtml, not just .html, and that the links on your website are modified and lead to the by now updated files.