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. Is my robots.txt file working?

    Is my robots.txt file working?

    Technical SEO Issues
    5 3 1.1k
    • 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.
    • Nightwing
      Nightwing last edited by

      Greetings from medieval York UK 🙂

      Everytime to you enter my name & Liz this page is returned in Google:
       http://www.davidclick.com/web_page/al_liz.htm

      But i have the following robots txt file which has been in place a few weeks

      User-agent: *
      Disallow: /york_wedding_photographer_advice_pre_wedding_photoshoot.htm
      Disallow: /york_wedding_photographer_advice.htm
      Disallow: /york_wedding_photographer_advice_copyright_free_wedding_photography.htm
      Disallow: /web_page/prices.htm
      Disallow: /web_page/about_me.htm
      Disallow: /web_page/thumbnails4.htm
      Disallow: /web_page/thumbnails.html
      Disallow: /web_page/al_liz.htm
      Disallow: /web_page/york_wedding_photographer_advice.htm
      Allow: /
      

      So my question is please...

      "Why is this page appearing in the SERPS when its blocked in the robots txt file e.g.:
       Disallow: /web_page/al_liz.htm"
      

      ANy insights welcome 🙂

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

        Hi David

        How long have you had the robots.txt file? Preventeing Google from indexing the page would not automatically remove it if its already indexed. That would take some time.

        You could try using the removal tool:

        https://www.google.com/webmasters/tools/removals

        If its urgent you could check the header and do a 301 redirect if the user comes from Google. But I think it should sort itself out within not too long.

        Fredrik

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

          Nightwing

          Frederick gives some good pointers and here is a little trick to try: Fetch as Google from GWMT

          1. On the Webmaster Tools Home page, click the site you want.
          2. On the Dashboard, under Health, click Fetch as Google.
          3. In the text box, type the path to the page you want to check.
          4. In the dropdown list, select the type of fetch you want. To see what our web crawler Googlebot sees, select Web. To see what our mobile crawler Googlebot-Mobile sees, select cHTML (this is used mainly for Japanese web sites) or Mobile XHTML/WML.
          5. Click Fetch.

          This will likely give you a quick re index and you will know whassup...

          Best,

          Robert

          Nightwing 1 Reply Last reply Reply Quote 0
          • Nightwing
            Nightwing @RobertFisher last edited by

            Brill answers guys thanks 🙂

            case_closed.jpg

            Resultify 1 Reply Last reply Reply Quote 0
            • Resultify
              Resultify @Nightwing last edited by

              Glad we could help 🙂

              Fredrik

              PS Dont forget to mark as answered 😉

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • Blocking subdomains with Robots.txt file
                PaulM01
                PaulM01
                0
                3
                641

              • Multiple robots.txt files on server
                peakdistrictseo
                peakdistrictseo
                0
                8
                2.4k

              • Is there any value in having a blank robots.txt file?
                LiamVictor
                LiamVictor
                0
                6
                3.1k

              • Meta Robots Noindex and Robots.txt File
                Devanur-Rafi
                Devanur-Rafi
                0
                2
                125

              • Use of Robots.txt file on a job site
                jennita
                jennita
                0
                5
                850

              • Robots.txt file getting a 500 error - is this a problem?
                themegroup
                themegroup
                0
                3
                2.7k

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

              • Robots.txt File Redirects to Home Page
                NickPateman81
                NickPateman81
                0
                6
                4.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