Server Side Includes (SSI) really is a group of directives that will allow you to incorporate the content of a text file in an HTML file. This way, you're able to add some content to various webpages in your website and alter it by just updating a single text file. You're able to additionally add the output of different scripts in order that the present date and time, the IP address of the visitor or the attributes of some file display on your site. This shall enable you to add some dynamic content to static web pages, making the site more desirable to your visitors and creating a more professional visual appearance. It will be quicker to update this content compared to updating every static page one at a time. If you would like to use Server Side Includes on your website, the web pages that contain the content of some file should be with extension .shtml.
Server Side Includes in Hosting
You'll be able to use Server Side Includes with all of the hosting packages we provide and enable it individually for every domain or subdomain in your own hosting account. You can do this with an .htaccess file, which should be positiioned in the folder in which you wish to use SSI and you have to enter a few lines of code in that file. You will find the code inside our Knowledgebase area, so you can simply copy it, since you don't need any coding expertise to benefit from all characteristics that our solutions feature. In case you have currently built your website and you want to employ Server Side Includes afterwards, you need to make certain that you rename the files from .html to .shtml and correct the links on the site, otherwise SSI will not work.
Server Side Includes in Semi-dedicated Servers
It won't take you over a minute to enable Server Side Includes if you have a semi-dedicated server package with us. When you decide to activate this feature, you will need to set up an .htaccess file in the main folder for the domain name or subdomain where you would like SSI to be active. In that file, you must copy some code, which you'll get in the FAQ article we have devoted to SSI. You will find the latter in the Help section of your Hosting Control Panel, so you don't need any previous experience with these types of things. The only two things you ought to take care of are renaming all pages that shall utilize Server Side Includes from .html to .shtml and updating all of the links in your website, to ensure that they point to the renamed files.