Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#12508 closed defect (bug) (fixed)

Custom taxonomy permalinks broken

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


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 6 years ago.
fix double slashing
12508.2.diff (1.2 KB) - added by scribu 6 years ago.
also fix #10445

Download all attachments as: .zip

Change History (8)

#1 @scribu
6 years ago

Sort of related: #10786

#2 @scribu
6 years ago

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

#3 @nacin
6 years ago

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

6 years ago

fix double slashing

#4 @scribu
6 years ago

  • Keywords commit added

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

6 years ago

also fix #10445

#5 @scribu
6 years ago

12508.2.diff includes the patch from #10445

#6 @dd32
6 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.