Search
Recommended Sites
Related Links






Valid XHTML 1.0 Transitional

Valid CSS!
   

Informative Articles

Congratulations! You've Gotten the Visitors to your Site - Now, can they find what they're looking for?
As search engine marketers, we spend an enormous amount of time trying to get targeted traffic to our site. But, once those visitors get to our site, can they find what they're looking for? If not, guess what? We've lost a customer. Think about it...

How to Exchange Links With Other Sites
As a result of search engine changes, linking with other sites is becoming an increasingly iportant way to generate traffic to your website. Links done properly will repay the effort and not be subject to the whims of the search engines. No more...

http://www.goarticles.com/ulogin.html
Glow sticks have been around for over 25 years, but their popularity continues to grow. The light-emitting sticks come in many sizes and colors, and have been used for a variety of activities. They are best sellers during Halloween, serving as both...

Remember this when building a new site - Beginners Guide
I recently helped my mom to launch a website (http://www.mom2me.com) to publish some of her recipes and it was probably the best wake up call I have had this year. It dawned on me that I actually do not know nearly as much as I thought I did. In...

Web Site Design By Using A Template
If you are like may others on the internet, then you would like to have a web site of your own. The problem is, you don't know how to design a web site, and you can't afford to pay a web site designer to design a new site for you. So how do you...

 
Designing your website with change in mind.

We all know that our websites seem to take of live of their own. As your site grows updating pages becomes more and more of a task. This is where server side includes (SSI) can make your site updates a lot easier and requires a lot less effort.

Visualize your page layout in sections. Most pages Usually contain a top (header) section, a navigation system, content, and then a footer (containing copyright info and date). Using server side includes you can maintain each section in a separate file making updating each section much easier. Instead of the old method of updating each page of your site individually, you can now update one file that will make the change for you on every page that the include was on.

Most hosting companies support server side includes. You will want to check with you host to make sure. Most Apache web-server ate typically configured to parse files ending in .shtml. An Apache server can be instructed to parse files with other extensions by using an .htaccess file. You can update your .htaccess file to parse .htm and .html file by adding in these two commands.



AddType text/x-server-parsed-html .html



AddType text/x-server-parsed-html .htm



If you do not have an .htaccess file you can simply create a file in your root directory named .htaccess and add the two commands above and save the file.

Create each section of your page you wish to be used as an include and save each section in a separate file and upload to your server. These files can contain any regular html that you wish to use. You can name these files with .txt extensions.

Now when creating a new content page you will want to use the include command to include the separate parts of your page.

For example: You are creating a page named your_content.htm. You would start off with the normal html:





your_content



/* To include the top part of your page. */

/* To include your navigation. */

Content

/* To include bottom of page. */





The best part of using server side includes is when you need to make a change to any part of your page. You only have to make the change in one file and it will be automatically changed on every page that the include command was executed.

About the author:

J. Miller is the owner of Host298.com, offering affordable, reliable webhosting. You can give us a try before you buy with our 30 day FR>EE trial.

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