Server Side Includes (SSI) is a simple server-side language, which enables you to include text from a given source within a web page. In the most popular situation, the text from a single file is incorporated in another, giving a site the sense it is dynamic. For instance, if your site is comprised of ten web pages, 5 of them can easily include the content of any kind of file, like horoscope.txt. As soon as you change this text file, the modified content will come up on all five web pages, which shall help you revise your website faster and easier than if you had to modify a part of all five web pages. Server Side Includes is sometimes used to incorporate the output of simple commands, scripts or functions as well - a hit counter that's displayed on the website, the current time and date or the customer's IP address. Any webpage that employs SSI should have a special extension - .shtml.
Server Side Includes in Shared Hosting
Since our custom cloud hosting platform has Server Side Includes on a global level, it is possible to implement this feature with the shared hosting
packages we offer you and add dynamic content to your websites with only a few mouse clicks. SSI can be activated for every specific domain name or subdomain by inserting an .htaccess file in the website folder with a few lines of code. Certainly, you don't have to be a developer for that because the required code can be copied from the Help article we have related to Server Side Includes. If you would like to employ this function for your site, you need to rename your website files from .html to .shtml and you've got to double-check if all of the links on your site lead to the up-to-date names.
Server Side Includes in Semi-dedicated Hosting
If you get a semi-dedicated server
package with us, you'll be able to activate Server Side Includes with a couple of clicks and for every domain or subdomain that you pick. We've got a detailed Help article about the subject that you can find in your Hepsia Hosting Control Panel. All you need to activate Server Side Includes is to copy a couple of lines from the article within an .htaccess file that you need to create in the main folder of the domain/subdomain and you will be ready to go. You need to just be sure that all files implementing SSI have the correct extension i.e. .shtml, not .html, and that the links on your website are updated and lead to the by now renamed files.