1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Login Redirect?

Discussion in 'XenForo Questions and Support' started by Cal, Dec 9, 2012.

  1. Cal

    Cal Well-Known Member

    I managed to get wordpress to integrate with Xenforo today. I'd show you all but it's still on my sandbox server. The thing is you have to login and register by Xenforo and when you are done you are directed to forum home. Is there anyway to make it upon successful login or registration to redirect back to my wordpress installation rather forum home? I'm trying to keep things smooth.
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Admin CP -> Appearance -> Templates
    > helper_login_form
    > login_bar_form

    Both templates have a redirect field:

    <input type="hidden" name="redirect" value="{$requestPaths.requestUri}" />
    You can hard code the value to a specific location.

    For registration there is a stop message. You probably want to edit the links in this template:

    Admin CP -> Appearance -> Templates -> register_process
    Cal likes this.
  3. Cal

    Cal Well-Known Member

    Thanks as always Jake (y)

Share This Page