Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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

share|improve this question
    
See also the answers to this question, particularly for your first question webmasters.stackexchange.com/questions/17364/… –  Feral Oink Sep 23 '11 at 9:33
add comment

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

share|improve this answer
add comment

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

/category/sub-category/offer-number

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

/name/category/sub-category/offer-number

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.

share|improve this answer
    
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 Aug 15 '11 at 14:40
    
Hackable in this case would be good. It means they can find other stuff by changing the url. –  Chris Kluis Aug 15 '11 at 15:29
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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