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. Should I include URLs that are 301'd or only include 200 status URLs in my sitemap.xml?

    Should I include URLs that are 301'd or only include 200 status URLs in my sitemap.xml?

    Intermediate & Advanced SEO
    3 3 413
    • 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.
    • Jonathan.Smith
      Jonathan.Smith last edited by

      I'm not sure if I should be including old URLs (content) that are being redirected (301) to new URLs (content) in my sitemap.xml. Does anyone know if it is best to include or leave out 301ed URLs in a xml sitemap?

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

        Hi,

        Your XML sitemap should only contain 'clean URLs'. By that I mean only 200 status URLs.

        You should not have any redirects or error pages. You should also make sure you've got the preferred format; i.e. www vs. non-www and https vs. http.

        1 Reply Last reply Reply Quote 3
        • Gyorgy.B
          Gyorgy.B last edited by

          I agree with Logan.

          If the ratio of redirected or broken URLs is too high in your sitemap XML, there is a chance that Google won't crawl it as frequently as it should because the search robot doesn't want to waste resources on these URLs.

          The only time when redirected URLs are useful in the sitemap XML is when you're migrating the domain or make IA changes and you want to make sure that the search engine discovers the 301 redirections as quickly as possible.

          1 Reply Last reply Reply Quote 1
          • 1 / 1
          • First post
            Last post
          • Old URL that has been 301'd for months appearing in SERPs
            seoaustin
            seoaustin
            0
            4
            147

          • Does Google Read URL's if they include a # tag? Re: SEO Value of Clean Url's
            Atlanta-SMO
            Atlanta-SMO
            0
            6
            1.6k

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

          • Can I dissavow links on a 301'd website?
            Dr-Pete
            Dr-Pete
            1
            7
            741

          • 301 forwarding old urls to new urls - when should you update sitemap?
            crackingmedia
            crackingmedia
            0
            4
            2.1k

          • How to do a 301 redirect for url's with this structure?
            Matthew_Edgar
            Matthew_Edgar
            0
            2
            287

          • Include Cross Domain Canonical URL's in Sitemap - Yes or No?
            WEB-IRS
            WEB-IRS
            0
            4
            1.7k

          • Don't want to lose page rank, what's the best way to restructure a url other than a 301 redirect?
            marig
            marig
            0
            6
            1.0k

          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