Server Side Includes (SSI) is a common server-side scripting language, that is employed to add the content of one file inside of a second file. It is used principally with online content and it can make a static HTML site a lot more dynamic. If you wish to have a daily quote shown on various webpages within your website, for example, you can make a text file and switch the quote within it every day. All of the web pages in which this file is incorporated are going to display the modified quote, so you'll not have to alter all of them by hand every time. SSI could also be used to contain the output of simple functions as opposed to a static file - for example, the client's IP address, a hit counter or maybe the current date and time. In this manner, you can make your website appear far more professional and a lot more appealing to the website visitors. Web pages that use SSI have a .shtml extension.
Server Side Includes in Shared Web Hosting
All of the shared web hosting that we offer you support Server Side Includes, so you can add dynamic components to your static website that you host on our cloud platform. By setting up an empty .htaccess file and typing in a few lines of code inside it, you can activate SSI for a domain or perhaps a subdomain. The file involved must be within the particular folder where you are going to use SSI you'll be able to find the code within our Frequently Asked Questions section, so you do not need any kind of coding knowledge. The 24/7 tech support staff shall also be able to assist you with enabling Server Side Includes if you're not confident how to proceed. You should additionally remember to modify the extension of all of the files which will use SSI from .html to .shtml and ensure that the links on your site point to the appropriate files.
Server Side Includes in Semi-dedicated Servers
It will not take you more than a moment to enable Server Side Includes when you've got a semi-dedicated server plan with us. If you decide to activate this feature, you will need to create an .htaccess file in the main folder for the domain name or subdomain in which you want SSI to be active. In this file, you have to copy and paste some code, that you can see in the FAQ article we have devoted to SSI. You'll find the latter within the Help area of your Hosting Control Panel, so you don't need any previous knowledge of this kind of things. The only two things you must take care of are renaming all webpages that shall use Server Side Includes from .html to .shtml and updating each of the links in your website, in order that they lead to the renamed files.