Server Side Includes (SSI) is a common server-side scripting language, which is often used to add the content of one file inside another file. It is employed mainly with online content and it will help to make a static HTML site much more dynamic. If you'd like to have a daily quote displayed on various pages of your website, as an example, you can make a text file and switch the quote inside it daily. All of the pages in which this file is included are going to display the modified quote, so you will not have to change them personally every single time. SSI can also be used to include the output of simple functions rather than a static file - for example, the viewer's IP address, a hit counter or maybe the present time and date. In this manner, you can make your internet site seem more professional and more appealing to the site visitors. Pages that use SSI use a .shtml extension.

Server Side Includes in Shared Website Hosting

You'll be able to use Server Side Includes with all of the shared website hosting packages that we offer you and activate it separately for every domain name or subdomain in your hosting account. This can be achieved when using an .htaccess file, which should be placed in the folder where you wish to use SSI and you have to enter a couple of lines of code in that file. You can get the code in our Knowledgebase section, so you're able to simply copy it, as you do not need any coding skills to benefit from all of the features that our services incorporate. If you have already built your website and you would like to employ Server Side Includes later on, you need to make certain that you rename the files from .html to .shtml and correct the links on the site, otherwise SSI won't work.

Server Side Includes in Semi-dedicated Servers

You will be able to enable and utilize Server Side Includes with just a few mouse clicks with any one of the semi-dedicated server offers as the feature is supported on the cloud platform where your account shall be set up. All you need to do will be to create an empty file named .htaccess via your Hepsia Hosting Control Panel and then include a handful of lines of code inside. You'll find the latter in one of the Help articles accessible as part of your account, which means you do not require any kind of programming expertise - it is possible to just copy and paste the code in question. All pages that are going to use Server Side Includes must have a .shtml extension, so in case you incorporate this option to an existing site, you have to make sure that you update all of the links on it.