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. Intermediate & Advanced SEO
    4. XML Sitemap instruction in robots.txt = Worth doing?

    XML Sitemap instruction in robots.txt = Worth doing?

    Intermediate & Advanced SEO
    4 3 843
    • 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.
    • AshSEO2011
      AshSEO2011 last edited by

      Hi fellow SEO's,

      Just a quick one, I was reading a few guides on Bing Webmaster tools and found that you can use the robots.txt file to point crawlers/bots to your XML sitemap (they don't look for it by default).

      I was just wondering if it would be worth creating a robots.txt file purely for the purpose of pointing bots to the XML sitemap?

      I've submitted it manually to Google and Bing webmaster tools but I was thinking more for the other bots (I.e. Mozbot, the SEOmoz bot?).

      Any thoughts would be appreciated! 🙂

      Regards,

      Ash

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

        It is not going to make any difference. Time is better spend in fixing crawling & indexing issues of the website.

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

          I think it's worth it as it should only take a few minutes to set up, and it's good to have a robots.txt, even if it's allowing everything.  Put a text file named "robots.txt" in your root directory with:

          <code>User-agent: *
          Disallow: 
          
          Sitemap: http://www.yourdomain.com/none-standard-location/sitemap.xml</code> 
          

          Read more about robots.txt here: http://www.seomoz.org/learn-seo/robotstxt.

          AshSEO2011 1 Reply Last reply Reply Quote 1
          • AshSEO2011
            AshSEO2011 @john4math last edited by

            Thanks for the answer and link John!

            Regards,

            Ash

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            • Our parent company has included their sitemap links in our robots.txt file - will that have an impact on the way our site is crawled?
              GlobeRunner
              GlobeRunner
              0
              2
              197

            • Xml sitemap Issue... Xml sitemap generator facilitating only few pages for indexing
              Paddy_Moogan
              Paddy_Moogan
              0
              6
              153

            • I have two sitemaps which partly duplicate - one is blocked by robots.txt but can't figure out why!
              Chris.Menke
              Chris.Menke
              0
              5
              114

            • Should all pages on a site be included in either your sitemap or robots.txt?
              RossFruin
              RossFruin
              1
              8
              162

            • Sitemap.xml
              Richard555
              Richard555
              0
              3
              251

            • XML Sitemap index within a XML sitemaps index
              Martijn_Scheijbeler
              Martijn_Scheijbeler
              0
              2
              1.1k

            • Video XML Sitemap
              MargaritaS
              MargaritaS
              0
              8
              447

            • Can a XML sitemap index point to other sitemaps indexes?
              KeriMorgret
              KeriMorgret
              0
              3
              1.9k

            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