Category Base

Category and tag archive pages contain a permalink "base," which by default will be "category" for categories and "tag" for tags (http://example.com/tag/humor/). It's possible to remove the category base—for search engine optimization purposes, to keep your URLs short, or just because you don't like the way it looks—using a plugin such as No Category Base. However, be aware of the following drawbacks to this approach:

1. Conflicts with page names. You'll need to be careful to avoid using identical names for categories and pages. Without a category base, categories and pages with the same titles will have identical URLs. Visitors trying to reach your category archive will end up on the page instead.

2. Slower performance. Because WordPress will have to compare the requested category URL to all of the page URLs stored in the database, removing the category base can result in significantly slower response times for your visitors.See Chapter 11 for more information.

Was this article helpful?

0 0

Post a comment