Safe Redirect Manager

Description

Safe Redirect Manager is a HTTP redirect manager for WordPress. An easy-to-use UI allows you to redirect locations to new URL’s with the HTTP status codes of your choosing. The plugin uses the wp_safe_redirect function which only allows redirects to whitelisted hosts for security purposes. The plugin automatically handles whitelisting hosts for you. This plugin works great with Multisite.

Fork the plugin on GitHub.

Screenshots

  • This view shows all your redirects. You can filter them by date or even search through them.
  • This is the edit redirect page. Specify a "from" path, "to" path/URL, and a status code. You can schedule redirects for later dates just like posts.

Installation

Extract the zip file and just drop the contents in the wp-content/plugins/ directory of your WordPress installation and then activate the Plugin from Plugins page.

Reviews

just works

intuitive.
used it to redirect mysite/page_1 to mysite/page_2
typed URLs, pressed “post rule” – voila!
thank you, Taylor from 10up )

I love the wild card feature

I was looking for so long towards like these features this plugin offers that even big ones doesn’t offer, I love it, especially the wild card feature, thank you Taylor so much, keep updating it with the latest versions of WordPress if there is any need to.

You are the best.

works like a charm

Tried Simple 301 Redirect – didn’t do a thing, but Safe Redirect worked withing few minutes. Just make sure you put in relative paths correctly. I hope it will continue to work.

Intermittent Too Many Redirects on Home Page

Hello. My site address is https://mimio.boxlight.com. As soon as I installed the version 1.7.8 I noticed only the home page receiving an intermittent ‘too many redirects’ error. It will last for only minutes and then right itself. This happens about 10+ times a day. I noticed a similar thing happen with the Redirection plugin, but every page produced this error and it didn’t stop until I uninistalled it (it was functioning well for several months before this).

To make sure there are no conflicts here is my htaccess.

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

Thanks!
Chris

Simple & Great

Overall it is very simple and effective if you know what you are doing. Keep up a good work and Thanks

Read all 55 reviews

Contributors & Developers

“Safe Redirect Manager” is open source software. The following people have contributed to this plugin.

Contributors

“Safe Redirect Manager” has been translated into French. Thank you to the translators for their contributions.

Translate “Safe Redirect Manager” into your language.

Interested in development?

Browse the code or subscribe to the development log by RSS.

Changelog

1.7.8 (Dec. 16, 2015)

  • Fix SQL injection bug and no search terms warning

1.7.7 (Jun. 18, 2015)

  • Make default redirect status filterable
  • Add composer.json
  • Fix delete capability on redirect post type

1.7.6 (Feb. 13, 2015)

  • Use home_url() instead of site_url(). Props swalkinshaw
  • Don’t redirect if redirect to location is invalid. Props vaurdan
  • Redirection plugin importer. Props eugene-manuilov

1.7.5 (Sept. 9, 2014)

  • Don’t always lowercase matched parts in redirect to replace. Propsfrancescolaffi
  • Plugin icon/banner

1.7.4 (Sept. 5, 2014)

  • Fix case sensitivity redirection bug.
  • Add more unit tests

1.7.3 (Aug. 26, 2014)

  • Check if the global $wp_query is null before using get_query_var. Props cmmarslender
  • Unit tests
  • Making _x translatable text work. Props lucspe

1.7.2 (Feb. 10, 2014)

  • Added French translation. Props jcbrebion.
  • Bug fix: Don’t perform redirects in the admin. Props joshbetz.
  • Bug fix: Prevent duplicate GUIDs. Props danblaker.

1.7.1 (Dec. 12, 2013)

  • Add 307 redirect status code. Thanks lgedeon
  • Plugin textdomain should be loaded on init
  • Add status code labels to creation dropdown. Thanks Chancey Mathews

1.7 (Apr. 6, 2013)

  • Return redirect_from on get_permalink. Thanks simonwheatley
  • Allow for regex replacement in from/to redirects
  • Add Slovak translation. Thanks Branco Radenovich
  • Notice fixed in filter_admin_title

1.6 (Dec. 11, 2012)

  • Bulk delete redirects from the Manage Redirects screen
  • wp-cli coverage including subcommands for creating, deleting, and listing redirects, and importing .htaccess files

1.5 (Nov. 7 2012)

  • Regular expressions allowed in redirects
  • New filter ‘srm_registered_redirects’ allows you to conditionally unset redirects based on context, user permissions, etc. Thanks jtsternberg for the pull request.

1.4.2 (Oct. 17, 2012)

  • Disable redirect loop checking by default. You can filter srm_check_for_possible_redirect_loops to enable it.
  • Only return published redirects in update_redirect_cache. – bug fix

1.4.1 (Oct. 11, 2012)

  • Refresh cache after create_redirect call – bug fix
  • Refresh cache after save_post is called – bug fix
  • Chop off “pre-WP” path from requested path. This allows the plugin to work on WP installations in sub-directories – bug fix

1.4 (Oct. 9, 2012)

  • Use the ‘*’ wildcard at the end of your match value to configure a wildcard redirect. Use the same symbol at the end of your redirect to value in order to have the matched value be appended to the end of the redirect. Thanks prettyboymp for the pull request
  • Change default request-matching behavior to be case-insensitive. This can be modified using the ‘srm_case_insensitive_redirects’ filter.
  • Include an informational ‘X-Safe-Redirect-Manager’ header when a redirect occurs. Thanks simonwheatley for the pull request

1.3

  • safe-redirect-manager.php – Globalize SRM class for use in themes/plugins/scripts. Added create_redirect method to make importing easier.

1.2

  • safe-redirect-manager.php – manage_options capabilitiy required to use redirect manager, remove checkbox column, hide view switcher, fix search feature, hide privacy stuff for bulk edit

1.1

  • safe-redirect-manager.php – plugin_url() used properly, is_plugin_page function

1.0

  • Plugin released