Apps Ballance Chat Click Code Cog_Wheels Compose_email Conference Contacts Earth Edit_File_1_ Email Email_2 File Folder_2 Gift Group Group_2 Help ID ID_2 Key Keys Laptop_Store Link Lock Log_Out Map Marketing Mobile_UI Navigation Partnership Profile Safe_2 Search_User Secure_Files Settings Share Shield Shield_2 Shopping_Cart Support_Male Trash Type_pin User_female User_male logo copy

Understanding how login redirect works

Iain Poulson avatar
Iain Poulson Last updated on March 6, 2021

The WPUM login form supports multiple redirect methods. Here’s an explanation of how each method works and is triggered.

  1. Query string method: the login form will give priority to the redirect_to query string into the browser url. When the query string is available, the login form will ignore any other method and redirect to the url specified into the query string. The query string obviously accepts an url that must be properly encoded.
  2. Selected page: if both of the above condition is not available, and you have selected a page into the admin panel, the form will redirect to the selected page. This is usually triggered when someone goes straight to your login page without having visited any other page on your site.
  3. If a query string and a selected page are not available, the login form will redirect to it’s current page.

Need more help?

If you still didn't find an answer you can always contact us

Submit a ticket