Opened 3 years ago

Closed 3 years ago

#12508 closed defect (bug) (fixed)

Custom taxonomy permalinks broken

Reported by: scribu Owned by: ryan
Priority: normal Milestone: 3.0
Component: Rewrite Rules Version: 3.0
Severity: normal Keywords: has-patch commit
Cc:

Description

Using this permalink structure: /index.php/%year%/%monthnum%/%postname%/

/index.php/tax/slug (404)

/index.php?tax=slug (works)

get_term_link() returns /index.phptax/slug (also 404)

Previous work: #11061

Attachments (2)

12508.diff (1.1 KB) - added by scribu 3 years ago.
fix double slashing
12508.2.diff (1.2 KB) - added by scribu 3 years ago.
also fix #10445

Download all attachments as: .zip

Change History (8)

Sort of related: #10786

  • Component changed from General to Rewrite Rules
  • Keywords has-patch added
  • Owner set to ryan

Another bug in that same block of code: #10445.

scribu3 years ago

fix double slashing

  • Keywords commit added

It seems fixing the double slashing also fixes the rewrite rules.

scribu3 years ago

also fix #10445

12508.2.diff includes the patch from #10445

comment:6   dd323 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [13597]) Fix double slashing on /index.phptaxonomy/term/ links. Props Scribu. Fixes #12508. Also Fixes #10445

Note: See TracTickets for help on using tickets.