Title: Completely disable redirection
Last modified: August 24, 2016

---

# Completely disable redirection

 *  [joshuaiz](https://wordpress.org/support/users/joshuaiz/)
 * (@joshuaiz)
 * [11 years ago](https://wordpress.org/support/topic/completely-disable-redirection/)
 * Hello,
 * I’m actually not sure if LWA is the problem here but here goes:
 * I have a membership site which sends out new post notifications to members. If
   they follow a link to the post and they are not logged in, they are taken to 
   a “protected content” page where they can log in using a LWA login form.
 * The url has the redirect portion like so:
 * /protected/?redirect_to=[post_that_was_linked]
 * However, once they log in, they are redirected to the home page of the site, 
   not the original link. I have not explicitly set any redirects in the LWA plugin
   settings. To call the form I am just using the regular shortcode.
 * Any idea why this is happening and how to fix it?
 * [https://wordpress.org/plugins/login-with-ajax/](https://wordpress.org/plugins/login-with-ajax/)

Viewing 1 replies (of 1 total)

 *  Plugin Support [angelo_nwl](https://wordpress.org/support/users/angelo_nwl/)
 * (@angelo_nwl)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/completely-disable-redirection/#post-6113322)
 * you can try to check option under WP Settings > Login With Ajax > Disable refresh
   upon login =yes

Viewing 1 replies (of 1 total)

The topic ‘Completely disable redirection’ is closed to new replies.

 * ![](https://ps.w.org/login-with-ajax/assets/icon-256x256.png?rev=976165)
 * [Login With Ajax - Fast Logins, 2FA, Redirects](https://wordpress.org/plugins/login-with-ajax/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/login-with-ajax/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/login-with-ajax/)
 * [Active Topics](https://wordpress.org/support/plugin/login-with-ajax/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/login-with-ajax/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/login-with-ajax/reviews/)

## Tags

 * [protected](https://wordpress.org/support/topic-tag/protected/)
 * [redirect](https://wordpress.org/support/topic-tag/redirect/)
 * [url](https://wordpress.org/support/topic-tag/url/)

 * 1 reply
 * 2 participants
 * Last reply from: [angelo_nwl](https://wordpress.org/support/users/angelo_nwl/)
 * Last activity: [10 years, 12 months ago](https://wordpress.org/support/topic/completely-disable-redirection/#post-6113322)
 * Status: not resolved