Server Side Includes
Discover what exactly Server Side Includes is and also how it can be used to further improve your websites.
Server Side Includes (SSI) is a simple server-side language, which lets you incorporate text from a given source in a web page. In the most typical case, the text from a single file is incorporated in another, giving a site the sense it is dynamic. For instance, if your site is made of ten pages, five of them can contain the content of any kind of file, for example horoscope.txt. In case you change this text file, the modified content is going to appear on all five webpages, which will enable you to bring up to date your site faster and easier than if you had to modify a part of all five web pages. Server Side Includes is occasionally used to include the output of simple commands, scripts or functions as well - a hit counter that is shown on the website, the present date and time or the visitor's IP address. Any web page that works by using SSI must have a unique extension - .shtml.
Server Side Includes in Shared Hosting
It will be possible to use Server Side Includes with all of the shared hosting
packages we provide and enable it individually for each domain or subdomain in your own hosting account. This can be achieved when using .htaccess file, which should be positiioned in the folder in which you wish to use SSI and you need to type in a couple of lines of code in that file. You will find the code in our Knowledgebase area, so you can simply copy and paste it, since you do not need any programming knowledge to benefit from all of the features that our solutions feature. In case you have currently built your website and you wish to use Server Side Includes afterwards, you will need to 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
You'll be able to enable and use Server Side Includes with simply a handful of mouse clicks with any one of the semi-dedicated server
packages because the feature is available within the cloud platform where your account shall be configured. All you need to do is to make an empty file named .htaccess from your Hepsia Hosting Control Panel and then add a handful of lines of code in it. You'll find the latter inside the Help articles available as part of your account, so you do not require any programming knowledge - you are able to simply copy and paste the code in question. All webpages that will utilize Server Side Includes should have a .shtml extension, so if you incorporate this option to an existing site, you need to make sure that you update all the links in there.