Server Side Includes (SSI) is a widely used server-side scripting language, which is used to include the content of one file inside another file. It is used predominantly with online content and it will help make a static HTML site a lot more dynamic. If you'd like to have a daily quote displayed on multiple webpages within your site, for example, you can make a text file and replace the quote within it each day. All of the webpages in which this file is included will display the modified quote, so you will not need to modify them manually every time. SSI can also be used to include the output of basic functions rather than a static file - for instance, the viewer's IP address, a hit counter or the present time and date. By doing this, you may make your website look more professional and more appealing to the visitors. Web pages that employ SSI have a .shtml extension.
Server Side Includes in Web Hosting
It will be possible to use Server Side Includes with all of the web hosting packages that we offer and enable it independently for each and every domain name or subdomain in your own hosting account. This can be accomplished with an .htaccess file, which needs to be positiioned in the folder where you want to use SSI and you have to type in a few lines of code in that file. You'll find the code inside our Knowledgebase area, so you can simply copy it, as you do not need any coding knowledge to benefit from all characteristics that our solutions feature. If you have currently built your website and you wish to employ Server Side Includes later on, you need to ensure that you rename the files from .html to .shtml and correct the links on the website, otherwise SSI won't work.
Server Side Includes in Semi-dedicated Hosting
When you get a semi-dedicated server plan with us, it is possible to enable Server Side Includes with a couple of mouse clicks and for every domain or subdomain of your preference. We have a comprehensive Help article on the subject that you can find in your Hepsia Hosting Control Panel. All you need to activate Server Side Includes will be to copy a couple of lines from the article within an .htaccess file that you need to create in the root folder of the domain/subdomain and you will be good to go. You should simply be certain that all of the files using SSI have the right extension i.e. .shtml, not just .html, as well as that the links on your website are modified and point to the already updated files.