Server Side Includes
Learn more about SSI (Server Side Includes) - what it is and how you can employ it to improve your website's functionality.
Server Side Includes (SSI) is a simple server-side language, which lets you include text from a specific source within a web page. In the most popular case, the text from a file is included in a second one, giving a website the sense that it's dynamic. For example, if your site includes 10 web pages, five of them can include the content of any kind of file, such as horoscope.txt. If you change this text file, the modified content will appear on all of the five pages, which will help you bring up to date your site faster and easier than if you had to modify a component of all 5 pages. Server Side Includes is at times utilized to contain the output of simple commands, scripts or functions as well - a hit counter that is displayed on the website, the current date and time or the visitor's IP address. Every web page that makes use of SSI will need to have a unique extension - .shtml.
-
Server Side Includes in Cloud Website Hosting
As our unique cloud hosting platform features Server Side Includes on a global level, you are able to make use of this function with all of the
cloud website hosting plans that we offer and bring dynamic content to your websites with a few clicks. SSI can be enabled for each particular domain or subdomain by placing an .htaccess file in the website folder with a few lines of code. Certainly, there is no need to be a developer for that because the necessary code can be copied from the Help post that we have concerning Server Side Includes. If you want to employ this function for your site, you need to rename your website files from .html to .shtml and you've got to double-check if all of the links on your site lead to the current names.
-
Server Side Includes in Semi-dedicated Hosting
If you get a
semi-dedicated server package with our company, it is possible to enable Server Side Includes with a couple of clicks and for any domain name or subdomain of your preference. We have a comprehensive Help article on the subject you can find in your Hepsia Hosting Control Panel. All it takes to enable Server Side Includes is to copy a couple of lines from the article inside an .htaccess file that you need to make in the main folder of the domain/subdomain and you will be set. You need to simply be sure that all files implementing SSI possess the appropriate extension i.e. .shtml, not .html, and also that the links on your site are kept up to date and point to the by now updated files.