Server Side Includes (SSI) is a basic server-side language, which allows you to include text from a specified source in a web page. In the most typical case, the text from a single file is integrated in a different one, providing a site the sense it is dynamic. For example, if your site involves ten webpages, 5 of them can include the content of some file, for example horoscope.txt. In case you modify this text file, the updated content will appear on all five pages, which shall let you bring up to date your site faster and easier than if you had to update part of all 5 pages. Server Side Includes is occasionally utilized to incorporate the output of simple commands, scripts or functions as well - a hit counter that is displayed on the site, the present date and time or the visitor's IP address. Any web page that utilizes SSI should have a particular extension - .shtml.
Server Side Includes in Web Hosting
You will be able to use Server Side Includes with all of the web hosting packages that we offer you and activate it separately for every single domain or subdomain inside your hosting account. This can be done by utilizing an .htaccess file, which should be positiioned in the folder where you wish to use SSI and you have to type in a couple of lines of code in that file. You will find the code within our Knowledgebase section, so you're able to simply just copy it, as you don't need any coding expertise to take advantage of all of the features that our services come with. In case you have by now built your site and you wish to use Server Side Includes later, you need to make sure that you rename the files from .html to .shtml and correct the links on the website, otherwise SSI won't work.
Server Side Includes in Semi-dedicated Servers
Server Side Includes could be enabled without any problem with every semi-dedicated server package that we offer and the full process will take you less than a minute and only several mouse clicks. You can enable SSI by creating an empty .htaccess file inside a domain or subdomain root folder with the File Manager tool in the Hosting Control Panel or an FTP program of your choosing, then incorporating a few lines of code, which you will be capable to get from the SSI article inside our detailed Knowledgebase. The one thing remaining following that will be to double-check if all of the web pages that shall implement Server Side Includes are updated from .html to .shtml and also to change the links to different webpages on your website, to reflect the modifications in the file extensions.