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

While trying to get friendly URLs in WordPress, I discovered this WordPress forums post, which states:

WordPress has a monumental issue forbidding you to use the same category slug more than once. It disallows you from having a category tree like this:

Cars:
- Honda (mysite.com/cars/honda)
- Toyota (mysite.com/cars/toyota)

Trucks:
- Honda (mysite.com/trucks/honda)
- Toyota (mysite.com/trucks/toyota)

So the question is, how bad is this from an SEO point-of-view to use something like:

mysite.com/cars/1-honda/4-red    
mysite.com/trucks/2-honda/5-red    
mysite.com/motors/3-honda/6-red

where 1,2,3,4,5,6 are the category ID's.

Would you recommend using this instead:

mysite.com/cars/1-honda/1-red

or this:

mysite.com/cars/car-honda/color-red
share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

Dashes are considered separators just like slashes are so this will be fine from an SEO point of view. An alternative would be just to use slashes for consistency in your URLs:

mysite.com/cars/1/honda/4/red
mysite.com/trucks/2/honda/5/red
mysite.com/motors/3/honda/6/red
share|improve this answer
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.