Server Side Includes (SSI) is a simple server-side language, which lets you incorporate text from a specific source in a web page. In the most widespread case, the text from a file is included in a second one, giving a website the sense it is dynamic. As an example, in case your site involves ten webpages, five of them can contain the content of any kind of file, for example horoscope.txt. Once you modify this text file, the modified content is going to appear on all of the five web pages, which will let you update your website faster and easier than if you had to change part of all five web pages. Server Side Includes is at times used to include the output of basic commands, scripts or functions as well - a hit counter that's shown on the website, the current time and date or the visitor's IP address. Every web page that makes use of SSI must have a special extension - .shtml.
Server Side Includes in Cloud Website Hosting
You'll be able to use Server Side Includes with all cloud website hosting
plans we provide and activate it separately for each and every domain or subdomain within your hosting account. You can do this with an .htaccess file, which needs to be placed in the folder in which you want to use SSI and you need to type in a couple of lines of code in that file. You'll find the code in our Knowledgebase section, so you can simply just copy and paste it, as you do not need any programming knowledge to take advantage of all of the features that our services contain. If you have already built your site and you would like to use Server Side Includes afterwards, you need to make certain that you rename the files from .html to .shtml and fix the links on the website, otherwise SSI will not work.
Server Side Includes in Semi-dedicated Servers
It is possible to activate and utilize Server Side Includes with only a handful of clicks with any of the semi-dedicated server
packages since the option is supported within the cloud platform where your account will be configured. All you have to do will be to create an empty file named .htaccess through your Hepsia Hosting Control Panel and then add a number of lines of code in it. You will find the latter inside the Help articles accessible in your account, so you have no need for any programming skills - you can just copy and paste the code in question. All web pages that are going to use Server Side Includes should have a .shtml extension, so if you add this feature to an active site, you must make sure that you bring up to date all of the links on it.