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

XF 1.4 noindex a specific forum

Discussion in 'XenForo Questions and Support' started by dethfire, Oct 24, 2014.

  1. dethfire

    dethfire Well-Known Member

    I have a new member intro forum that is really junky to search engines. how do I noindex threads in that forum? I assume a conditional in page container?
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Admin CP -> Appearance -> Templates -> thread_view

    Add this code to the top:

    <xen:if is="in_array({$thread.node_id}, array(80,81))">
    <xen:container var="$head.robots">
        <meta name="robots" content="noindex" /></xen:container>
    You must specify the list of node_ids.
    EQnoble and dethfire like this.
  3. Soyuz

    Soyuz Member

    I was looking for something like this, but with this solution, sitemap.php will still send URLs of those forums to Google.
  4. Soyuz

    Soyuz Member

Share This Page