Forum Moderators: phranque
I recently replaced the blog on a site with a Wordpress 2.5 installation. Anyways, I am getting lots of 404 errors from RSS feed fetchers trying to find the old RSS feeds - rather than let the 404s continue then I thought it would be handy to redirect the requests to the new wordpress feed - so I have many old RSS feed requests that I simply want to 301 redirect to the new base feed.
Before request location examples :
/rss.php?news=10&links=10
/rss.php?news=10&links=20
etc
New request location:
/feed/
- the /feed/ is of course then rewritten by Wordpress.
I can rewrite BUT the '?news=10&links=20' gets carried over to give me :
/feed/?news=10&links=20
so how do I lose the query string?
Thanks in advance.
Paul