Support
Why and How to Use SSI
If you are a webmaster or a website owner and have not yet used Server Side Includes (SSI), I am about to make your life soooo much easier. SSI can save you a lot of time updating your site. Set them up right at the beginning and you will be forever grateful that somebody thought up SSI.
What is SSI?
SSI actually covers a number of features to improve your website. I am going to speak here of just one critical improvement, referred to as an "include" file. Essentially, an "include" file is a separate file that your web page can include as if it was part of the page file.
SSI actually covers a number of features to improve your website. I am going to speak here of just one critical improvement, referred to as an "include" file. Essentially, an "include" file is a separate file that your web page can include as if it was part of the page file.
Why use SSI?
SSI makes it easy to bring changes to your website. There are some changes you will need to make to every page or to every page in a specific section. Your website might start out with just 10 pages, and you might figure that it is no big deal to cut-and-paste a change to the navigation menu 10 times. But each time you add a page, you have to update that menu. And with each new page added, you have to paste one more time. When you reach 50 pages (Never thought your website would grow that big? You're not alone.) it becomes very tedious to update.
SSI makes it easy to bring changes to your website. There are some changes you will need to make to every page or to every page in a specific section. Your website might start out with just 10 pages, and you might figure that it is no big deal to cut-and-paste a change to the navigation menu 10 times. But each time you add a page, you have to update that menu. And with each new page added, you have to paste one more time. When you reach 50 pages (Never thought your website would grow that big? You're not alone.) it becomes very tedious to update.
There are two other benefits to SSI "include" files. Because a single line of code replaces what might have been several dozen in each HTML file, your files are much smaller, taking less space on your server. And, because the "include" file has already been loaded with the first page a visitor sees, the next page is much quicker for visitors to load.
How to set up SSI?
Change your html file to .shtml then place
This assumes that nav1.html is the name of the "include" file and that it is in the same directory as the page it is being inserted into. If you place the file into a directory called "nav", you would have to include code like this in your web page file.
Change your html file to .shtml then place
This assumes that nav1.html is the name of the "include" file and that it is in the same directory as the page it is being inserted into. If you place the file into a directory called "nav", you would have to include code like this in your web page file.
Created on 2007.08.16













