Server Side Includes (SSI) is a set of directives that will allow you to include the content of a text file in an HTML file. In this way, you're able to add any kind of content to numerous pages on your website and change it by just editing an individual text file. You'll be able to furthermore add the output of various scripts in order that the current date and time, the IP address of the visitor or the properties of some file display on your site. This shall help you add in some dynamic content to static webpages, making the site more inviting to your site visitors and giving it a professional overall appearance. It will also be simpler to update this content as compared to editing every static page one by one. If you would like to use Server Side Includes on your site, the pages that contain the content of some file should be with extension .shtml.
Server Side Includes in Shared Website Hosting
You'll be able to use Server Side Includes with all of the shared website hosting plans we provide and enable it individually for every domain name or subdomain within your hosting account. You can do this by utilizing an .htaccess file, which should be placed into the folder where you want to use SSI and you need to enter a few lines of code in that file. You'll find the code in our Knowledgebase area, so you're able to simply copy and paste it, since you don't need any coding expertise to take advantage of all of the features that our solutions come with. If you have already built your website and you want to employ Server Side Includes later on, you must make certain that you rename the files from .html to .shtml and correct the links on the website, or else SSI won't work.
Server Side Includes in Semi-dedicated Servers
It will be easy to enable and make use of Server Side Includes with just a handful of mouse clicks with any of our semi-dedicated server offers because the feature is available in the cloud platform where your account shall be set up. All you have to do would be to set up a blank file named .htaccess via your Hepsia Hosting Control Panel and then include a handful of lines of code in it. You'll find the latter inside the Help articles that are available within your account, and that means you do not need any programming skills - you'll be able to simply just copy and paste the code in question. All webpages that are going to use Server Side Includes must have a .shtml extension, so in case you add in this function to an existing website, you need to make sure that you update all of the links in there.