XF 1.5 Redirect User after email confirmation.

Okenyon

Active member
Whats the best/easiest away to redirect a user after they click the email confirmation?

Is it done via the template attached?

Screen Shot 2016-11-09 at 10.57.40.png
 

Okenyon

Active member
Thats @Jake Bunce

I'm guessing its in this code:

Code:
<div class="baseHtml">
        <ul>
            <xen:if is="{$redirect}"><li><a href="{$redirect}">{xen:phrase return_to_page_you_were_viewing}</a></li></xen:if>
            <li><a href="{xen:link index}">{xen:phrase return_to_forum_home_page}</a></li>
            <xen:if is="{$canEditProfile}">
                <li><a href="{xen:link account}">{xen:phrase edit_your_account_details}</a></li>
            </xen:if>
        </ul>
    </div>
What would I need to edit to redirect to a URL? (sorry I don't code)

Thanks.
 

Jake Bunce

XenForo moderator
Staff member
Add this code to the top of the register_confirm template:

Code:
<xen:container var="$head.redirect">
<meta http-equiv="refresh" content="0;URL='/account/upgrades'" />
</xen:container>
 
Top