Server Side Includes (SSI) is actually a group of directives that will permit you to include the content of a text file within an HTML file. In this manner, you are able to add some content to numerous web pages in your website and change it simply by editing an individual text file. You'll be able to also incorporate the output of distinctive scripts in order that the present date and time, the IP address of the website visitor or the properties of a file show up on your site. This will let you add some dynamic content to static web pages, making the website more appealing to your visitors and creating a far more professional visual appearance. It will also be easier to update this content as compared to updating each static web page one by one. If you wish to use Server Side Includes in your website, the pages that contain the content of any kind of file must be with extension .shtml.
Server Side Includes in Shared Hosting
It is possible to use Server Side Includes with all of the shared hosting packages we offer and activate it individually for every domain name or subdomain in your own hosting account. This can be achieved with an .htaccess file, which should be positiioned in the folder in which you want to use SSI and you need to put a couple of lines of code in that file. You'll find the code within our Knowledgebase area, so you're able to simply just copy it, as you don't need any coding capabilities to take advantage of all features that our solutions incorporate. If you have by now built your website and you wish to employ Server Side Includes later, you have to make sure that you rename the files from .html to .shtml and fix the links on the website, otherwise SSI will not work.
Server Side Includes in Semi-dedicated Hosting
It will not take you more than a moment to enable Server Side Includes when you've got a semi-dedicated server plan through our company. When you decide to activate this feature, you will need to create an .htaccess file in the main folder for the domain name or subdomain where you would like SSI to be enabled. In that file, you need to copy and paste some code, which you'll get in the FAQ article that we have devoted to SSI. You can get the latter in the Help area of your Hosting Control Panel, so you don't require any previous knowledge about these types of things. The only two things you ought to deal with are renaming all of the webpages that shall employ Server Side Includes from .html to .shtml and changing each of the links on your site, so they point to the updated files.