Title: Prevent redirect when Register
Last modified: March 29, 2017

---

# Prevent redirect when Register

 *  Resolved [AndreiD](https://wordpress.org/support/users/andreiro37/)
 * (@andreiro37)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/prevent-redirect-when-register/)
 * When an user want to register, it is redirected to mebership levels page membership-
   account/membership-levels/
 * I do not want this redirect, i want the user to register/login then later on 
   he will upgrade subscription clicking a link that is going to “membership-account/
   membership-levels/”.
 * It is possible to disable that redirect? I work for a client website.
 * thanks

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

 *  Plugin Author [Andrew Lima](https://wordpress.org/support/users/andrewza/)
 * (@andrewza)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/prevent-redirect-when-register/#post-8994337)
 * Hi [@andreiro37](https://wordpress.org/support/users/andreiro37/),
 * Thank you for using Paid Memberships Pro.
 * I will need some clarification, how would you like the users to register/login
   by using the default WordPress registration?
 * If so, please see the following code – [https://gist.github.com/strangerstudios/9583086](https://gist.github.com/strangerstudios/9583086)
 * I hope this helps 🙂
 *  Thread Starter [AndreiD](https://wordpress.org/support/users/andreiro37/)
 * (@andreiro37)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/prevent-redirect-when-register/#post-9000037)
 * Users register via default WP page. Later on to unlock some premium features 
   they will go to membership levels page to choose a paid plan.
 * Your code solved my problem, thanks. I will recommend to client to upgrade the
   plugin to premium if he will have paid members.
 *  Plugin Author [Andrew Lima](https://wordpress.org/support/users/andrewza/)
 * (@andrewza)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/prevent-redirect-when-register/#post-9000110)
 * Thanks for the feedback [@andreiro37](https://wordpress.org/support/users/andreiro37/).
   Glad to hear the code worked! 🙂
 * If ever have 2 minutes to spare and you found this support useful, please consider
   posting an honest review at [http://wordpress.org/support/view/plugin-reviews/paid-memberships-pro](http://wordpress.org/support/view/plugin-reviews/paid-memberships-pro)
    -  This reply was modified 9 years, 4 months ago by [Andrew Lima](https://wordpress.org/support/users/andrewza/).
 *  Thread Starter [AndreiD](https://wordpress.org/support/users/andreiro37/)
 * (@andreiro37)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/prevent-redirect-when-register/#post-9001156)
 * I will post a review. The plugin has a lot of features, was a litttle annoying
   to start with it: my sugegstion is to make the link “Autocreate pages” after 
   plugin install more visible because i created custom pages and didnt worked.
 * Another question: after user log in in WordPress, how to prevent them to be redirected
   to membership levels page? (the same problem as for Register action).
 *  Plugin Author [Andrew Lima](https://wordpress.org/support/users/andrewza/)
 * (@andrewza)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/prevent-redirect-when-register/#post-9004626)
 * Thank you for the feedback – we are currently looking at creating a ‘wizard’ 
   for setting up PMPro for the first time.
 * You are able to disable the user register/login redirect with the following gist,
   please see the following code – [https://gist.github.com/strangerstudios/9583086](https://gist.github.com/strangerstudios/9583086)
 * I hope this helps 🙂
 * PS – Thank you for wanting to leave a review it truly helps us! Please let me
   know if you have any further questions.

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

The topic ‘Prevent redirect when Register’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/paid-memberships-pro_f1dacb.svg)
 * [Paid Memberships Pro - Content Restriction, User Registration, & Paid Subscriptions](https://wordpress.org/plugins/paid-memberships-pro/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/paid-memberships-pro/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/paid-memberships-pro/)
 * [Active Topics](https://wordpress.org/support/plugin/paid-memberships-pro/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/paid-memberships-pro/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/paid-memberships-pro/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Andrew Lima](https://wordpress.org/support/users/andrewza/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/prevent-redirect-when-register/#post-9004626)
 * Status: resolved