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. This way, you can add any kind of content to various webpages on your website and modify it simply by updating a single text file. You are able to also add the output of distinctive scripts in order that the current time and date, the IP address of the visitor or the attributes of a file appear on your site. This shall allow you to add in some dynamic content to static webpages, making the site more inviting to your site visitors and giving it a far more professional overall appearance. It will be simpler to update this content in comparison to updating every static web 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 will be able to use Server Side Includes with all of the website hosting packages that we provide and enable it separately for every single domain or subdomain in your own hosting account. This can be achieved by using an .htaccess file, which needs to be placed in 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 get the code within our Knowledgebase area, so you're able to just copy and paste it, as you don't need any programming expertise to benefit from all functions that our solutions incorporate. In case you have currently built your website and you would like to employ Server Side Includes later, you must make sure that you rename the files from .html to .shtml and correct the links on the site, otherwise SSI won't work.
Server Side Includes in Semi-dedicated Servers
Server Side Includes can be activated easily with every single semi-dedicated server package that our company offers and the entire process will take you less than a minute and just a couple of clicks. You can enable SSI by creating an empty .htaccess file in a domain or subdomain root folder using the File Manager tool in the Hosting Control Panel or an FTP application of your choice, then adding a few lines of code, which you will be able to get out of the SSI article within our complete Knowledgebase. The one thing left after that will be to double-check if all of the pages that will implement Server Side Includes are updated from .html to .shtml and then to update the links to different webpages on your website, to reflect the changes in the file extensions.