Server Side Includes (SSI) is a well-known server-side scripting language, used to include the content of one file inside a second file. It is utilized typically with online content and it will make a static HTML site a lot more dynamic. If you wish to have a daily quote shown on a variety of web pages within your website, as an example, you can create a text file and switch the quote inside it daily. All web pages where this file is integrated are going to show the modified quote, so you will not need to update them manually each time. SSI can also be used to contain the output of simple functions as opposed to a static file - for instance, the viewer's IP address, a hit counter or the current time and date. This way, you may make your website appear far more professional and more attractive to the visitors. Pages that use SSI have a .shtml extension.
Server Side Includes in Hosting
It will be possible to use Server Side Includes with all hosting packages we offer you and enable it independently for every domain or subdomain inside of your hosting account. You can do this when using .htaccess file, which should be positiioned in 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 within our Knowledgebase section, so you can simply copy it, since you do not need any programming expertise to benefit from all of the functions that our solutions contain. In case you have currently built your website and you wish to employ Server Side Includes afterwards, you must make sure that you rename the files from .html to .shtml and fix the links on the site, otherwise SSI is not going to work.
Server Side Includes in Semi-dedicated Servers
When you get a semi-dedicated server plan from us, you will be able to activate Server Side Includes with a couple of mouse clicks and for virtually any domain name or subdomain that you pick. We've got a detailed Help article on the subject you could find in your Hepsia Hosting Control Panel. All it takes to activate Server Side Includes will be to copy a number of lines from the article inside an .htaccess file that you should create in the root folder of the domain/subdomain and you'll be ready to go. You need to simply make sure that all of the files making use of SSI possess the accurate extension i.e. .shtml, not .html, and that the links on your website are kept up to date and lead to the already updated files.