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

Redirect Code for if conditional in template

Discussion in 'Styling and Customization Questions' started by swatme, Jul 26, 2012.

  1. swatme

    swatme Well-Known Member

    Hi

    i placed an if conditional to a specific template

    <xen:if is="{$visitor.user_id}">
    <b>welcome</b>
    <xen:else />
    REDIRECT TO THIS PAGE (whats the code for redirection)
    </xen:if>


    My question is:
    What code should i use for redirection ?

    thanks
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

  3. MOZ

    MOZ Well-Known Member

    <meta http-equiv="REFRESH" content="<time in sec>;url=<URL>">
     
    Maulss, swatme and Chris D like this.

Share This Page