Server Side Includes (SSI) is a basic server-side language, which allows you to include text from a specific source inside a website. In the most popular scenario, the text from a file is included in a second one, providing a site the feeling that it is dynamic. For instance, if your site is made of 10 pages, five of them can include the content of any kind of file, like horoscope.txt. Once you modify this text file, the modified content is going to appear on all of the five webpages, which shall enable you to revise your website faster and easier than if you had to update part of all five pages. Server Side Includes is sometimes employed to include the output of simple commands, scripts or functions as well - a hit counter that's displayed on the site, the present time and date or the customer's IP address. Any web page that utilizes SSI will need to have a particular extension - .shtml.
Server Side Includes in Shared Hosting
Since our custom cloud hosting system features Server Side Includes on a global level, it's possible to work with this feature with the shared hosting packages that we offer and incorporate dynamic content to your sites with a couple of mouse clicks. SSI is enabled for each specific domain name or subdomain by inserting an .htaccess file in the website folder with a couple of lines of code. Of course, you don't have to turn into a developer for that since the necessary code may be copied from the Help article that we have concerning Server Side Includes. If you would like to utilize this function for your site, you'll have to rename your site files from .html to .shtml and you will have to double-check if all links on your website lead to the up-to-date names.
Server Side Includes in Semi-dedicated Servers
If you get a semi-dedicated server package from us, you will be able to enable Server Side Includes with only a few clicks and for virtually any domain name or subdomain of your choosing. You will find a comprehensive Help article on the subject that you can find in your Hepsia Hosting Control Panel. All you need to enable Server Side Includes will be to copy a couple of lines from the article in an .htaccess file that you should make in the main folder of the domain/subdomain and you'll be good to go. You need to just ensure that all files utilizing SSI have the proper extension i.e. .shtml, not .html, and also that the links on your website are modified and lead to the by now renamed files.