Server Side Includes (SSI) is a simple server-side language, which enables you to include text from a given source in a website. In the most popular scenario, the text from a single file is included in a different one, giving a website the feeling that it is dynamic. For instance, if your website features 10 pages, 5 of them can include the content of any kind of file, for example horoscope.txt. In case you modify this text file, the new content will appear on all five webpages, which shall allow you to bring up to date your website faster and easier than if you had to update a part of all five web pages. Server Side Includes is at times used to include the output of simple commands, scripts or functions as well - a hit counter that is displayed on the site, the present date and time or the visitor's IP address. Every web page that utilizes SSI will need to have a particular extension - .shtml.
Server Side Includes in Web Hosting
Server Side Includes is featured on our innovative cloud hosting platform, so no matter the Linux web hosting which you choose, it will be possible to make use of this function making your site more dynamic. All that you have to do will be to make a file called .htaccess in the main folder for the domain or subdomain in which you wish to use SSI and then add a handful of lines of code inside it. You will not require any kind of coding skills however, as you're able just copy the needed code from our help section, or our tech support team can help you enable SSI for a given website. You just need to customize the extension of the html file which will employ Server Side Includes to .shtml and make sure that all of the links to these web pages on the website are accurate.
Server Side Includes in Semi-dedicated Hosting
If you get a semi-dedicated server package from us, it is possible to enable Server Side Includes with a couple of clicks and for any domain name or subdomain of your choosing. We've got an in depth Help article about the subject you could find in your Hepsia Hosting Control Panel. All it takes to enable Server Side Includes will be to copy a couple of lines out of the article in an .htaccess file that you ought to create in the root folder of the domain name/subdomain and you'll be good to go. You need to only be sure that all files making use of SSI have the correct extension i.e. .shtml, not .html, as well as that the links on your website are kept up to date and lead to the already renamed files.