Make WordPress Core

Opened 15 years ago

Closed 14 years ago

#2484 closed defect (bug) (worksforme)

Redirecting to RSS feeds in 2.0.1 does not work

Reported by: nehrlich Owned by:
Milestone: Priority: low
Severity: minor Version: 2.0.1
Component: Administration Keywords:
Focuses: Cc:


I upgraded to WP2.0.1 recently and now I can't get my old feed redirections to work.

I copied the RewriteRule (RewriteRule index.xml(.*)? /blog/?feed=rss2 [QSA]) from the Codex (http://codex.wordpress.org/WordPress_Feeds) into my .htaccess file and that doesn't work - it sends me to the normal blog home page (index.php) instead.

I tried using the suggested Feed Director plugin (http://boren.nu/archives/2005/03/29/feed-director-plugin/) and that doesn't work - same issue.

I started messing around with the rewrite rules, and interestingly, they do seem to work when it's a non-feed file. e.g. I put this rule into my .htaccess file

RewriteRule gibberish$ /blog/index.php?category_name=management [L]

and when I go to http://www.nehrlich.com/blog/gibberish, it sends me to the management category.

I can go to the feed page directly - http://www.nehrlich.com/blog/index.php?feed=rss2 works fine - but redirecting to it appears to fail (I left the first RewriteRule in my .htaccess file, but http://www.nehrlich.com/blog/index.xml gets sent to the regular home page).

I'm stumped - any ideas? (submitted this first on the forums, but they pointed me to the Feed Director plugin, and that didn't work, so I'm trying a bug ticket)

Change History (2)

#1 @nehrlich
15 years ago

Addendum - the RewriteRules I reference above are no longer active on my webpage because I found out that I had to re-add the wild-card RewriteRule
RewriteRule . /blog/index.php [L]
to make permalinks work - I had pulled it out to experiment with the other RewriteRules, and hadn't realized I'd broken all of my permalinks.

#2 @mdawaffe
14 years ago

  • Resolution set to worksforme
  • Status changed from new to closed

The way WP handles rewrites has changed a lot.

Marking as worksforme in 2.0.4.

Note: See TracTickets for help on using tickets.