{"id":778,"date":"2026-10-20T09:04:04","date_gmt":"2026-10-20T08:04:04","guid":{"rendered":"https:\/\/userswp.io\/documentation\/article\/userswp-login-registration-redirect-not-working\/"},"modified":"2026-10-20T09:04:04","modified_gmt":"2026-10-20T08:04:04","slug":"userswp-login-registration-redirect-not-working","status":"publish","type":"gd_place","link":"https:\/\/userswp.io\/documentation\/article\/troubleshooting\/userswp-login-registration-redirect-not-working\/","title":{"rendered":"UsersWP login or registration redirect not working"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">UsersWP has separate redirect settings for login, logout and registration, and a few other settings decide whether they are used at all. If users land on the home page or stay where they were, go through the checks below in order.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Set the login redirect<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to UsersWP &gt; General &gt; Login.<\/li>\n\n\n\n<li>Choose a page in Login Redirect Page. &#8220;Last User Page&#8221; sends users back to the page they came from, &#8220;Default Redirect&#8221; uses the WordPress default, and &#8220;Custom Redirect&#8221; uses the URL you enter in Redirect Custom URL.<\/li>\n\n\n\n<li>Set Logout Redirect Page on the same screen if you want a page after logout too.<\/li>\n\n\n\n<li>Save the settings.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">To send users to their own profile, pick your UsersWP profile page. UsersWP turns that into the logged in user&#8217;s profile URL.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The login lightbox reloads the page instead<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">With Login Lightbox enabled, login links in menus open a popup, and by default the current page just reloads after a successful login. That is on purpose: the user stays on the page they were reading. To make the popup follow your redirect setting, tick Enable Login Lightbox Redirect on UsersWP &gt; General &gt; Login. You can also turn the lightbox off for menu links, see <a href=\"https:\/\/userswp.io\/documentation\/article\/how-tos\/how-to-disable-modal-login-register-for-userswp-navigation-endpoints\/\">How to disable modal login\/register for UsersWP navigation endpoints<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Role based redirects override the general setting<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">UsersWP &gt; Redirects has a Login Redirect Page for each user role. Once that screen has been saved, the value for the user&#8217;s role is used instead of the general one. If the general setting looks right but nothing changes, check the row for your users&#8217; role (usually Subscriber). More detail is in <a href=\"https:\/\/userswp.io\/documentation\/article\/getting-started\/settings-overview-for-userswp-redirects\/\">Settings overview for UsersWP &gt; Redirects<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">A redirect_to in the link wins<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If the login URL carries a <code>redirect_to<\/code> parameter, for example <code>\/login\/?redirect_to=...<\/code>, UsersWP uses that before any setting. Some plugins and themes add it to their login links. The same applies to the Redirect to option of the UsersWP Login block or <code>&#091;uwp_login&#093;<\/code> shortcode.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Registration redirect<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The page a new user goes to after signing up is set per registration form, not on the General tab:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to UsersWP &gt; User Types and edit the form.<\/li>\n\n\n\n<li>Set Registration Action to Auto Approve + Auto Login.<\/li>\n\n\n\n<li>Choose the Redirect Page (or a Custom Redirect URL) and save.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">The registration redirect only happens with Auto Approve + Auto Login. With Require Email Activation or plain Auto Approve, the user is not logged in yet, so UsersWP shows a message on the form instead of redirecting.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Still going to the home page<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Another plugin can redirect users after login, membership and security plugins often do. Switch other plugins off on a staging copy and test again. Also log in through the UsersWP login page itself: logging in on wp-login.php does not use the UsersWP redirect unless you redirect wp-login.php to UsersWP with the Redirect wp-login.php? option.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>UsersWP has separate redirect settings for login, logout and registration, and a few other settings decide whether they are used at all. If users land on the home page or stay where they were, go through the checks below in order. Set the login redirect To send users to their own profile, pick your UsersWP [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"article\/tags":[],"article\/categories":[39,7],"class_list":["post-778","gd_place","type-gd_place","status-publish","hentry","gd_placecategory-troubleshooting","gd_placecategory-tips-tricks-more"],"_links":{"self":[{"href":"https:\/\/userswp.io\/documentation\/wp-json\/wp\/v2\/article\/778","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/userswp.io\/documentation\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/userswp.io\/documentation\/wp-json\/wp\/v2\/types\/gd_place"}],"author":[{"embeddable":true,"href":"https:\/\/userswp.io\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/userswp.io\/documentation\/wp-json\/wp\/v2\/comments?post=778"}],"version-history":[{"count":0,"href":"https:\/\/userswp.io\/documentation\/wp-json\/wp\/v2\/article\/778\/revisions"}],"wp:attachment":[{"href":"https:\/\/userswp.io\/documentation\/wp-json\/wp\/v2\/media?parent=778"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/userswp.io\/documentation\/wp-json\/wp\/v2\/article\/tags?post=778"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/userswp.io\/documentation\/wp-json\/wp\/v2\/article\/categories?post=778"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}