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. Robots file include sitemap

    Robots file include sitemap

    On-Page / Site Optimization
    2 2 180
    • 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.
    • JohnHuynh
      JohnHuynh last edited by

      Hello,

      I see that google, facebook and moz... have robots.txt include sitemap at the footer.
      Eg: http://www.google.com.vn/robots.txt

      _Sitemap: http://www.google.com/sitemaps_webmasters.xml_
      _Sitemap: http://www.google.com/ventures/sitemap_ventures.xml_ Should I include my sitemap file (sitemap.xml) at the footer of robots.txt and why should do this?

      Thanks,

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

        Fore sure.  The reason is that not all sitemap files are simply sitemap.xml it may be sitemap.gzip sitemap.zip or in my case, sitmap_index.gzip.  Also, some people may not be able to include their sitemap at root.

        Including sitemap exacts in robots.txt gives a clear directive to each of the search engines exactly where to find your sitemap.  Google and Bing/Yahoo will have no issue finding it as you probably submitted it to them but crawlers like ask.com will usually look at your robots.txt and skip your site if no map is placed in it.

        1 Reply Last reply Reply Quote 4
        • 1 / 1
        • First post
          Last post
        • Two Robots.txt files
          TrulyTravel
          TrulyTravel
          0
          5
          514

        • Can Robots.txt on Root Domain override a Robots.txt on a Sub Domain?
          RyanPurkey
          RyanPurkey
          0
          3
          522

        • Sitemap include all site links or just ones we want indexed?
          Ray-pp
          Ray-pp
          0
          4
          758

        • Is it redundant to include a redirect to my canonical domain (www) in my .htaccess file since I already have the correct rel="canonical" in my header?
          jesse-landry
          jesse-landry
          0
          4
          224

        • Sitemap error is reported when using a sitemap-index generated by Yoast
          AlanBleiweiss
          AlanBleiweiss
          0
          4
          216

        • Sitemap for webshop?
          zarkas
          zarkas
          0
          3
          687

        • Is having this sitemap worthwhile?
          Cornel_Ilea
          Cornel_Ilea
          0
          2
          335

        • Robots.txt file
          Greenman
          Greenman
          0
          3
          652

        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