Server Side Includes (SSI) really is a range of directives that will allow you to include the content of a text file inside an HTML file. In this way, you'll be able to add any kind of content to a few different web pages in your site and adjust it simply by modifying just one text file. You're able to furthermore incorporate the output of different scripts so the current time and date, the IP address of the visitor or the attributes of a file display on your website. This will enable you to add in some dynamic content to static webpages, making the site more inviting to your website visitors and creating a much more professional overall appearance. It will also be easier to update this content in comparison to updating each static web page one by one. If you wish to use Server Side Includes in your website, the web pages that contain the content of some file must be with extension .shtml.
Server Side Includes in Shared Hosting
Server Side Includes is available on our progressive cloud hosting platform, so regardless of the shared hosting that you pick, it will be possible to use this feature and make your site more dynamic. All you must do is to make a file called .htaccess in the main folder for the domain name or subdomain in which you would like to use SSI and after that add a couple of lines of code in it. You will not need any kind of coding skills though, as you're able to simply copy the needed code from our help section, or our technical support can assist you enable SSI for any given website. You just have to change the extension of any html file that will use Server Side Includes to .shtml and make certain that all of the links to these pages on the site are correct.
Server Side Includes in Semi-dedicated Hosting
It shall not take you over a moment to enable Server Side Includes if you have a semi-dedicated server plan through our company. When you decide to activate this function, you need to make an .htaccess file in the root folder for the domain or subdomain in which you need SSI to be active. In this file, you need to copy some code, which you'll find in the FAQ article we have devoted to SSI. You can get the latter in the Help section of your Hosting Control Panel, so you do not need any prior experience with these types of things. The only two things you ought to take care of are renaming all of pages that shall use Server Side Includes from .html to .shtml and editing all the links in your site, to make sure they lead to the updated files.