Ticket #3214 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

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

Reported by: westi Assigned to: 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 (2.1 kB) - added by westi on 10/06/06 18:34:32.
Fix wp-rewrite to handle these feeds correctly
3214-208.diff (1.5 kB) - added by westi on 01/11/07 21:51:11.
Backport of patch to 208

Change History

10/06/06 18:34:32 changed by westi

  • attachment fix-feed-rewrite-rules.diff added.

Fix wp-rewrite to handle these feeds correctly

10/06/06 18:35:05 changed by westi

  • status changed from new to assigned.

Patch up

10/06/06 22:40:15 changed by ryan

Looks good to me.

11/30/06 01:54:06 changed by ryan

  • status changed from assigned to closed.
  • resolution set to fixed.

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

01/11/07 20:58:31 changed by foolswisdom

  • status changed from closed to reopened.
  • resolution deleted.
  • milestone changed from 2.1 to 2.0.8.

01/11/07 21:49:40 changed by westi

  • keywords changed from rewrite has-patch to rewrite has-patch commit.

01/11/07 21:51:11 changed by westi

  • attachment 3214-208.diff added.

Backport of patch to 208

01/30/07 18:20:02 changed by markjaquith

  • status changed from reopened to closed.
  • resolution set to fixed.

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