WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Peter's Login Redirect

Redirect users to different locations after logging in and logging out.

2.8.0

  • 2014-07-06: Improved management interface to add specific Edit and Delete buttons per rule, and removed limit around number of rules.

2.7.2

  • 2013-10-07: Support PHP 5 static function calls, bumping WordPress requirement to 3.2+.

2.7.1

  • 2013-07-05: Bug fix: Role-based login URLs weren't saving correctly.

2.7.0

  • 2013-07-04: Add logout redirect URL control per-user, per-role, and per-level

2.6.1

  • 2012-12-22: Allow editors to manage redirects in WordPress 3.5+ (required capability is now "manage_categories" instead of "manage_links").

2.6.0

  • 2012-09-22: Added support for URL variable "http_referer" (note the single "r") to redirect the user back to the page that hosted the login form, as long as the login page isn't the standard wp-login.php. There are several caveats to this, such as: If you want to redirect only on certain forms and/or specify a redirect on the standard wp-login.php page, you should modify the form itself to use a "redirect_to" form variable instead.

2.5.3

  • 2012-06-15: Bug fix: Fallback redirect rule wouldn't update properly if logout URL was blank on MySQL installs with strict mode enabled (thanks kvandekrol!)

2.5.2

  • 2012-02-06: Bug fix: Fallback redirect rule updates were broken for non-English installs.

2.5.1

  • 2012-01-17: Bug fix: Redirect after registration back-end code was missed in 2.5.0, and thus that feature wasn't actually working.

2.5.0

  • 2012-01-15: Added redirect after registration option. Also made plugin settings editable in the WordPress admin panel.

2.4.0

  • 2012-01-05: Added support for URL variable "postid-23". Also added documentation on how to set up redirect on first login.

2.3.0

  • 2011-11-06: Added support for URL variable "siteurl" and "homeurl". Also added filter to support custom replacement variables in the URL. See Other Notes / How to Extend for documentation.

2.2.0

  • 2011-09-21: Support basic custom logout redirect URL for all users only. Future versions will have the same framework for logout redirects as for login redirects.

2.1.1

  • 2011-08-13: Minor code cleanup. Note: users now need "manage_links" permissions to edit redirect settings by default.

2.1.0

  • 2011-06-06: Added hooks to facilitate adding your own extensions to the plugin. See Other Notes / How to Extend for documentation.

2.0.0

  • 2011-03-03: Added option to allow a redirect_to POST or GET variable to take precedence over this plugin's rules.

1.9.3

  • 2010-12-15: Made plugin translatable. (Thanks Anja!)

1.9.2

  • 2010-08-20: Bug fix in code syntax.

1.9.1

  • 2010-08-03: Bug fix for putting the username in the redirect URL.

1.9.0

  • 2010-08-02: Added support for a separate redirect controller URL for compatibility with Gigya and similar plugins that bypass the regular WordPress login redirect mechanism. See the $rul_use_redirect_controller setting within this plugin.

1.8.1

  • 2010-05-13: Added proper encoding of username in the redirect URL if the username has spaces.

1.8.0

  • 2010-03-18: Added the ability to specify a username in the redirect URL for more dynamic URL generation.

1.7.3

  • 2010-03-04: Minor tweak on settings page for better compatibility with different WordPress URL setups.

1.7.2

  • 2010-01-11: Plugin now removes its database tables when it is uninstalled, instead of when it is deactivated. This prevents the redirect rules from being deleted when upgrading WordPress automatically.

1.7.1

  • 2009-10-07: Minor database compatibility tweak. (Thanks KCP!)

1.7.0

  • 2009-05-31: Added option $rul_local_only (in the plugin file itself) to bypass the WordPress default limitation of only redirecting to local URLs.

1.6.1

  • 2009-02-06: Minor database table tweak for better compatibility with different setups. (Thanks David!)

1.6.0

  • 2008-11-26: Added a function rul_register that acts the same as the wp_register function you see in templates, except that it will return the custom defined admin address

1.5.1

  • 2008-09-17: Fixed compatibility for sites with a different table prefix setting in wp-config.php. (Thanks Eric!)

Requires: 3.2 or higher
Compatible up to: 3.9.1
Last Updated: 2014-7-7
Downloads: 320,307

Ratings

4 stars
4.9 out of 5 stars

Support

2 of 9 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says it works.
0 people say it's broken.

100,3,3
100,1,1
60,5,3 100,6,6
100,2,2 100,1,1 100,7,7 67,3,2
100,3,3 100,1,1
50,2,1 100,3,3 100,11,11 100,1,1
100,1,1
100,1,1
100,4,4
100,1,1
100,4,4 90,10,9
0,1,0
100,2,2
100,4,4
100,1,1
100,3,3
67,3,2 100,5,5 50,2,1 100,8,8
100,1,1 100,2,2 100,1,1 100,1,1
100,1,1 100,1,1 50,2,1 100,11,11
50,6,3
100,2,2
86,7,6
86,7,6
25,4,1 100,2,2
100,6,6 100,1,1
33,3,1
100,1,1
67,3,2
33,3,1
100,5,5
100,2,2
100,3,3 100,1,1