Server Side Includes (SSI) is a simple server-side language, which lets you incorporate text from a given source in a website. In the most typical situation, the text from a file is incorporated in another, giving a website the sense it is dynamic. As an example, if your website is made of 10 pages, five of them can include the content of any kind of file, such as horoscope.txt. In case you alter this text file, the new content is going to appear on all of the five pages, which shall permit you to bring up to date your website much easier than if you had to update part of all five web pages. Server Side Includes is in some cases utilized to include the output of simple commands, scripts or functions as well - a hit counter that is shown on the website, the present date and time or the visitor's IP address. Any web page that utilizes SSI should have a special extension - .shtml.
Server Side Includes in Semi-dedicated Hosting
Server Side Includes may be activated easily with every single semi-dedicated server plan that we offer and the full process is going to take you less than a minute and just a few mouse clicks. You can activate 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'll be able to get out of the SSI article in our complete Knowledgebase. The one thing remaining following that is to double-check if all of the web pages that shall use Server Side Includes are renamed from .html to .shtml and also to update the links to different webpages on your website, so as to reflect the changes in the file extensions.