The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Technical SEO Issues
    4. Robots.txt Showing in SERP Results

    Robots.txt Showing in SERP Results

    Technical SEO Issues
    5 5 1.4k
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • vectormedia
      vectormedia last edited by

      Currently doing a technical audit for a website and when I search "Site:website.com -www" the only result is website.com/robots.txt

      I was wondering if anyone else has come across this before -- or what this may mean from a technical audit standpoint.

      Thank you!

      1 Reply Last reply Reply Quote 0
      • MargaritaS
        MargaritaS last edited by

        Did you also search for site:www.webiste.com? Are they blocking the site?What's in the actual robots file?

        Also, does this happen when you search for the site in Bing?

        1 Reply Last reply Reply Quote 0
        • Copstead
          Copstead last edited by

          The robots.txt file should not show up.  Sounds like there is something seriously wrong.

          bobjones 1 Reply Last reply Reply Quote 0
          • Cyrus-Shepard
            Cyrus-Shepard last edited by

            It's quite common for Google to index robots.txt files. (and also, rather odd) But check out all of these robots.txt files:

            https://www.google.com/search?q=inurl%3Arobots.txt&pws=0&gl=us

            So it's nothing to be alarmed by. With your particular query. "Site:website.com -www" it only shows pages indexed without the "www" so this just says that all the indexed pages most likely begin with www. The exception, of course, is the robots.txt file.

            The bigger question for me is, why does Google cache robots.txt files? Oh well.

            1 Reply Last reply Reply Quote 2
            • bobjones
              bobjones @Copstead last edited by

              nonsense. Search for https://www.google.com.au/search?q=inurl%3Arobots.txt&pws=0

              Some of the first results with visible robots.txt I see are:

              • google.com
              • facebook.com
              • wikipedia.com
              • seobook.com

              I refuse to believe that "something is seriously wrong" with any of these sites. 🙂

              1 Reply Last reply Reply Quote 1
              • 1 / 1
              • First post
                Last post
              • Robots.txt & meta noindex--site still shows up on Google Search
                Vijay-Gaur
                Vijay-Gaur
                1
                8
                7.3k

              • Robots.txt
                MarieHaynes
                MarieHaynes
                0
                8
                115

              • Can Mobile Results show on Desktop results?
                RyanPurkey
                RyanPurkey
                0
                3
                187

              • No descripton on Google/Yahoo/Bing, updated robots.txt - what is the turnaround time or next step for visible results?
                adamhdrb
                adamhdrb
                0
                13
                618

              • Robots.txt
                Dan-Lawrence
                Dan-Lawrence
                0
                5
                99

              • Slide show showing up as video in serp
                PhilNottingham
                PhilNottingham
                0
                3
                468

              • Robots.txt
                BailHotline
                BailHotline
                0
                5
                760

              • Robots.txt and robots meta
                TheEspresseo
                TheEspresseo
                0
                5
                1.1k

              Get started with Moz Pro!

              Unlock the power of advanced SEO tools and data-driven insights.

              Start my free trial
              Products
              • Moz Pro
              • Moz Local
              • Moz API
              • Moz Data
              • STAT
              • Product Updates
              Moz Solutions
              • SMB Solutions
              • Agency Solutions
              • Enterprise Solutions
              • Digital Marketers
              Free SEO Tools
              • Domain Authority Checker
              • Link Explorer
              • Keyword Explorer
              • Competitive Research
              • Brand Authority Checker
              • Local Citation Checker
              • MozBar Extension
              • MozCast
              Resources
              • Blog
              • SEO Learning Center
              • Help Hub
              • Beginner's Guide to SEO
              • How-to Guides
              • Moz Academy
              • API Docs
              About Moz
              • About
              • Team
              • Careers
              • Contact
              Why Moz
              • Case Studies
              • Testimonials
              Get Involved
              • Become an Affiliate
              • MozCon
              • Webinars
              • Practical Marketer Series
              • MozPod
              Connect with us

              Contact the Help team

              Join our newsletter
              Moz logo
              © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
              • Accessibility
              • Terms of Use
              • Privacy