Server Side Includes
Discover more about SSI (Server Side Includes) - what exactly it is and how you can use it so as to improve your website's functionality.
Server Side Includes (SSI) is a list of directives that will permit you to include the content of a text file inside an HTML file. By doing this, you'll be able to add some content to a few different webpages on your website and modify it by simply editing a single text file. You'll be able to also add the output of various scripts so that the present time and date, the IP address of the visitor or the attributes of some file appear on your site. This will let you add in some dynamic content to static pages, making the site more desirable to your site visitors and giving it a professional overall look. It will likewise be simpler to revise this content in comparison with updating each static page one at a time. If you wish to use Server Side Includes in your website, the pages that incorporate the content of some file need to be with extension .shtml.
-
Server Side Includes in Cloud Hosting
You will be able to use Server Side Includes with all
cloud hosting packages we offer you and enable it independently for each domain or subdomain within your hosting account. This can be done with an .htaccess file, which needs to be placed into the folder where you wish to use SSI and you have to put a couple of lines of code in that file. You will find the code within our Knowledgebase section, so you're able to just copy it, as you don't need any coding skills to take advantage of all functions that our services have. In case you have by now built your site and you wish to use Server Side Includes later, you have to make sure that you rename the files from .html to .shtml and correct the links on the site, or else SSI won't work.
-
Server Side Includes in Semi-dedicated Servers
You'll be able to enable and utilize Server Side Includes with merely a few mouse clicks with any of our
semi-dedicated server packages because the option is available on the cloud platform where your account shall be set up. All you need to do is to make an empty file named .htaccess using your Hepsia Hosting Control Panel and then add a few lines of code in it. You will find the latter within the Help articles which can be found inside of your account, and that means you don't require any kind of programming abilities - you can simply copy and paste the code in question. All webpages that are going to make use of Server Side Includes should have a .shtml extension, so in case you add in this feature to an existing website, you have to make sure that you update all the links in there.