Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.
  1. When I view a static page its url is like: http://example.com/mybooks/
  2. When I view a category page its url is like: http://example.com/category/books-ebooks/

For SEO, I want some modification so that I do not have to use the word category to view category pages. e.g. it should be http://example.com/books-ebooks/ instead of http://example.com/category/books-ebooks/

  • How can this be done?
  • I see a potential problem that WordPress engine may not be able to differentiate between pages and categories. Is it so?
  • What are other pros and cons?
share|improve this question

2 Answers 2

up vote 1 down vote accepted

Basically a duplicate of this question. It comes up a lot, and the remove category base functionality probably should be an option in WordPress to be honest.

Here was my answer from there:

No Category Base plugin to remove the /category/ bit from the URL.

:)


If you have a page with the same name as a category, the page will be shown instead the category archive, but the URLs of posts won't be affected. At least, that used to be the case. I think I heard news of a recent change in the way WP calculates permalinks (for the better).

share|improve this answer

I'm using the "Worpdress SEO" plugin by Yoast. The plugin has an option that is able to fix the problem. I'm not sure if this is required, but I entered also a "." (dot) into the category field from the perma links section.

share|improve this answer

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.