Ticket #3214 (closed defect (bug): fixed)

Opened 5 years ago

Last modified 2 years ago

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

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

Change History

westi5 years ago

Fix wp-rewrite to handle these feeds correctly

  • Status changed from new to assigned

Patch up

comment:2   ryan5 years ago

Looks good to me.

comment:3   ryan5 years ago

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

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

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

westi5 years ago

Backport of patch to 208

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

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

Note: See TracTickets for help on using tickets.