Server Side Includes (SSI) is a simple server-side language, which lets you incorporate text from a specified source inside a website. In the most popular case, the text from a file is incorporated in a second one, giving a website the sense that it is dynamic. For instance, in case your site involves ten web pages, five of them can easily include the content of any kind of file, such as horoscope.txt. If you ever alter this text file, the modified content will come up on all five webpages, which shall allow you to bring up to date your site faster and easier than if you had to update part of all five web pages. Server Side Includes is at times used to contain the output of basic commands, scripts or functions as well - a hit counter that is shown on the site, the current time and date or the visitor's IP address. Any webpage that uses SSI will need to have a special extension - .shtml.
Server Side Includes in Cloud Hosting
Server Side Includes is available on our progressive cloud hosting platform, so no matter the Linux cloud hosting you select, it will be easy to utilize this function and make your website a lot more dynamic. Everything you will need to do is to make a file called .htaccess in the main folder for the domain name or subdomain in which you want to use SSI and include a few lines of code inside it. You will not require any kind of coding skills though, as you can simply just copy the necessary code from our help section, or our tech support team can help you enable SSI for any given website. You need to simply change the extension of the html file that will employ Server Side Includes to .shtml and make sure that all links to those webpages on the site are correct.
Server Side Includes in Semi-dedicated Servers
It will not take you more than a moment to activate Server Side Includes when you have a semi-dedicated server plan with us. When you choose to enable this feature, you must make an .htaccess file in the main folder for the domain name or subdomain in which you need SSI to be active. In that file, you need to copy and paste some code, which you'll get in the FAQ article that we have devoted to SSI. You can find the latter in the Help section of your Hosting Control Panel, so you do not require any previous knowledge of this kind of matters. The only 2 things you must deal with are renaming all pages that will employ Server Side Includes from .html to .shtml and replacing each of the links on your site, to make sure they lead to the renamed files.