What does this plugin do?
Safe Redirect Manager is an HTTP redirect manager for WordPress. An easy-to-use UI allows you to redirect locations to new URLs with the HTTP status codes of your choosing. The plugin uses the wp_safe_redirect
function, which only allows redirects to allowed hosts, for security purposes. The plugin automatically handles the creation of allowed hosts for you.
(Note that this plugin will not allow you to redirect visits to your site’s home/front page. To achieve this, you’ll need to modify your theme code to hook into an early action and with a conditional is_front_page()
, call wp_safe_redirect()
.)
How do I set it up?
Once you’ve activated the plugin, you’ll see a new option, Tools→Safe Redirect Manager in the sidebar menu of your Dashboard. Click the “Create Redirect Rule” button at the top:
There, you’ll see a form to add and publish the redirect.
After publishing, there may be a delay of several minutes before the changes take effect. If a redirect isn’t working as expected after 10 minutes, just let us know.
For more information, please see the full plugin documentation here.