Server Side Includes
Discover just what Server Side Includes is actually and also how you can use it to improve your websites.
Server Side Includes (SSI) really is a set of directives that will permit you to contain the content of a text file inside an HTML file. In this manner, you are able to add any kind of content to a few different webpages in your website and change it simply by editing an individual text file. You're able to also add the output of distinctive scripts so the present time and date, the IP address of the visitor or the attributes of some file appear on your site. This shall enable you to incorporate some dynamic content to static webpages, making the website more inviting to your visitors and giving it a more professional overall appearance. It will likewise be simpler to update this content when compared with updating each static web page one at a time. If you want to use Server Side Includes in your website, the pages that include the content of some file need to be with extension .shtml.
-
Server Side Includes in Website Hosting
It will be easy to use Server Side Includes with all
website hosting packages we offer and enable it independently for every single domain name or subdomain within your hosting account. This can be done when using an .htaccess file, which needs to be put into the folder in which you wish to use SSI and you have to put a couple of lines of code in that file. You can get the code within our Knowledgebase area, so you're able to just copy it, as you do not need any programming capabilities to benefit from all of the functions that our solutions incorporate. In case you have currently built your website and you would like to employ Server Side Includes later, you have to ensure 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 shall not take you more than a moment to enable Server Side Includes when you have a
semi-dedicated server package with us. If you decide to activate this function, you have to create an .htaccess file in the root folder for the domain or subdomain where you would like SSI to be active. In that file, you need to copy and paste some code, which you'll find in the FAQ article that we have devoted to SSI. You can get the latter inside the Help section of your Hosting Control Panel, so you do not need any previous knowledge of such things. The only two things you need to take care of are renaming all of pages that shall employ Server Side Includes from .html to .shtml and replacing every one of the links in your website, to make sure they point to the renamed files.