Server Side Includes (SSI) is a basic server-side language, which lets you include text from a given source in a web page. In the most widespread case, the text from one file is included in another, providing a site the feeling that it is dynamic. For example, if your website has ten web pages, 5 of them can include the content of any kind of file, for example horoscope.txt. Any time you modify this text file, the updated content will come up on all five pages, which shall permit you to revise your website faster and easier than if you had to update an element of all 5 pages. Server Side Includes is at times employed to contain the output of simple commands, scripts or functions as well - a hit counter that's displayed on the site, the present time and date or the visitor's IP address. Any web page that employs SSI should have a special extension - .shtml.
Server Side Includes in Hosting
You'll be able to use Server Side Includes with all hosting
packages we provide and activate it separately for each and every domain name or subdomain inside your hosting account. This can be accomplished with an .htaccess file, which needs to be positiioned in the folder where you want to use SSI and you need to type in a couple of lines of code in that file. You can get the code inside our Knowledgebase area, so you're able to simply just copy and paste it, since you don't need any coding expertise to take advantage of all capabilities that our solutions feature. In case you have by now built your website and you want to use Server Side Includes later on, you have to make sure that you rename the files from .html to .shtml and fix the links on the site, or else SSI will not work.
Server Side Includes in Semi-dedicated Servers
Server Side Includes can be activated with no trouble with each semi-dedicated server
package that we offer and the whole process will take you only a minute and simply a number of mouse clicks. You can enable SSI by setting up an empty .htaccess file in a domain or subdomain root folder with the File Manager tool in the Hosting Control Panel or perhaps an FTP app of your choice, then adding a couple of lines of code, which you will be capable to copy out of the SSI article in our in depth Knowledgebase. The only thing left following that will be to double-check if all of the pages that will make use of Server Side Includes are updated from .html to .shtml and also to change the links to different pages on your website, to reflect the modifications in the file extensions.