Welcome to WebmasterWorld Guest from

Message Too Old, No Replies

Simple URL Length Question

Does it help to reduce directory names



7:20 pm on Oct 21, 2007 (gmt 0)

5+ Year Member

I am in the process of re-designing a site, so I have an opportunity to construct URL's to be as SEO-friendly as possible.

Right now I have URL's which will contain a directory name and a product or category name:

for category pages:

for products:

With some programming wizardry, I could possibly reduce the URL's to contain only the key and not the directory, so the above URL's would become:

for category pages:

for products:

This would make the code of the site a little less manageable, so I do not want to do this unless it will be a substantial benefit to the client. What is the general consensus of URL's such as these?

[edited by: Robert_Charlton at 7:39 pm (utc) on Oct. 21, 2007]
[edit reason] examplified further [/edit]


7:48 pm on Oct 21, 2007 (gmt 0)

WebmasterWorld Administrator buckworks is a WebmasterWorld Top Contributor of All Time 10+ Year Member

URLs in the form


would make good sense for users as they are and they'd also be short enough not to break in emails. I don't see much advantage to trying to shorten them more that, especially if the programming to achieve that would introduce more complexity at your end. Leave well enough alone.

With SEO in mind, choose directory and file names that will be short but meaningful ... "products" rather than something like "proddescr", for example.


Featured Threads

Hot Threads This Week

Hot Threads This Month