This is probably the most common approach employed by dynamic web sites at present, because you
frequently meet URLs such as the following:
This approach is certainly the easiest and most straightforward when developing a dynamic site. However,
it is frequently sub-optimal from a search engine spider ’s point of view. It also doesn’t provide relevant
keywords or a call to action to a human viewing the URL.
Some programmers also tend to use extra parameters freely — as shown in the second URL example. For
example, if the parameter
is used for some sort of tracking mechanism, and search engine friend-
liness is a priority, it should be removed. Lastly, any necessary duplicate content should be excluded from
search engines’ view using a
file or a
meta tag. This topic is discussed in Chapter 5.
Example #2: Numeric Rewritten URLs
An improved version of the previous example is a modified URL that removes the dynamic parameters
and hides them in a static URL. This static URL is then mapped to a dynamic URL using an Apache
module called mod_rewrite. The
parameter previously alluded to is also not present, because
those types of tracking parameters usually can and should be avoided:
The impact of numeric URL rewriting will likely be negligible on a page with one parameter, but on
pages with two parameters or more, URL-rewriting is desirable.
This form of URL is particularly well-suited to the adaptation of existing software. Retrofitting an
application for keyword-rich URLs, as discussed in the next section, may present additional difficulty
It is important to realize that rewriting a dynamic URL only
the parameters. It prevents a search
engine from perceiving that a URL structure is problematic as a result of having many parameters. If
underlying problems still exist on a web site — usually in the form of duplicate content — a search engine
still may still have difficulty indexing it effectively.
If URLs on your site are for the most part indexed properly, it may not be wise to
restructure URLs. However, if you decide that you must, please also read Chapter 4,
which teaches you how to make the transition smoother. Chapter 4 shows how to
preserve link equity by properly redirecting old URLs to new URLs. Also, not all
solutions to URL-based problems require restructuring URLs; as mentioned earlier,
duplicate content can be excluded using the
file or the
which are discussed in Chapter 5.
Chapter 3: Provocative SE-Friendly URLs
c03.qxd:c03 10:39 43