Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#14404 closed defect (bug) (invalid)

With Permalinks on custom taxonomy permalinks do not work [flat custom taxonomies]

Reported by: nerrad Owned by:
Milestone: Priority: normal
Severity: trivial Version:
Component: Taxonomy Keywords:
Focuses: Cc:


To replicate:

  • Register a new taxonomy using register_taxonomy()
  • If permalinks are not enabled the url "site.com/?taxonomy=term" works.
  • If permalinks are enabled with a structure something like "/%year%/%postname%/" the url "site.com/taxonomy/term" does NOT work whereas the structure for categories and tags do.

Change History (5)

comment:1 @nacin5 years ago

Provided you have rewriting set up on your taxonomy, you also have to clear the rewrite rules. Normally that is something that would occur in the activation hook of a plugin. Or basically by visiting Settings > Permalink and clicking save.

comment:2 @filosofo5 years ago

Or just visiting Settings > permalink. No need even to click "save."

comment:3 @nerrad5 years ago

  • Resolution set to fixed
  • Severity changed from major to trivial
  • Status changed from new to closed

of course! I feel kind of dumb.

comment:4 @filosofo5 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:5 @filosofo5 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from reopened to closed
  • Version 3.0 deleted
Note: See TracTickets for help on using tickets.