Server Side Includes (SSI) is a set of directives that will allow you to incorporate the content of a text file within an HTML file. By doing this, you're able to add any kind of content to numerous web pages on your site and modify it by simply modifying an individual text file. You'll be able to also add the output of distinctive scripts so the present date and time, the IP address of the visitor or the properties of a file show on your website. This shall let you incorporate some dynamic content to static pages, making the website more appealing to your visitors and giving it a more professional appearance. It will likewise be easier to update this content compared to 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 must be with extension .shtml.
Server Side Includes in Website Hosting
You'll be able to use Server Side Includes with all of the website hosting packages that we offer you and activate it independently for every domain name or subdomain inside of your hosting account. This can be accomplished by utilizing an .htaccess file, which should be placed into the folder in which you wish to use SSI and you need to enter a couple of lines of code in that file. You can see the code inside our Knowledgebase area, so you're able to just copy and paste it, as you do not need any coding expertise to benefit from all of the functions that our solutions have. If you have currently built your site and you wish to employ Server Side Includes later, you must ensure 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 Servers
It won't take you over a minute to activate Server Side Includes if you have a semi-dedicated server plan through our company. When you decide to enable this function, you must 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 some code, which you can find in the FAQ article we have devoted to SSI. You can find the latter within the Help area of your Hosting Control Panel, so you don't require any prior experience with this kind of matters. The only 2 things you need to deal with are renaming all webpages that shall utilize Server Side Includes from .html to .shtml and bringing up-to-date all of the links on your website, so that they point to the renamed files.