Server Side Includes (SSI) is a simple server-side language, which allows you to include text from a specific source in a web page. In the most widespread case, the text from a single file is incorporated in another, giving a site the sense it is dynamic. As an example, in case your site consists of ten webpages, five of them can have the content of some file, such as horoscope.txt. If you modify this text file, the new content will appear on all of the five pages, which shall allow you to bring up to date your site faster and easier than if you had to modify a component of all 5 pages. Server Side Includes is at times employed to contain the output of basic commands, scripts or functions as well - a hit counter that's displayed on the site, the current date and time or the visitor's IP address. Any webpage that makes use of SSI should have a particular extension - .shtml.
Server Side Includes in Hosting
All of the hosting
that we offer support Server Side Includes, so you're able to bring in dynamic elements to your static site which you host on our cloud platform. By creating a blank .htaccess file and adding some lines of code inside it, you can enable SSI for a domain or perhaps a subdomain. The file concerned should be in the specific folder where you will use SSI and you can discover the code inside our Frequently Asked Questions section, which means you don't need any coding expertise. Our 24/7 technical support crew will also be able to help you with activating Server Side Includes if you're not absolutely sure how to proceed. You should additionally remember to change the extension of all your files that are going to utilize SSI from .html to .shtml and make certain that the links on your website point to the appropriate files.
Server Side Includes in Semi-dedicated Servers
You will be able to activate and employ Server Side Includes with only a few clicks with any of the semi-dedicated server offers as the feature is supported within the cloud platform where your brand-new account shall be configured. All you need to do would be to create an empty file named .htaccess from your Hepsia Hosting Control Panel and then place in a number of lines of code inside. You will find the latter within the Help articles which can be found inside of your account, and that means you do not require any kind of programming abilities - it is possible to simply just copy and paste the code in question. All pages that are going to implement Server Side Includes must have a .shtml extension, so if you incorporate this option to an active site, you must make sure that you update all of the links on it.