rebath showers adding a floor to a bungalow 1st floor additions lakewood dove remodeling arlington heights prefab rooms to add on spring grove .. Chicago Drug testing

Using Server Side Includes to Simplify Your Web Design

An "include" file is a piece of code that can be put into a seperate file -- for example -- your navigation bar -- and then "included" in a number of other pages. This has the very useful advantage of allowing you to retain consistency over a very large number of pages, and then make changes to all of those pages by just changing the include file.

For instance, say you want each page in your site to include a short paragraph that uniquely identifies your site. I normally call this a "site-id". It would read something like this:

ForSaleTours.com - provides information and sources for virtual tours for the real estate industry. We explain different methods of combining video and audio to produce virtual representations of your home to enhance its value and to make the purchasing experience of potential buyers better than it otherwise might be.

To set this up so it appears in a host file as an "include", you normally have to do three things:

1. Make sure your server allows SSI (server side includes). If you have access to your web site control panel you should be able to figure this out. Or if not, ask your web host technical support people.

2. Create a "host" file and give it a file extension so your server recognizes it contains include files. A common extension is .shtml

3. Create your include file. It can usually have any of a number of different extensions: .html, .htm, .php, even .txt. This is the file that will be included within other files.

4. Embed the correct code within your .shtml file to point to the include file. If the include file and host file are in the same folder on the server, it will look like this:

<!--#include file="file_name.html"-->

If the include file is located in a different folder (on the same server), the code will look like this:

<!--#include virtual="folder_name/file_name.html"-->

In the above example you have to make sure the relative path to the include file is set correctly.

Now when you want to make a global change to, for instance, your "site-id", you just have to change the include file (once), and this change will be populated through all the pages that include that file.

Include files can be put to many creative uses that allow you to do things that are otherwise very impractical. And if you have a website with a large number of pages, this technique can save you a great deal of time.

For more web design and online marketing tips see the Linknet Marketing Resource Library

Rick Hendershot is a marketing consultant, writer, and internet publisher who lives in Conestogo, Ontario, Canada. He publishes several websites and blogs, including The Linknet Network of Websites. This network provides an inexpensive way to advertise your website, and get as many as 100 low cost links.

In The News:

Is a Web Site Builder Right for You?

A web site builder can be a real life saver... Read More

Handwriting Font Tips - The Personal Touch That Makes a Difference

Most websites use similar fonts and as a result have... Read More

Web Marketing: Design Mistakes That Drive Customers Away In Droves

They may look cutting edge, but if you want a... Read More

Is Your Web Site Turning Visitors Away?

One of the biggest problems with Web sites is that... Read More

Through The Looking Glass

My mother used to take me along when she visited... Read More

Website Design - Choosing Your Colors Wisely

Colors convey emotions and emotions heavily influence the decision-making process.... Read More

Creating a Basic Web Design Template

A "template" is simply a design format which you can... Read More

Web Production And Design Tips

You have identified that to have an internet prescence would... Read More

How to Use Sliced Graphics to Layout Your Web Site

The problem with designing your site as a graphic, is... Read More

How to Create an Enjoyable Web Page Design

Novice and professional designers alike ? you may probably be... Read More

Make Artistic Graphic Designs

Are you a student of graphic design? If you have... Read More

Questions to Ask When Designing a Website for Clients

Questions to ask when designing a Web Site for your... Read More

Branding Web Strategy Mistakes - Brand Identity Guru

1. Lack of overall strategy and clear definition of success:Most... Read More

The Contrast And Similarities Between A Web Designer And Web Programmer

The concept of web designing based on the nature and... Read More

Your Website Hurts My Eyes: 7 Reasons to Tone Down Your Advertising

So you're on the computer, as usual. Your eyes are... Read More

10 Tips for Killer Website Design

Does website design make a difference in how long people... Read More

How To Create A Professional Website In Less Than A Week

Here's a really simple way... any novice can create a... Read More

Are You Driving Away Potential Customers?

When a prospect lands on your website will he or... Read More

Teach Yourself CSS The Easy Way

I taught myself HTML back in the mid-nineties and was... Read More

Attention Grabbing Web Design Will Kill Your Sale!

In the of-line marketing world it is all about trying... Read More

Website Checklist

10 Basic Things Your Website Should Have ...__ all short... Read More

The Proper Way to Use Images

Most people will agree there is nothing more annoying than... Read More

How To Boost Your Chances at Having a Successful Web Site

New Web sites are springing up online by the millions.... Read More

Stop Sabotaging Your Sales

Do your web pages, sales letters or personal presentations include... Read More

Why Choose A Professional Web Designer?

It seems that almost every Tom Dick and Harry do... Read More

street light instrumental led street light specifications Pete's produce ..
street light instrumental led street light specifications Pete's produce ..