Server Side Includes (SSI) is a basic server-side language, which lets you incorporate text from a specific source within a website. In the most typical case, the text from one file is incorporated in a second one, giving a website the feeling that it's dynamic. As an example, in case your website includes 10 webpages, five of them can contain the content of some file, for example horoscope.txt. If you ever alter this text file, the new content will come up on all five web pages, which shall enable you to bring up to date your website much easier than if you had to modify part of all five web pages. Server Side Includes is in some cases utilized to include the output of basic commands, scripts or functions as well - a hit counter that's displayed on the website, the present time and date or the visitor's IP address. Any web page that employs SSI should have a special extension - .shtml.
Server Side Includes in Shared Hosting
Server Side Includes is featured on our modern cloud hosting platform, so whatever the Linux shared package which you choose, it's possible to make use of this function and make your site more dynamic. Everything you have to do will be to set up a file called .htaccess in the main folder for the domain name or subdomain where you would like to use SSI and include a number of lines of code inside it. You simply will not require any coding skills though, as you can just copy the necessary code from our help section, or our tech support team can assist you activate SSI for any given site. You just have to modify the extension of the html file that will employ Server Side Includes to .shtml and make certain that all of the links to these pages on the site are accurate.
Server Side Includes in Semi-dedicated Hosting
It won't take you more than a minute to enable Server Side Includes when you have a semi-dedicated server package with our company. When you decide to activate this feature, you have to make an .htaccess file in the root folder for the domain name or subdomain in which you need SSI to be enabled. In that file, you need to copy and paste some code, which you can get in the FAQ article we have dedicated to SSI. You will find the latter in the Help section of your Hosting Control Panel, so you do not need any previous knowledge of this kind of things. The only 2 things you need to deal with are renaming all of the webpages that will use Server Side Includes from .html to .shtml and replacing every one of the links in your website, to ensure that they lead to the renamed files.