Server Side Includes (SSI) really is a group of directives that will enable you to include the content of a text file in an HTML file. This way, you are able to add any kind of content to numerous webpages in your site and modify it by simply modifying a single text file. You are able to also incorporate the output of distinctive scripts so that the present time and date, the IP address of the website visitor or the properties of some file appear on your site. This will enable you to add some dynamic content to static web pages, making the site more appealing to your site visitors and creating a professional overall appearance. It will be easier to revise this content in comparison with updating each static page one at a time. If you wish to use Server Side Includes in your website, the web pages that incorporate the content of any kind of file need to be with extension .shtml.
Server Side Includes in Shared Hosting
Server Side Includes is present on our modern cloud hosting system, so whatever the shared hosting service which you pick, it will be possible to utilize this feature and make your website more dynamic. All you must do is going to be make a file called .htaccess in the home folder for the domain or subdomain in which you would like to use SSI and after that include a few lines of code inside it. You will not require any coding skills however, since you can just copy the needed code from the help section, or our technical support can help you enable SSI for a specified site. You just have to customize the extension of the html file which will use Server Side Includes to .shtml and make sure that all links to those pages on the website are accurate.
Server Side Includes in Semi-dedicated Servers
It will not take you more than a moment to activate Server Side Includes if you have a semi-dedicated server plan with us. When you decide to enable this feature, you have to set up an .htaccess file in the main folder for the domain name or subdomain in which you want SSI to be active. In that file, you need to copy some code, which you'll see in the FAQ article that we have dedicated to SSI. You can find the latter within the Help area of your Hosting Control Panel, so you don't need any prior knowledge of this kind of matters. The only two things you ought to take care of are renaming all of the web pages that will utilize Server Side Includes from .html to .shtml and bringing up-to-date every one of the links on your site, to ensure that they lead to the updated files.