Server Side Includes (SSI) is a basic server-side language, which enables you to incorporate text from a specified source inside a website. In the most widespread scenario, the text from a single file is included in a second one, giving a site the sense that it's dynamic. For instance, if your website has 10 webpages, five of them can easily include the content of any kind of file, like horoscope.txt. If you alter this text file, the updated content will come up on all five pages, which shall help you update your site much easier than if you had to modify part of all 5 pages. Server Side Includes is at times utilized to contain the output of simple commands, scripts or functions as well - a hit counter that's displayed on the website, the present date and time or the visitor's IP address. Every web page that makes use of SSI should have a unique extension - .shtml.
Server Side Includes in Cloud Website Hosting
All the Linux cloud website hosting service
that we provide support Server Side Includes, so you're able to add dynamic elements to any static site which you host on our cloud platform. By setting up a blank .htaccess file and adding several lines of code in it, you'll be able to enable SSI for a domain or perhaps a subdomain. The file involved needs to be in the exact folder where you are going to use SSI and you can also see the code within our Frequently Asked Questions section, so you do not need any kind of coding knowledge. The 24/7 technical support staff shall also be able to help you with activating Server Side Includes if you are not absolutely sure how to proceed. You should additionally remember to modify the extension of all of the files which will implement SSI from .html to .shtml and make sure that the links on your website point to the right files.
Server Side Includes in Semi-dedicated Servers
It will be easy to enable and use Server Side Includes with a few mouse clicks with any one of the semi-dedicated server
packages as the option is available on the cloud platform where your new account will be configured. All you have to do is to make a blank file named .htaccess using your Hepsia Hosting Control Panel and then place in a few lines of code inside. You will find the latter in one of the Help articles that are offered as part of your account, which means you do not require any programming skills - it is possible to just copy and paste the code in question. All web pages that will make use of Server Side Includes should have a .shtml extension, so if you add this feature to an active site, you have to make sure that you change all of the links in there.