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. On-Page / Site Optimization
    4. Robot.txt file issue on wordpress site.

    Robot.txt file issue on wordpress site.

    On-Page / Site Optimization
    8 8 229
    • 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.
    • Mustansar
      Mustansar last edited by

      I m facing the issue with robot.txt file on my blog.

      Two weeks ago i done some development work on my blog. I just added few pages in robot file. Now my complete site seems to be blocked. I have checked and update the file and still having issue.

      The search result shows that "A description for this result is not available because of this site's robots.txt – learn more."

      Any suggestion to over come with this issue

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

        If you wish to block your pages from search engines, then you should use noindex and not disallow in robots.txt. In many cases, a robots,txt is doing more harm than good.

        What is your URL?

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

          Could you post the URL to your robots.txt file or post the content of the file itself?

          1 Reply Last reply Reply Quote 0
          • Andy.Drinkwater
            Andy.Drinkwater last edited by

            It's so easy to block your entire site from Google with robots.txt. Are you using Yoast SEO as the SEO plugin? With this, there shouldn't really be any need to block anything yourself.

            Drop your URL here and we can take a look.

            -Andy

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

              Hi there

              Check out your robots.txt in Wordpress:

              Admin Dashboard>Settings>General>Privacy -- what is setting?

              I would also read up on Robots.txt and see if you can find anything that may stand out to you. Then, I would take a look at your XML sitemap and upload it to Google Webmaster Tools and Bing Webmaster Tools.

              I, like the others, would like to see your robots.txt file as well to see a live example. This shouldn't be anything major!

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

                The most likely lines in your robots.txt to cause this:

                User-agent: *
                Disallow: /
                
                1 Reply Last reply Reply Quote 0
                • evolvingSEO
                  evolvingSEO last edited by

                  Hi

                  You are most likely still seeing "A description for this result...." etc in Google because they may not have re-cached the page yet.

                  If the site is crawlable with a tool like Screaming Frog SEO Spider, or a header checker like http://urivalet.com/ - it's also accessible to Google, you just need to wait for them to re-crawl.

                  Let us know if you need more help!

                  1 Reply Last reply Reply Quote 1
                  • AlanMosley
                    AlanMosley last edited by

                    What the problem is with your site I cant say because we don't have the url.

                    But having said that, Why block pages? I find it is very rare that you need to block pages, I remember reading that Google sees blocked resources as a spam signal, that by itself is not a problem but when mixed with other signals can be harmful.

                    so do you really need to block the pages?

                    if you really do, then use meta  noindex, follow.
                    you want the links to be followed so that link juice flows back out of the links to indexed pages. or you will be pouring link juice away via any links pointing to noindex pages

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post
                    • Correct robots.txt for WordPress
                      jasongmcmahon
                      jasongmcmahon
                      1
                      5
                      180

                    • To avoid the duplicate content issue I have created new urls for that specific site I am posting to and redirecting that url to the original on my site. Is this the right way to do it?
                      0
                      1
                      24

                    • When You Add a Robots.txt file to a website to block certain URLs, do they disappear from Google's index?
                      Saijo.George
                      Saijo.George
                      0
                      3
                      205

                    • Solve duplicate content issues by using robots.txt
                      JohnHuynh
                      JohnHuynh
                      0
                      5
                      153

                    • Wordpress blog duplicate issue
                      Trespass
                      Trespass
                      0
                      7
                      132

                    • I have more pages in my site map being blocked by the robot file than I have being allowed to be crawled. Is Google going to hate me for this?
                      SVmedia
                      SVmedia
                      0
                      3
                      103

                    • Site Maps / Robots.txt etc
                      LockCity
                      LockCity
                      0
                      3
                      120

                    • Wordpress categories tags and robots.txt
                      sfmatthews
                      sfmatthews
                      0
                      4
                      714

                    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