Server Side Includes (SSI) is a widely used server-side scripting language, employed to add the content of one file inside a second file. It is employed mostly with online content and it could help make a static HTML site a lot more dynamic. If you wish to have a daily quote displayed on many webpages within your site, for instance, you can create a text file and switch the quote inside it every single day. All of the web pages where this file is integrated will show the updated quote, so you'll not need to alter them by hand each time. SSI could also be used to include the output of basic functions rather than a static file - for instance, the visitor's IP address, a hit counter or the current time and date. In this way, you may make your site seem far more professional and much more attractive to the website visitors. Web pages that employ SSI have a .shtml extension.

Server Side Includes in Shared Hosting

It is possible to use Server Side Includes with all shared hosting plans that we offer you and enable it independently for every domain name or subdomain inside your hosting account. This can be achieved when using an .htaccess file, which should be positiioned in the folder in which you want to use SSI and you have to enter a few lines of code in that file. You will find the code within our Knowledgebase area, so you're able to simply copy it, since you don't need any programming expertise to benefit from all of the functions that our solutions come with. In case you have by now built your website and you want to use Server Side Includes later on, you will need to make sure that you rename the files from .html to .shtml and correct the links on the site, otherwise SSI won't 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 just a few mouse clicks and for every domain or subdomain of your preference. We have a detailed Help article about the subject you can find in your Hepsia Hosting Control Panel. All it takes to enable Server Side Includes is to copy a couple of lines out of the article in an .htaccess file that you ought to create in the root folder of the domain/subdomain and you will be set. You need to just make sure that all of the files utilizing SSI possess the right extension i.e. .shtml, not just .html, and that the links on your website are updated and point to the by now renamed files.