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. What should my main sitemap URL be?

    What should my main sitemap URL be?

    Intermediate & Advanced SEO
    6 3 2.4k
    • 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.
    • McTaggart
      McTaggart last edited by

      Hi Mozzers - regarding the URL of a website's main website:

      http://example.com/sitemap.xml is the normal way of doing it but would it matter if I varied this to:

      http://example.com/mainsitemapxml.xml or similar?

      I can't imagine it would matter but I have never moved away from the former before - and one of my clients doesn't want to format the URL in that way.

      What the client is doing is actually quite interesting - they have the main sitemap: http://example.com/sitemap.xml - that redirects to the sitemap file which is http://example.com/sitemap (with no xml extension) - might that redirect and missing xml extension the redirected to sitemap cause an issue? Never come across such a setup before.

      Thanks in advance for your feedback - Luke

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

        hi  Luke Rowlands,

        You can use another name (although i can´t come up with a reason why a client wouldn´t want that format in the url).  You should however than

        Link to it in your robots.txt or submit the sitemap directly to the search engines

        McTaggart 1 Reply Last reply Reply Quote 2
        • Roman-Delcarmen
          Roman-Delcarmen last edited by

          Is not so weird, Yoast SEO generate multiples sitemaps based on pages, categories or even images and use the same structure, redirect from sitemap.xml to another url

          Talking about the format
          The Sitemap protocol enables you to provide details about your pages to search engines However, in addition to the XML protocol, there's anothers format supported such as RSS feeds and text files, which provide more limited information.

          So there are many option to create a sitemap but the most common and accepted is XML

          Source > Sitemap.org

          McTaggart 1 Reply Last reply Reply Quote 2
          • McTaggart
            McTaggart @Roman-Delcarmen last edited by

            Thanks Roman - that is helpful - with Yoast - do they redirect from one sitemap to another sitemap? Is that acceptable to Google (the redirect from one sitemap URL to another sitemap URL?).

            1 Reply Last reply Reply Quote 0
            • McTaggart
              McTaggart @Moreleads last edited by

              Thanks for your help Ramon!

              1 Reply Last reply Reply Quote 0
              • Roman-Delcarmen
                Roman-Delcarmen last edited by

                Yes there is no problem with that, in fact redirect to a list of sitemaps, you can make the test

                1 Reply Last reply Reply Quote 1
                • 1 / 1
                • First post
                  Last post
                • This url is not allowed for a Sitemap at this location error using pro-sitemaps.com
                  lgrozeva
                  lgrozeva
                  0
                  3
                  537

                • Sitemap: unique sitemap or different sitemaps by Country
                  ConclusionDigital
                  ConclusionDigital
                  0
                  4
                  2.3k

                • Should I include URLs that are 301'd or only include 200 status URLs in my sitemap.xml?
                  Gyorgy.B
                  Gyorgy.B
                  0
                  3
                  413

                • Sitemap generator which only includes canonical urls
                  DirkC
                  DirkC
                  0
                  2
                  765

                • Multiple Sitemaps Vs One Sitemap and Why 500 URLs?
                  Leonie-Kramer
                  Leonie-Kramer
                  0
                  2
                  270

                • URL Parameters in XML sitemap?
                  webmethod
                  webmethod
                  0
                  3
                  6.4k

                • Moving career site to new URL from main site. Will it hurt SEO for main page?
                  hecklerponics
                  hecklerponics
                  0
                  2
                  78

                • Canonical URLs and Sitemaps
                  379seo
                  379seo
                  0
                  7
                  12.7k

                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