Skip to content
  • About WordPress
    • About WordPress
    • WordPress.org
    • Documentation
    • Support
    • Feedback
  • Log In
  • Register
WordPress.org
WordPress.org

English (New Zealand)

  • Themes
  • Plugins
  • News
  • About
  • Get WordPress
Get WordPress

Plugins

  • My Favourites
  • Beta Testing
  • Developers
Download

LoginWP (Formerly Peter's Login Redirect)

By LoginWP Team
  • Details
  • Reviews
  • Installation
  • Support
  • Development

Description

LoginWP (formerly Peter’s Login Redirect) lets you define a set of redirect rules for specific users, users with specific roles, users with specific capabilities, and a blanket rule for all other users. Also, set a redirect URL for post-registration.

You can use the following placeholders in your URLs so that the system will build a dynamic URL upon each login: {{username}}, {{user_slug}}, {{website_url}}.

Upgrade to LoginWP PRO to redirect users to the current page they are logging in from or back to the previous (or referrer) page after login using {{current_page}} and {{previous_page}} placeholders. Learn more

You can add your own code logic before and between any of the plugin’s normal redirect checks if needed. See our documentation. Some examples include: redirecting the user based on their IP address and redirecting users to a special page on the first login.

Website | Documentation | Support

Pro Integrations

This is the lite version that works with the default WordPress login page and limited other user registration and login form plugins. Upgrade to Pro to avail the support for the following plugins.

  • WooCommerce
  • Gravity Forms
  • WPForms
  • LearnDash
  • LifterLMS
  • ProfilePress
  • MemberPress
  • MemberMouse
  • Easy Digital Downloads
  • Restrict Content Pro
  • Ultimate Member
  • WP User Manager
  • WP User Frontend
  • Paid Membership Pro
  • Theme My Login
  • User Registration (WPEverest)

What’s Next

If you like this plugin, then consider checking out our other products:

  • ProfilePress – The perfect user registration, login form, user profile & membership plugin.
  • MailOptin – Create popups and optin forms for capturing email newsletter subscribers. Integrates with Mailchimp, ConvertKit, Infusionsoft, ActiveCampaign, Campaign Monitor, Constant Contact & more.

Screenshots

  • Redirection rules overview.
  • Adding a redirection rule.
  • Other settings.
  • Redirect Placeholders.

Installation

Installing this plugin is just like any other WordPress plugin.
Navigate to your WordPress “Plugins” page, inside of your WordPress dashboard, and follow these instructions:

  1. In the search field enter LoginWP. Click “Search Plugins”, or hit Enter.
  2. Select LoginWP and click either “Details” or “Install Now”.
  3. Once installed, click “Activate”.

FAQ

Please visit the plugin page with any questions.

Login redirects not working? This plugin uses WordPress’s standard login_redirect hook. The usual cause of problems is that another plugin is using the hook first, or there is a custom login form that isn’t even running through the standard WordPress login functions.

Reviews

Works flawlessly for years!

magneticeye May 13, 2022
I have used this plugin for years and it has worked flawlessly. Easy to use and setup. Thanks, Peter and team.

Perfect companion to a WP site

dominicusb May 12, 2022
Just what I needed to get the users redirected to the right page after logout when using another users plugin than the usual wp-"users" BUT linked to the users in WP. The problem was that I dodn't want to give the users the usual login page after a password change and now I was able to Thanks for a usefull plugin

Very good

mariodehter May 1, 2022
It complies with all the functions described by the author. Simple and very easy installation to adapt to the language of my blog.

Perfect plugin

Johannes49 April 30, 2022
finally found a perfect plugin, and does what it's supposed to do. Highly recommended. A good plugin.

Thanks!

benlumi April 28, 2022
Thank you Peter for this great plugin. Easy to configure, works perfectly fine.

Perfect plugin

renaud6322 April 23, 2022
Really works very well !
Read all 306 reviews

Contributors & Developers

“LoginWP (Formerly Peter's Login Redirect)” is open source software. The following people have contributed to this plugin.

Contributors
  • properfraction
  • Collins Agbonghama

“LoginWP (Formerly Peter's Login Redirect)” has been translated into 8 locales. Thank you to the translators for their contributions.

Translate “LoginWP (Formerly Peter's Login Redirect)” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

3.0.0.8

  • Added noncache to temporary redirects.
  • Added user_id placeholder.
  • Added wp_logout() redirection support

3.0.0.7

  • Fix site and website url placeholder bug in multisite.

3.0.0.6

  • Compatibility with WP 5.9.
  • Pro: Added LearnDash Enrolled Course and User Group redirect conditions.
  • Pro: Added WooCommerce Purchased Product, Purchased Product Category, Active User Subscription, Active Membership Plan redirect conditions.
  • Pro: Added MemberPress Subscribed Membership redirect condition.
  • Pro: Added Restrict Content Pro Has Membership redirect condition.
  • Pro: Added LifterLMS Enrolled Course and Enrolled Membership redirect conditions.

See the changelog file for full changelog information.

Meta

  • Version: 3.0.0.8
  • Last updated: 1 month ago
  • Active installations: 100,000+
  • WordPress Version: 4.0 or higher
  • Tested up to: 5.9.3
  • PHP Version: 5.6 or higher
  • Languages:

    Dutch, English (US), French (France), German, Russian, Spanish (Ecuador), Spanish (Mexico), Spanish (Spain), and Spanish (Venezuela).

    Translate into your language

  • Tags:
    loginlogin formlogoutredirectUser Registration
  • Advanced View

Ratings

See all
  • 5 stars 284
  • 4 stars 10
  • 3 stars 1
  • 2 stars 2
  • 1 star 9
Log in to submit a review.

Contributors

  • properfraction
  • Collins Agbonghama

Support

Issues resolved in last two months:

1 out of 2

View support forum

Donate

Would you like to support the advancement of this plugin?

Donate to this plugin

  • About
  • News
  • Hosting
  • Donate
  • Support
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org

English (New Zealand)

  • Visit our Facebook page
  • Visit our Twitter account
Code is Poetry