Forums

[resolved] wp-rss2 not working. Fix with htaccess? (3 posts)

  1. nlaspf
    Member
    Posted 2 years ago #

    I recently upgraded a client's site to 2.8.4. His feed was set to /wp-rss2.php, and that stopped working. It gets redirected to wp-rss2.php/feed/. Oddly enough, /wp-rss2.php?cat=1 gets redirected correctly, even though it's deprecated according to the codex.

    Is there any way I can get /wp-rss2.php redirected correctly? Even if it is manually via htaccess. I know that the correct thing to do is use the proper feed, but it would be a big headache at this point.

  2. nlaspf
    Member
    Posted 2 years ago #

    Well, I ended up using this 301 redirect, which seems to work:

    redirect 301 /wp-rss2.php/feed/ http://www.website.com/feed/

    I don't have much experience with htaccess though, so if someone believes it's the wrong approach or there's a better way, please leave a note! At least for anyone seeing this thread in the future :)

  3. kmessinger
    Member
    Posted 2 years ago #

    /wp-rss2.php is not a proper feed address, it should not end in a file name.

    What is the url?

Topic Closed

This topic has been closed to new replies.

About this Topic