View Single Post
Old 2007-03-25, 06:48 PM   #3
walrus
Oh no, I'm sweating like Roger Ebert
 
walrus's Avatar
 
Join Date: May 2005
Location: Los Angeles
Posts: 1,773
Send a message via ICQ to walrus Send a message via Yahoo to walrus
Quote:
Originally Posted by JK View Post
I've got a blog that uses wp autoblog and RSS feeds, as well as posts written by me. I want to disallow google from spidering the rss feed content, so I've changed the permalink structure from just /%postname%/ to /%category%/%postname%/, and disallowed the feed category in my robots.txt.

The problem is that now all of the old posts (1000+) will return a 404 error to Google, which is not ideal. I would like to perform a 301 redirect to the new permalink category if the wordpress class wp_query discovers a 404, but the post is actually valid.

Is there a way I can modify the class to do this? Maybe do some kind of mod_rewrite magic?
Have you checked out the Permalinks Migration Plugin
__________________
Naked Girlfriend Porn TGP
free partner account
walrus is offline   Reply With Quote