Best way to structure URLs for SEO?


I am creating a service that help users connect with local vendors in a certain niche.

Each vendor currently has a URL in the form:<id>/<vendor-name-slug>

For example: It was suggested to me that it would be better to structure the URLs in this form:<vendor-name-slug>/<geographic-location>/<id>

For example, The argument being that a likely Google search would be "the widget store nyc", and the restructured URL would more closely match the search term. Also dropping the "vendor" part of the URL to make it shorter - although for this I would argue it would also give Google the information that the link is about a vendor.

Is there anything to this, or is it merely nitpicking (i.e. bikeshed problem)?

(By the way I'm new to this site but I love the content and community and hope to be able to contribute at some point.)

Google SEO

asked May 15 '10 at 04:32
158 points
Top digital marketing agency for SEO, content marketing, and PR: Demand Roll

2 Answers


You will have to look at your inbound traffic from search engines. Do your end users often include location in their searches, or not? If yes, then having the location as part of the URL will help.

Depending on your web framework, it might be best to have the most significant information at the root of the URL structure, i.e.<id>/<geographic-location>/<vendor-name-slug>/

Remember to be consistent with uppercase / lowercase letters in the URLs, and trailing slash or not.
answered May 15 '10 at 04:52
Jesper Mortensen
15,292 points


Since the geographic location is key, put it in the url and toss the vendor name. I'd place the id number either at the beginning or the end, with rules in place to re-direct to something else if the url gets garbled.

What I do for a lot of wordpress sites is this:<post number>/<title of page>/

So it comes out something like this:

So if the actual page title gets garbled, cut off, or changes, the post number (42) makes sure the right post gets seen. This has prevented a lot of 404 errors for me.
answered May 16 '10 at 15:23
127 points

Your Answer

  • Bold
  • Italic
  • • Bullets
  • 1. Numbers
  • Quote
Not the answer you're looking for? Ask your own question or browse other questions in these topics:

Google SEO