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 Brent W, May 19, 2012.

  1. Brent W

    Brent W Formerly BamaStangGuy

    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.
    Brent W likes this.
  3. Brent W

    Brent W Formerly BamaStangGuy

    Thank you :)

Share This Page