WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 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:

Description

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 nacin4 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 filosofo4 years ago

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

comment:3 nerrad4 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 filosofo4 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:5 filosofo4 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.