User Registration

  1. Home
  2. Docs
  3. User Registration
  4. How to?
  5. How to Redirect to a Specific Page after Logout?

How to Redirect to a Specific Page after Logout?

After your users log out from their accounts on your site, you need to redirect them to a certain page. It may be the homepage of your site or, any other page.

To redirect the users after log out, you can simply use the User Registration shortcode. By adding the Log out parameter to it, you can easily redirect the user to any desired page on your site.

Whether it is your homepage, product page or any other page, just add the page URL with the Log out parameter “logout_redirect”. The shortcode is given below:

[user_registration_my_account logout_redirect=’page-slug’]

Was this article helpful to you? Yes 4 No 9

How can we help?