Server Side Includes (SSI) is a simple server-side language, which lets you incorporate text from a specified source within a website. In the most widespread scenario, the text from one file is included in a second one, providing a site the feeling that it is dynamic. For example, in case your site includes ten web pages, 5 of them can have the content of any kind of file, for example horoscope.txt. If you change this text file, the modified content will appear on all of the five pages, which will enable you to revise your website faster and easier than if you had to modify an element of all 5 web pages. Server Side Includes is in some cases employed to incorporate the output of basic commands, scripts or functions as well - a hit counter that's shown on the website, the current date and time or the visitor's IP address. Any webpage that makes use of SSI must have a unique extension - .shtml.
Server Side Includes in Web Hosting
You will be able to use Server Side Includes with all of the web hosting packages that we offer and activate it independently for each and every domain name or subdomain inside your hosting account. This can be done with an .htaccess file, which needs to be put into the folder in which you want to use SSI and you have to enter a few lines of code in that file. You can find the code in our Knowledgebase area, so you can just copy it, as you do not need any programming knowledge to benefit from all of the characteristics that our solutions feature. If you have currently built your site and you want to employ Server Side Includes later on, you will need to ensure that you rename the files from .html to .shtml and fix the links on the website, or else SSI is not going to work.
Server Side Includes in Semi-dedicated Servers
It will be possible to enable and employ Server Side Includes with a handful of mouse clicks with any one of the semi-dedicated server offers since the feature is present on the cloud platform where your account shall be configured. All you need to do will be to set up a blank file named .htaccess using your Hepsia Hosting Control Panel and then add a handful of lines of code inside. You will find the latter in one of the Help articles available in your account, which means you don't need any programming skills - you can just copy the code in question. All webpages that will use Server Side Includes should have a .shtml extension, so if you add in this function to an active site, you must make sure that you change all of the links on it.