Title: Controlling redirection after logging in
Last modified: August 12, 2017

---

# Controlling redirection after logging in

 *  Resolved [Steeven](https://wordpress.org/support/users/steeven/)
 * (@steeven)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/controlling-redirection-after-logging-in/)
 * Where do I control redirections?
 * I have a login page that redirects to an old arrival page. I have a new page 
   for users to arrive at, and I need to correct this redirection. It clearly remembers
   the old page, even if I change the url. How can this redirection be controlled?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcontrolling-redirection-after-logging-in%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Georgian Cocora](https://wordpress.org/support/users/raster02/)
 * (@raster02)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/controlling-redirection-after-logging-in/#post-9407528)
 * Hello [@steeven](https://wordpress.org/support/users/steeven/),
 * Thank you for reaching out to us.
 * The redirect URL can be setup through the [[wppb-login]](https://www.cozmoslabs.com/docs/profile-builder-2/shortcodes/#Create_a_Front_End_Login_Form)
   shortcode by adding the `redirect_url` parameter.
 * Example:
    `[wppb-login redirect_url="http://www.yourdomain.com/page"]`
 * Regards.
    -  This reply was modified 8 years, 9 months ago by [Georgian Cocora](https://wordpress.org/support/users/raster02/).
 *  Thread Starter [Steeven](https://wordpress.org/support/users/steeven/)
 * (@steeven)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/controlling-redirection-after-logging-in/#post-9468744)
 * Hi Georgian [@raster02](https://wordpress.org/support/users/raster02/)
 * Sorry about the late reply.
    Thanks for the answer. This solution is fine to 
   make redirection after logging **successfully** in. Thank you.
 * But when typing a **wrong** password, the user is redirected to another page.
   You can try it out here: [https://steeven.dk/register/](https://steeven.dk/register/)
   by typing in any username and wrong password.
 * This other page you arrive to on a failed login attempt is an old arrival page.
   The user should really not be redirected here but rather stay at the login page,
   preferably getting a message that the log in failed. Is there such a possibility
   in this plugin?
 * _(I have looked all over the settings to try to figure out, why the redirection
   happens to this specific url at a failed login attempt. I do not know where it
   is appearing in the settings or why this url is even known/remembered by the 
   site.)_
    -  This reply was modified 8 years, 8 months ago by [Steeven](https://wordpress.org/support/users/steeven/).
    -  This reply was modified 8 years, 8 months ago by [Steeven](https://wordpress.org/support/users/steeven/).
    -  This reply was modified 8 years, 8 months ago by [Steeven](https://wordpress.org/support/users/steeven/).
    -  This reply was modified 8 years, 8 months ago by [Steeven](https://wordpress.org/support/users/steeven/).
    -  This reply was modified 8 years, 8 months ago by [Steeven](https://wordpress.org/support/users/steeven/).
    -  This reply was modified 8 years, 8 months ago by [Steeven](https://wordpress.org/support/users/steeven/).
    -  This reply was modified 8 years, 8 months ago by [Steeven](https://wordpress.org/support/users/steeven/).
 *  Plugin Author [Georgian Cocora](https://wordpress.org/support/users/raster02/)
 * (@raster02)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/controlling-redirection-after-logging-in/#post-9471921)
 * Hello [@steeven](https://wordpress.org/support/users/steeven/),
 * You must have a plugin or some code that is doing this. Can you check your plugins
   for ones that are related to Login ?
    This page also doesn’t seem to be deleted,
   check how you created it before, that’s probably the same plugin that is causing
   this issue.
 * Regards.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Controlling redirection after logging in’ is closed to new replies.

 * ![](https://ps.w.org/profile-builder/assets/icon-256x256.png?rev=2961144)
 * [User Profile Builder - Beautiful User Registration Forms, User Profiles & User Role Editor](https://wordpress.org/plugins/profile-builder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/profile-builder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/profile-builder/)
 * [Active Topics](https://wordpress.org/support/plugin/profile-builder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/profile-builder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/profile-builder/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Georgian Cocora](https://wordpress.org/support/users/raster02/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/controlling-redirection-after-logging-in/#post-9471921)
 * Status: resolved