Server Side Includes
Learn precisely what Server Side Includes is and also how it can be used to improve your web sites.
Server Side Includes (SSI) is a basic server-side language, which lets you include text from a specified source within a web page. In the most widespread situation, the text from a file is incorporated in a second one, providing a site the feeling it is dynamic. For example, in case your website includes ten web pages, five of them can contain the content of some file, such as horoscope.txt. If you alter this text file, the new content will come up on all of the five webpages, which shall enable you to update your website much easier than if you had to update a component of all five pages. Server Side Includes is at times utilized to include the output of basic commands, scripts or functions as well - a hit counter that is displayed on the site, the present date and time or the customer's IP address. Any web page that makes use of SSI will need to have a particular extension - .shtml.
-
Server Side Includes in Shared Hosting
You will be able to use Server Side Includes with all
shared hosting packages that we offer you and enable it independently for each and every domain or subdomain in your hosting account. This can be accomplished when using an .htaccess file, which needs to be put into the folder where you want to use SSI and you have to enter a few lines of code in that file. You can get the code within our Knowledgebase section, so you can simply just copy it, as you don't need any coding capabilities to benefit from all of the characteristics that our services come with. If you have currently built your website and you wish to use Server Side Includes afterwards, you have to make sure that you rename the files from .html to .shtml and correct the links on the site, otherwise SSI is not going to work.
-
Server Side Includes in Semi-dedicated Servers
If you get a
semi-dedicated server plan from our company, it will be easy to activate Server Side Includes with just a few mouse clicks and for every domain or subdomain that you pick. We've got a comprehensive Help article on the subject you can see in your Hepsia Hosting Control Panel. All it takes to activate Server Side Includes will be to copy a couple of lines out of the article in an .htaccess file that you ought to create in the main folder of the domain/subdomain and you'll be ready to go. You should simply make certain that all of the files utilizing SSI have the appropriate extension i.e. .shtml, not just .html, as well as that the links on your website are kept up to date and point to the already updated files.