Server Side Includes (SSI) is a basic server-side language, which lets you incorporate text from a specified source in a web page. In the most popular situation, the text from a single file is included in another, giving a website the sense it is dynamic. As an example, in case your site involves ten pages, five of them can have the content of some file, for example horoscope.txt. If you ever alter this text file, the updated content will appear on all five pages, which will help you bring up to date your site much easier than if you had to update an element of all five web pages. Server Side Includes is sometimes utilized to incorporate the output of basic commands, scripts or functions as well - a hit counter that is shown on the site, the present time and date or the visitor's IP address. Every web page that makes use of SSI must have a particular extension - .shtml.
Server Side Includes in Web Hosting
You will be able to use Server Side Includes with all of the web hosting plans we provide and activate it individually for each domain or subdomain in your own hosting account. You can do this when using .htaccess file, which needs to be placed in the folder where you wish to use SSI and you have to enter a few lines of code in that file. You can get the code in our Knowledgebase section, so you can just copy and paste it, as you do not need any coding skills to take advantage of all of the capabilities that our services incorporate. In case you have by now built your website and you wish to employ Server Side Includes afterwards, you need to make sure 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
It will be easy to enable and employ Server Side Includes with a few clicks with any of our semi-dedicated server offers because the option is supported within the cloud platform where your new account will be configured. All you have to do will be to create an empty file named .htaccess through your Hepsia Hosting Control Panel and then include a couple of lines of code inside. You can find the latter in one of the Help articles that are offered in your account, and that means you have no need for any programming capabilities - it is possible to just copy the code in question. All webpages that will use Server Side Includes should have a .shtml extension, so in case you add this feature to an existing website, you have to make sure that you bring up to date all the links in there.