Server Side Includes (SSI) is a common server-side scripting language, used to include the content of one file within another file. It is utilized primarily with online content and it can make a static HTML website more dynamic. If you want to have a daily quote shown on numerous web pages on your site, as an example, you can make a text file and switch the quote in it each day. All of the web pages in which this file is integrated will display the modified quote, so you will not need to edit every one of them manually every single time. SSI can 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 the present time and date. In this way, you may make your internet site seem much more professional and much more attractive to the visitors. Pages that use SSI have a .shtml extension.

Server Side Includes in Shared Web Hosting

All of the Linux shared web hosting service we offer support Server Side Includes, so that you can bring in dynamic elements to your static site that you host on our cloud platform. By making a blank .htaccess file and entering several lines of code in it, you can activate SSI for a domain or a subdomain. The file involved needs to be in the exact folder where you will use SSI and you will get the code inside our Frequently Asked Questions section, which means you do not need any kind of coding practical experience. The 24/7 technical support team will also be able to help you with activating Server Side Includes if you are not certain how to proceed. You should also make sure to change the extension of all of the files that will utilize SSI from .html to .shtml and make certain that the links on your site point to the correct files.

Server Side Includes in Semi-dedicated Servers

It shall not take you more than a minute to enable Server Side Includes when you have a semi-dedicated server plan with us. When you decide to enable this function, you have to create an .htaccess file in the root folder for the domain or subdomain in which you would like SSI to be active. In that file, you must copy some code, which you can see in the FAQ article we have devoted to SSI. You'll find the latter in the Help area of your Hosting Control Panel, so you do not need any prior knowledge about these types of things. The only two things you need to take care of are renaming all of pages that will use Server Side Includes from .html to .shtml and changing all of the links in your site, to make sure they point to the updated files.