• Resolved learningwordpress75

    (@learningwordpress75)


    Hello,
    I have a problem.
    In WP-members you can create register-forms beautifully.
    After registering/loggin-in i am always sent to the “My Account” page (which seems to be a WooCommerce page ?).
    This is not what i want.
    Although i uses some plugins to redirect, i can’t figure it out.
    I don’t want to be a customer sent (after login.registration) to “My Account” but to a custom URL (with custom layout).
    Who is smart enough to help me ?
    Thank you,
    M.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter learningwordpress75

    (@learningwordpress75)

    And……..i’m not a wizzkid in coding, so please make it GOOD and SIMPLE.

    Plugin Author Chad Butler

    (@cbutlerjr)

    WP-Members doesn’t apply any specific redirects. However, there are a number of WP hooks in the process of logging in and/or registering that would factor in.

    When logging in, WP-Members does include WP’s login_redirect hook. When a new user is registered, the plugin uses the WP function wp_insert_user(), a process that will include a number of WP hooks such as user_register (which can be used to redirect a user).

    Because these are WP hooks, they can be used by any plugin. My guess is that your other plugins for redirecting would use those, so they will integrate with WP-Members as well as native WP processes. The same holds true for WooCommerce, which does automatically log users in and redirect them when they register.

    So, you need to track down where your redirects are coming from and how they’re applied in order to get rid of them.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WP-members register/inlog not to the “My Account” page but a custom URL’ is closed to new replies.