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

Login Redirect?

Cal

Well-known member
#1
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.
 

Jake Bunce

XenForo moderator
Staff member
#2
Admin CP -> Appearance -> Templates
> helper_login_form
> login_bar_form


Both templates have a redirect field:

Code:
<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