Make WordPress Core

Opened 18 years ago

Closed 18 years ago

Last modified 5 years ago

#3214 closed defect (bug) (fixed)

Permalink which starts with %category% breaks access to feeds via wp-{feedname}.php files

Reported by: westi's profile westi Owned by: westi's profile westi
Milestone: 2.0.8 Priority: normal
Severity: normal Version: 2.1
Component: Administration Keywords: rewrite has-patch commit
Focuses: Cc:

Description

The feed files in the root of the wordpress install do not return the correct feeds with a permalink structure like /%category%/%year%/%postname%/ as the rewrite rules match the feed filename as a category and try and return a category archive feed for a non-existant category.

I found this while fixing #3188

Patch attached to fix this issue - including a required db dumb to ensure the rewrite rules are regenerated.

Attachments (2)

fix-feed-rewrite-rules.diff (2.1 KB) - added by westi 18 years ago.
Fix wp-rewrite to handle these feeds correctly
3214-208.diff (1.5 KB) - added by westi 18 years ago.
Backport of patch to 208

Download all attachments as: .zip

Change History (8)

@westi
18 years ago

Fix wp-rewrite to handle these feeds correctly

#1 @westi
18 years ago

  • Status changed from new to assigned

Patch up

#2 @ryan
18 years ago

Looks good to me.

#3 @ryan
18 years ago

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

(In [4551]) Fix feed links when using %category% permalink structure. Props westi. fixes #3214

#4 @foolswisdom
18 years ago

  • Milestone changed from 2.1 to 2.0.8
  • Resolution fixed deleted
  • Status changed from closed to reopened

#5 @westi
18 years ago

  • Keywords commit added

@westi
18 years ago

Backport of patch to 208

#6 @markjaquith
18 years ago

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

(In [4839]) Fix feed links when using %category% permalink structure. Props westi. fixes #3214

Note: See TracTickets for help on using tickets.