Server Side Includes
Find out exactly what Server Side Includes is actually and also how it can be used to further improve your sites.
Server Side Includes (SSI) is a simple server-side language, which lets you include text from a specified source in a website. In the most typical case, the text from a single file is integrated in a second one, giving a site the sense that it is dynamic. For instance, in case your website includes 10 pages, 5 of them can include the content of any kind of file, such as horoscope.txt. Any time you change this text file, the modified content is going to appear on all of the five webpages, which will let you update your site much easier than if you had to change a part of all five web pages. Server Side Includes is occasionally employed to include the output of basic commands, scripts or functions as well - a hit counter that is displayed on the site, the present time and date or the visitor's IP address. Any web page that utilizes SSI will need to have a unique extension - .shtml.
-
Server Side Includes in Web Hosting
All
Linux web hosting we provide support Server Side Includes, so that you can bring in dynamic components to your static website that you host on our cloud system. By creating a blank .htaccess file and typing in a few lines of code within it, you are able to enable SSI for a domain or a subdomain. The file involved should be inside the exact folder where you will make use of SSI and you will see the code within our Frequently Asked Questions section, which means you don't need any coding experience. The 24/7 tech support crew will also be in a position to assist you with activating Server Side Includes if you aren't absolutely sure what to do. You should additionally remember to modify the extension of all your files which will use SSI from .html to .shtml and make sure that the links on your site point to the proper files.
-
Server Side Includes in Semi-dedicated Hosting
It won't take you more than a minute to enable Server Side Includes if you have a
semi-dedicated server plan through us. When you decide to activate this function, you will need to make an .htaccess file in the main folder for the domain or subdomain where you need SSI to be enabled. In this file, you must copy and paste some code, that you can see in the FAQ article we have devoted to SSI. You can get the latter inside the Help area of your Hosting Control Panel, so you don't require any prior experience with these types of things. The only 2 things you must deal with are renaming all of the web pages that shall employ Server Side Includes from .html to .shtml and bringing up-to-date all of the links on your website, so they lead to the updated files.