Redirecting WordPress users to a different page once they login can be very helpful. This can not only be done, but it can also be done based on the role of the user logging in. Here’s how you can go about redirecting users when they log into your WordPress blog or website.
using the Peter’s Login Redirect WordPress Plugin
Start by downloading, installing and activating the Peter’s Login Redirect Plugin for WordPress. Once you have installed and activated the plugin, you can access the settings within the Settings>>Login/Logout Redirects section of your WordPress Dashboard.
This section will allow you to adjust the redirects by username, role or level in WordPress.
You will even be able to add a specific URL to redirect all other users you have not already redirected.
Whether you choose to redirect specific users or by role, you can do so by selecting the username or role from the dropdown box. Then, just add the URL you would like the user or role to be redirected to after they log in.
Customize Plugin Settings
At the bottom of the page, you will also have options to help customize the way the plugin works. You can set the permission level for editing the redirect URLs, and set specific rules for your redirects, along with restrictions.
Once you get everything setup the way you prefer, you just click the “Update” button and you’re all set.
This plugin also provides the option to redirect users after they logout. This can be done in the same way as redirecting the login, but you add the URL to the “Logout URL” line.
Use this plugin to help redirect your users to the right places. It’s very powerful and will provide you with plenty of good options for your specific needs.