Title: Shortcode Redirect
Last modified: August 31, 2016

---

# Shortcode Redirect

 *  Resolved [andyt1980](https://wordpress.org/support/users/andyt1980/)
 * (@andyt1980)
 * [10 years ago](https://wordpress.org/support/topic/shortcode-redirect/)
 * Hi,
    When using the Shortcode on a page, currently if someone enters an incorrect
   user/pass or doesnt enter anything at all the user is taken away from the custom
   page to the default wordpress /wp-login.php page.
 * I want the user to stay on the current login page when an error occurs, is this
   possible?
 * [https://wordpress.org/plugins/custom-login-page/](https://wordpress.org/plugins/custom-login-page/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [tepelstreel](https://wordpress.org/support/users/tepelstreel/)
 * (@tepelstreel)
 * [10 years ago](https://wordpress.org/support/topic/shortcode-redirect/#post-7403943)
 * Hi there,
 * sorry it’s not possible. That’s just how wp_login_form() works.
 * And the shortcode is nothing else than an implementation of that function.
 * Best,
    Stefan

Viewing 1 replies (of 1 total)

The topic ‘Shortcode Redirect’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/custom-login-page_9d9d9d.svg)
 * [A5 Custom Login Page](https://wordpress.org/plugins/custom-login-page/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-login-page/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-login-page/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-login-page/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-login-page/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-login-page/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [tepelstreel](https://wordpress.org/support/users/tepelstreel/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/shortcode-redirect/#post-7403943)
 * Status: resolved