WordPress.org

Make WordPress Core

Opened 5 years ago

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

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

Download all attachments as: .zip

Change History (8)

comment:1 @scribu5 years ago

Sort of related: #10786

comment:2 @scribu5 years ago

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

comment:3 @nacin5 years ago

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

@scribu5 years ago

fix double slashing

comment:4 @scribu5 years ago

  • Keywords commit added

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

@scribu5 years ago

also fix #10445

comment:5 @scribu5 years ago

12508.2.diff includes the patch from #10445

comment:6 @dd325 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.