Server Side Includes
Discover more about SSI (Server Side Includes) - what it is and how you'll be able to employ it in order to boost your site's functionality.
Server Side Includes (SSI) is a basic server-side language, which enables you to include text from a specific source inside a web page. In the most common case, the text from a single file is integrated in another, providing a website the feeling that it is dynamic. For instance, if your site consists of ten web pages, 5 of them can include the content of some file, such as horoscope.txt. In case you alter this text file, the modified content will appear on all five webpages, which will let you revise your website faster and easier than if you had to update a part of all 5 pages. Server Side Includes is sometimes utilized to contain the output of simple commands, scripts or functions as well - a hit counter that is shown on the site, the current date and time or the visitor's IP address. Every web page that works by using SSI will need to have a particular extension - .shtml.
-
Server Side Includes in Shared Web Hosting
As our custom cloud hosting platform offers Server Side Includes on a global level, it's possible to work with this function with all of the
shared web hosting plans that we feature and incorporate dynamic content to your sites with a couple of clicks. SSI is activated for every individual domain or subdomain by putting an .htaccess file in the site folder with only a few lines of code. Naturally, there is no need to turn into a coder for that since the needed code may be copied from the Help article we have about Server Side Includes. If you would like to employ this feature for your site, you will need to rename your site files from .html to .shtml and you've got to double-check if all links on your site point to the up-to-date names.
-
Server Side Includes in Semi-dedicated Servers
It shall not take you over a minute to enable Server Side Includes when you've got a
semi-dedicated server package with us. If you decide to enable this feature, you need to make an .htaccess file in the root folder for the domain or subdomain where you would like SSI to be enabled. In this file, you have to copy and paste some code, which you'll get in the FAQ article we have devoted to SSI. You will find the latter in the Help area of your Hosting Control Panel, so you do not require any prior experience with such matters. The only two things you need to take care of are renaming all of the web pages that will use Server Side Includes from .html to .shtml and editing all the links on your website, in order that they point to the renamed files.