Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#12508 closed defect (bug) (fixed)

Custom taxonomy permalinks broken

Reported by: scribu's profile scribu Owned by: ryan's profile 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 15 years ago.
fix double slashing
12508.2.diff (1.2 KB) - added by scribu 15 years ago.
also fix #10445

Download all attachments as: .zip

Change History (8)

#1 @scribu
15 years ago

Sort of related: #10786

#2 @scribu
15 years ago

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

#3 @nacin
15 years ago

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

@scribu
15 years ago

fix double slashing

#4 @scribu
15 years ago

  • Keywords commit added

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

@scribu
15 years ago

also fix #10445

#5 @scribu
15 years ago

12508.2.diff includes the patch from #10445

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