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

XF 1.1 Blocking poll pages with robots.txt

Discussion in 'XenForo Questions and Support' started by BamaStangGuy, May 19, 2012.

  1. BamaStangGuy

    BamaStangGuy Well-Known Member

    What is the correct syntax to use to block poll pages from being indexed via robots.txt?
  2. Chris D

    Chris D XenForo Developer Staff Member

    Posted in the other thread, but will post here anyway:

    User-agent: *
    Disallow: /*/poll/results$
    Allow: /
    This is the syntax. Note that some search engines may not support * or $ wildcards. But the major ones including Google do.
    BamaStangGuy likes this.
  3. BamaStangGuy

    BamaStangGuy Well-Known Member

    Thank you :)

Share This Page