Best plugin for URL redirects in WordPress?

I’d like to redirect urls in a WordPress site and I could use recommendations for good plugins or methods of doing this effectively and cleanly. What I’d like to do is redirect something like:

http://acmesite.com/pathA/page.html

to:

http://acmesite.com/pathB/page.html

What I want to do is change a top level menu item on the site without breaking all the links to the underlying pages. I can change the links I am aware of but I’d like to ensure that legacy links still resolve to the correct page on the new URL path.

Any suggestions how best to do this?

Author: Paul

Enthusiast, writer, Happiness Engineer at Automattic. I take photos too. Passionate about my wife, Gina and #proudDad.

0 thoughts on “Best plugin for URL redirects in WordPress?”

    1. I knew about the Redirection one. It looked a bit neglected. The other one looks interesting, if anything because its a Yoast plugin.

  1. Try this:

    RedirectMatch 301 /pathA(.*) /pathB/$1

    Or

    RewriteRule ^pathA/(.*)$ /pathB/$1 [R=301,NC,L]

    If you’re using Worrpress the .htaccess file should already exist.

What do you think?