Redirection Settings - ProfilePress Skip to content Features Addons Pricing Support Contact Us Documentation Blog Account Buy Now Menu Toggle Features Addons Pricing Support Menu Toggle Contact Us Documentation Blog Account Menu Toggle Home » docs » Redirection Settings Redirection Settings Last Updated on November 11, 2021 Documentation Settings Redirection Settings Last Updated on November 11, 2021 When users successfully log in, log out or reset their password on your site, you can set a page or custom URL they should be redirected to. If you leave the “Custom URL” field empty the redirection will fall back to the selected page. For Login redirection, there is the “Currently viewed page” option to redirect users to the page they are currently viewing after login. And “Previous/Referrer page” to redirect users to the referrer page or previous page they were on after login. Custom Redirections You can also set custom redirect per login and registration shortcodes via the redirect attribute. For example, a custom login page with the shortcode below will redirect users to the URL https://xyz.com/welcome after they are logged in. [profilepress-login id="2" redirect="https://xyz.com/welcome"] Similarly, a registration page with the shortcode below will log users in and redirect them to the https://xyz.com/welcome after they successfully create an account. [profilepress-registration redirect="https://xyz.com/welcome"] To redirect users to the previous page they were on after they are auto-logged-in, replace the “redirect” attribute with “previous_page” like this: [profilepress-registration redirect="previous_page"] If you don’t want users to be logged in before the redirect happens, change “redirect” to “no-login-redirect” like so: [profilepress-registration no-login-redirect="https://xyz.com/welcome"] How about if you wish to redirect unregistered or non-logged-in users to your website login page when they try to access a post or page; use the following shortcode on the said post or page. [pp-redirect-non-logged-in-users] If you want them redirected to a custom URL, use the shortcode like so: [pp-redirect-non-logged-in-users url="http://yourwebsite.com/custom-url-slug"] To redirect only logged in users to a custom URL, use the following shortcode: [pp-redirect-logged-in-users url="http://yourwebsite.com/custom-url-slug"] Remember, if the user isn’t logged in, no redirection will occur. And omitting the url attribute will cause the user to be redirected to the login page. Related WordPress User Redirect After Login, Logout to Custom Page Redirecting Users to a Specific Checkout URL After Registration Redirect WordPress Users After Registration to a Specific URL Create Paid Membership Websites in Minutes Install ProfilePress today and get a modern and powerful WordPress membership & ecommerce website – the easy way! Get ProfilePress Membership Plugin Search for: Search Newsletter Subscription Helpful articles and promos. Unsubscribe any time. Subscribe to our email list now! We promise not to spam you. You can unsubscribe at any time. Invalid email address Thanks for subscribing! Featured Tutorial Creating Membership Plans in WordPress - Easy Guide Creating a My Account Page How to Create a WordPress Frontend Edit Profile Page Currency & Checkout Settings Subscription Management by Admins WordPress User Redirect After Login, Logout to Custom Page Setting Up WordPress User Registration via Invitation Codes WordPress User Profile Shortcodes Create Paid Membership Websites Install ProfilePress today and get a modern and powerful WordPress membership & ecommerce website. Get Started Links Login Blog Pricing Addons Try Live Demo Request Support Affiliate Program Changelog Documentation Partners Top Features Create Membership Sites WooCommerce Memberships Sell Digital Product Custom Registration & Login Member Directory Content Protection User Moderation Social Login Metered Paywall Invite Codes Our Brands MailOptin FuseWP CrawlWP FeedbackWP About Us ProfilePress Exclusive Education Blogging Ideas! Receive top education news, lesson ideas, teaching tips and more! Invalid email address We promise not to spam you. You can unsubscribe at any time. Thanks for subscribing! X-twitter Youtube Copyright © 2026 Proper Fraction LLC. ProfilePress™ is a trademark of Proper Fraction LLC. Terms & Conditions · Privacy Policy Download ProfilePress Plugin Enter your email and submit to receive a link to download the WordPress plugin. We promise not to spam you. You can unsubscribe at any time. Invalid email address Please check your email for the plugin download link.