Search
Recommended Sites
Related Links






   

Informative Articles

Are web graphics stealing your money?
They might not be wearing a mask and carrying a gun, but if you've got images on your web pages then they could be costing you a lot more money than you think every time a visitor looks at one. That's because image files are typically the biggest...

Common Advertising MISTAKES
One of the mistakes most often made, is not looking at your product or service announcement from the point of view of your customer. Stand back and look at what you are offering, how can you present that service or product in such a way that it...

Creating Your Own Website For Free
The Internet gives us a two-way portal to the world. Unfortunately, most of us only use the Internet in one direction (i.e. receiving information). Many people never take advantage of the full potential the Internet gives - some don't even know what...

How To Choose A Website Designer
Now that you have decided that it is time to create a website for your business there are many questions you must answer. One of the most important questions is "Who should create my website?" I like to use the analogy of playing music; in as...

Meta Tags
In order for the search engines, to rate your site, you have to have some special lines added into your html document. These lines tell the search engines, what your site is about, and what keywords you feel are related to your site. A common...

 
Planning For Growth With SSI

Planning For Growth With SSI

What is SSI? SSI is an acronym for server side includes and what it does is allow you to make a change across hundreds or thousands of pages by editing only one file.

What is it useful for? SSI is useful for managing your navigation, header and footer files although there are many other uses which I will touch base on later. By using ssi, you can modify your navigation menu, header or footer and the changes will be instant across every page on your side utilizing the ssi by calling it via a tag in your page.

How do I do it? Ok, let's take a look at this page http://www.business-opportunities-internetonline.com/resources/ed ucational.shtml It looks like a complete web page but actually it uses several ssi calls to include html from other pages.

The header is called from here http://www.business-opportunities-internetonline.com/resources/he ader.html

The footer is called from here http://www.business-opportunities-internetonline.com/resources/fo oter.html

The navigation menu is called from here http://www.business-opportunities-internetonline.com/resources/na vigation.html

You can view the source on each of those pages to see that is just basic html with no head or body tags, you don't need those as they will be on the main page that is calling these, you don't need them more than once.

Placing the following tags on any page exactly where you want that page to appear on your new page



The path in the tags above assumes that the header.html, navigation.html and footer.html are in the same folder. If your header, navigation and footer files were at the root of your domain and you were designing a page one level down you would use the tag

For this to work there are a couple of things that must happen. First your server must support ssi, most decent hosting companies do. Secondly, your pages should end with .shtml instead of .html, the server is configured to parse files ending with that extension for ssi code.

If you have existing pages you would like to add the ssi into but don't want to change the extension from .html to .shtml, you can still use it by editing your .htaccess file. If you are unsure what this file is, I would suggest not messing with it. But for those that are comfortable doing so, you can add the following to your .htaccess file

AddType application/x-httpd-php .php .html .shtml AddType text/html .shtml AddHandler server-parsed .shtml

This will tell the server to treat .html extensions as .shtml and the pages will be parsed for your tags. The reason it's not configured to do this automatically is because it does cause a little more work for the server but unless you are receiving massive traffic (thousands of visitors a day), you will not notice.



About the author:

About the author.. Tom Moore(BricktownTom)is not a real author but is a real person so please bear with me as I try my best to share the information that is inside my head and convey that to the written word!

http://www.business-opportunities-internetonline.com/

If you've found this information helpful, you are free to republish as long as the "about the author" box remains intact and the link active.

Sign up for PayPal and start accepting credit card payments instantly.