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. Technical SEO Issues
    4. How does a sitemap affect the definition of canonical URLs?

    How does a sitemap affect the definition of canonical URLs?

    Technical SEO Issues
    4 3 983
    • 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.
    • emilyburns
      emilyburns last edited by

      We are having some difficulty generating a sitemap that includes our SEO-friendly URLs (the ones we want to set as canonical), and I was wondering if we might be able to simply use the non-SEO-friendly, non-canonical URLs that the sitemap generator has been producing and then use 301 redirects to send them to the canonical. Is there a reason why we should not be doing this? We don't want search engines to think that the sitemap URLs are more important than the pages to which they redirect.

      How important is it that the sitemap URLs match the canonical URLs? We would like to find a solution outside of the generation of the sitemap itself as we are locked into using a vendor’s product in order to generate the sitemap.

      Thanks!

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

        It's extremely important the sitemap URLs match the canonical URLs that people arrive at. If they do not match the search engine will consider the sitemap "dirty" and not valuable as it is not accurate to the actual layout of the website.

        Essentially, the search engines consider a sitemap URL that does not return an HTTP 200 status a bad URL and reject the sitemap. This is absolutely something that you should work to correct.

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

          Bing has said that anything over 1% of bad URLs in a sitemap constitutes a dirty sitemap to them, so yes, it is very important.

          Are you able to share the system that you're using? Others may have experience in working around this already.

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

            Thank you for your responses.

            We use Endeca, but while they have a site map generator, for whatever reason they are unable to produce URLs that match our new SEO-friendly vanity URLs. Right now we've had no site map for months, as we're waiting to try and find a solution to this problem.

            From what I'm gathering, this is the right approach? As in, it would do more harm than good to upload a "bad" sitemap. Yes?

            Also, there seems to be no way to get around this with a clever redirect scheme. Am I right in this also?

            In which case, it may boil down to choosing between an accurate sitemap and SEO'd URLs. Not sure which would be more important.

            Website's here, if that's useful: www.pli.edu

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            • Sitemap and canonical
              Martijn_Scheijbeler
              Martijn_Scheijbeler
              0
              2
              43

            • Canonical URL Change
              DonnaDuncan
              DonnaDuncan
              0
              2
              148

            • Canonical sitemap URL different to website URL architecture
              StephanSolomonidis
              StephanSolomonidis
              0
              3
              105

            • Absolute URL or Relative URL in my sitemap?
              brianvest
              brianvest
              0
              3
              9.6k

            • When to use canonical urls
              Dr-Pete
              Dr-Pete
              0
              5
              247

            • Canonical URL
              bronxpad
              bronxpad
              0
              3
              263

            • How to find original URLS after Hosting Company added canonical URLs, URL rewrites and duplicate content.
              Nobody1560986989723
              Nobody1560986989723
              0
              2
              366

            • What is Canonical URL Tag
              alhallinan
              alhallinan
              1
              5
              1.2k

            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