In my application I have users who can post offers. An offer belongs to a category and a subcategory. The title of the offer can be long (~80 characters)

My options to have url's uniqueness, are:

i) /users/:id/offer/:title

ii) /category/:name/offer/:title-:number

iii) /category/:name/subcategory/:name/offer/:title-:number

where, :number is a different identifier if there are 2 offers with the same title

1) Which of the 3 is the best in terms of SEO (or there is another combination that is better than the 3 options)?

2) Is there any difference on the order of the words? For example, is there any difference if I choose /users/:id/offer/:title instead of /offer/:title-:number


2 Answers 2


Category 3 seems to be the best as it clearly shows the search terms and google can better relate it to search queries


Yes there is a difference. If the categories are what you are trying to rank for I would do:


Adding the person's name is the tricky part - depending on your site - it may be a good idea to have it first like:


Because it creates a "hackable" URL your end users could use to identify other deals the provider has.

I'm not really sure what the difference is in title and offer, but I'd merge the two if possible.

  • ty for the answer. Users deals will be public anyway, so it is not really a "hackable url". Title is the title of the offer, it is like that just to be clear
    – Diego Dias
    Commented Aug 15, 2011 at 14:40
  • Hackable in this case would be good. It means they can find other stuff by changing the url. Commented Aug 15, 2011 at 15:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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