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. International Issues
    4. How to Configure Robots.txt File

    How to Configure Robots.txt File

    International Issues
    3 3 376
    • 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.
    • seobac
      seobac last edited by

      How to configure correctly the Robots.txt File of the website. Need proper process to follow.Because a lot of my website URLs are excluded by google with the issues in the Robots.txt file.

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

        It depends on how your unique website creates URLs and how they are formatted, it also depends upon the current contents of your robots.txt file. If you can share some examples of URLs that are blocked, which you think should not be blocked, and also the contents of your robots.txt file, someone can probably tell you what you did wrong

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

          In addition to  effectdigitals comments, it partially depends on the CMS. For example a Standatrd WordPress robots.txt is formatted:

          **User-agent: *
          Disallow: /wp-admin/
          Allow: /wp-admin/admin-ajax.php**
          
          I prefer to add a link to the sitemap.xml:
          

          **User-agent: ***
          Disallow: /wp-admin/
          Allow: /wp-admin/admin-ajax.php

          Sitemap: https://www.website.com/sitemap.xml

          To allow all web crawlers access to all content, just use:

          **User-agent: ***
          Disallow:

          Refer to https://moz.com/learn/seo/robotstxt for further advise.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • How to check Robots.txt File
            fghgkjh1233
            fghgkjh1233
            1
            5
            194

          • Switch to Separate URL Configurations for International SEO?
            westcoastcraig
            westcoastcraig
            1
            3
            51

          • International SEO Robots.txt Question
            Tenlo
            Tenlo
            0
            2
            133

          • Help with hreflang configuration
            doctorSIM
            doctorSIM
            0
            3
            110

          • Blocking domestic Google's in Robots.txt
            Bush_JSM
            Bush_JSM
            0
            5
            274

          • When I upload my app in chrome web store, it shows this error - "no manifest found in package please make sure to put manifest at the root directory of the zip package". Please explain me the process of putting manifest file.
            Christy-Correll
            Christy-Correll
            0
            3
            472

          • Can I add more than one XML sitemap in my Robots.txt File?
            gfiorelli1
            gfiorelli1
            0
            3
            3.7k

          • Robots.txt issue with indexation
            SEOKeith
            SEOKeith
            0
            4
            210

          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