Server Side Includes (SSI) is a basic server-side language, which enables you to include text from a given source in a website. In the most common case, the text from one file is included in a second one, providing a website the sense that it is dynamic. For instance, if your website is made of 10 pages, five of them can easily have the content of any kind of file, such as horoscope.txt. In case you change this text file, the new content is going to appear on all five pages, which shall permit you to update your website much easier than if you had to update a component of all 5 pages. Server Side Includes is in some cases used to contain the output of simple commands, scripts or functions as well - a hit counter that is shown on the site, the present date and time or the customer's IP address. Any web page that uses SSI will need to have a special extension - .shtml.
Server Side Includes in Website Hosting
All of the Linux website hosting service we offer support Server Side Includes, so you're able to include dynamic components to your static website which you host on our cloud platform. By setting up an empty .htaccess file and typing in several lines of code inside, you'll be able to enable SSI for a domain name or a subdomain. The file concerned needs to be within the specific folder where you will make use of SSI you'll be able to discover the code in our Frequently Asked Questions section, and that means you do not need any kind of coding knowledge. Our 24/7 technical support staff shall also be in a position to help you with activating Server Side Includes if you aren't certain how to proceed. You should furthermore remember to modify the extension of all your files which will implement SSI from .html to .shtml and make certain that the links on your website lead to the right files.
Server Side Includes in Semi-dedicated Servers
It is possible to enable and use Server Side Includes with just a few clicks with any one of the semi-dedicated server plans since the option is featured in the cloud platform where your new account will be configured. All you need to do would be to set up an empty file named .htaccess using your Hepsia Hosting Control Panel and then place in a few lines of code inside. You'll find the latter inside the Help articles that are offered in your account, so you do not need any programming knowledge - you'll be able to just copy and paste the code in question. All pages that will implement Server Side Includes should have a .shtml extension, so in case you add in this option to an active site, you have to make sure that you update all of the links on it.