WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 6 years ago

Last modified 4 years ago

#3214 closed defect (bug) (fixed)

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

Reported by: westi Owned by: westi
Priority: normal Milestone: 2.0.8
Component: Administration Version: 2.1
Severity: normal Keywords: rewrite has-patch commit
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 7 years ago.
Fix wp-rewrite to handle these feeds correctly
3214-208.diff (1.5 KB) - added by westi 6 years ago.
Backport of patch to 208

Download all attachments as: .zip

Change History (8)

westi7 years ago

Fix wp-rewrite to handle these feeds correctly

comment:1 westi7 years ago

  • Status changed from new to assigned

Patch up

comment:2 ryan7 years ago

Looks good to me.

comment:3 ryan7 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

comment:4 foolswisdom6 years ago

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

comment:5 westi6 years ago

  • Keywords commit added

westi6 years ago

Backport of patch to 208

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