WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#10537 closed feature request (wontfix)

Top Level Categories

Reported by: php4ever Owned by: ryan
Milestone: Priority: normal
Severity: normal Version: 2.9
Component: Permalinks Keywords:
Focuses: Cc:

Description

Its been asked for in many places, maybe in 2.9 the /category/ in the url could have a feature like /%categoryname%/ as a setting. so it would show the actual category name instead of just /category/

Change History (2)

comment:1 dd325 years ago

  • Keywords 2nd-opinion added; Category Slug removed
  • Milestone changed from 2.9 to Future Release

You can change the /category/ prefix to something else on the Permalinks page, However you cannot remove it entrely.

One of the major reasons (ok, the only reason) is the complexity of which that using %category% without a prefix causes in permalinks, WordPress has to list every single category in its rewrite rules, which on some blogs, can end up with thousands of rules..

If someone wishes to use it like you're asking for, I personally believe it should be handled by a plugin, and not by core, as its not really a very efficient way of handling requests.

comment:2 scribu5 years ago

  • Keywords 2nd-opinion removed
  • Milestone Future Release deleted
  • Resolution set to wontfix
  • Status changed from new to closed
  • Summary changed from CATEGORY SLUG to Top Level Categories

The Top Level Categories plugin handles this nicely.

Note: See TracTickets for help on using tickets.