23

I want to know, is there a huge difference in terms of SEO between these URLs:

example.com/ontario/toronto/listings

or

example.com/listings.php?p=ontario&c=toronto

Will one URL rank higher than the other? Is there a huge difference here?

migrated from stackoverflow.com Jun 15 '11 at 18:43

This question came from our site for professional and enthusiast programmers.

17

Search engines can read query strings just fine so both are acceptable to use.

The first example you use does offer more benefits for SEO since it clearly creates a hierarchy with broader categories to the left and more specific categories to the right. It's also good for usability since it is easier for humans to read and remember.

But overall this won't have a large impact in your rankings.

  • 5
    Plus you could get what looks like duplicate content if the parameters are swapped. – DisgruntledGoat Jun 16 '11 at 9:37
  • @disgruntledGoat very good point! – John Conde Jun 16 '11 at 13:12
  • 2
    @DisgruntledGoat I don't think Google is that stupid with GET parameters. – Calmarius Dec 31 '15 at 12:45
12

@John Conde is right. The first URL has a hierarchy, which Google prefers.

Have a look at this Google Search Engine Optimization Start Guide (PDF link) Pages 8-11 specifically

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.