Server Side Includes (SSI) is a well-known server-side scripting language, which is used to include the content of one file inside of another file. It is used mostly with online content and it can make a static HTML website a lot more dynamic. If you need to have a daily quote displayed on multiple webpages within your site, for example, you can make a text file and switch the quote within it every single day. All of the webpages in which this file is incorporated are going to display the modified quote, so you will not need to modify them by hand every single time. SSI could also be used to contain the output of basic functions as opposed to a static file - for instance, the visitor's IP address, a hit counter or even the present date and time. In this way, you may make your site seem more professional and more appealing to the site visitors. Web pages that use SSI use a .shtml extension.

Server Side Includes in Shared Hosting

All shared hosting we provide support Server Side Includes, so you're able to include dynamic elements to your static site which you host on our cloud platform. By making an empty .htaccess file and entering several lines of code inside, you are able to activate SSI for a domain or perhaps a subdomain. The file concerned should be inside the specific folder where you are going to use SSI and you can discover the code within our Frequently Asked Questions section, and that means you do not need any coding knowledge. Our 24/7 technical support crew will also be able to assist you with enabling Server Side Includes if you're not confident what to do. You should also make sure to change the extension of all of the files that will implement SSI from .html to .shtml and ensure that the links on your website point to the right files.

Server Side Includes in Semi-dedicated Servers

It shall not take you over a minute to enable Server Side Includes in case you have a semi-dedicated server package with us. When you choose to enable this function, you must create an .htaccess file in the root folder for the domain name or subdomain where you would like SSI to be active. In this file, you have to copy some code, which you can see in the FAQ article that we have dedicated to SSI. You will find the latter inside the Help section of your Hosting Control Panel, so you do not need any prior knowledge of this kind of things. The only two things you should take care of are renaming all of pages that shall employ Server Side Includes from .html to .shtml and replacing all of the links on your website, to make sure they point to the renamed files.