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

Getting Users onto Landing Page

Discussion in 'XenForo Questions and Support' started by zooki, May 16, 2013.

  1. zooki

    zooki Active Member

    I want to do something temporarily, I have two options:

    1. Redirect users who come from search onto a landing page,

    2. Allow spiders to access pages, but redirect users to the landing page.

    I know this is not a "good" way to behave, but I have my reasons. It is nevertheless, a temporary thing.

    I have seen this, but it is not exactly what I want :( :
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    You can use these conditions in the templates:

    <xen:if is="{$visitor.is_robot}">
    <xen:if is="{$visitor.from_search}">
    To implement proper redirects and permissions requires an addon and not just template hacks, but this is something to start with.

Share This Page