Redirecting bad links to the correct links via htacess or 301 redirect plugin for WordPress

Posted by janoulle on Pro Webmasters See other posts from Pro Webmasters or by janoulle
Published on 2011-06-07T15:51:11Z Indexed on 2011/06/24 0:32 UTC
Read the original article Hit count: 452

Filed under:
|
|

I'm getting a lot of 404 errors b/c I recently switched content management systems (Habari to WordPress). I would like to use the 301 redirect plugin for WordPress to capture and helpfully redirect the offending links to the correct urls. Here's an example of the type of errors I'm seeing and what they should be redirected to:

http://janetalkstech.com/admin/publish?id=146 

should redirect to http://janetalkstech.com/?p=146

http://janetalkstech.com/admin/publish?slug=post-title

should redirect to http://janetalkstech.com/post-title

I would greatly appreciate any specific pointers on how to perform the redirects with either the 301 redirect plugin for WordPress or via .htaccess file

Edit: Redirection plugin being used is the one by Urban Giraffe: http://urbangiraffe.com/plugins/redirection/

© Pro Webmasters or respective owner

Related posts about Wordpress

Related posts about htaccess