Server Side Includes (SSI) is a well-known server-side scripting language, which is often used to add the content of one file inside a second file. It is utilized mostly with online content and it can make a static HTML website more dynamic. If you need to have a daily quote displayed on a number of web pages of your site, as an example, you can make a text file and switch the quote inside it each day. All the web pages where this file is incorporated are going to show the updated quote, so you will not have to edit every one of them manually every time. SSI could also be used to contain the output of basic functions instead of a static file - for instance, the client's IP address, a hit counter or even the current time and date. This way, you may make your internet site look more professional and much more appealing to the website visitors. Web pages that employ SSI have a .shtml extension.
Server Side Includes in Web Hosting
It will be easy to use Server Side Includes with all of the web hosting plans we provide and enable it independently for every single domain or subdomain inside your hosting account. This can be accomplished by using an .htaccess file, which should be placed in the folder where you want to use SSI and you have to enter a couple of lines of code in that file. You'll find the code inside our Knowledgebase area, so you're able to simply just copy and paste it, since you don't need any programming skills to take advantage of all features that our services contain. In case you have already built your website and you would like to use Server Side Includes later on, you have 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
Server Side Includes can be enabled without any difficulty with every single semi-dedicated server package that we provide you with and the full process is going to take you just one minute and only a number of clicks. You can enable SSI by making a blank .htaccess file in a domain name or subdomain main folder with the File Manager tool in the Hosting Control Panel or perhaps an FTP app of your preference, then typing in a number of lines of code, which you'll be able to copy from the SSI article inside our thorough Knowledgebase. The only thing left then shall be to double-check if all web pages that shall make use of Server Side Includes are renamed from .html to .shtml and to edit the links to different web pages on your site, to represent the modifications in the file extensions.