Server Side Includes (SSI) is a widely used server-side scripting language, which can be used to include the content of one file within another file. It is employed typically with online content and it will make a static HTML site more dynamic. If you'd like to have a daily quote displayed on numerous webpages within your website, for example, you can make a text file and switch the quote in it every day. All pages in which this file is incorporated are going to show the modified quote, so you will not need to edit them manually every time. SSI may also be used to include the output of simple functions rather than a static file - for example, the viewer's IP address, a hit counter or maybe the current date and time. In this manner, you can make your site look a lot more professional and a lot more attractive to the site visitors. Pages that employ SSI use a .shtml extension.
Server Side Includes in Shared Web Hosting
It is possible to use Server Side Includes with all shared web hosting packages we offer and activate it separately for every domain or subdomain within your hosting account. You can do this with an .htaccess file, which should 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 find the code in our Knowledgebase area, so you're able to simply just copy and paste it, since you do not need any coding capabilities to take advantage of all capabilities that our solutions contain. In case you have already built your website and you want to employ Server Side Includes later on, you will need to ensure that you rename the files from .html to .shtml and fix the links on the website, otherwise SSI will not work.
Server Side Includes in Semi-dedicated Servers
You'll be able to enable and use Server Side Includes with simply a couple of clicks with any one of the semi-dedicated server offers as the feature is supported on the cloud platform where your new account will be configured. All you need to do will be to create an empty file named .htaccess through your Hepsia Hosting Control Panel and then add a couple of lines of code inside. You will find the latter within the Help articles available within your account, so you don't require any kind of programming skills - you are able to simply just copy and paste the code in question. All pages that are going to implement Server Side Includes need to have a .shtml extension, so in case you add this option to an existing site, you have to make sure that you bring up to date all of the links in there.