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. 301 redirects inside sitemaps

    301 redirects inside sitemaps

    Technical SEO Issues
    4 3 12.9k
    • 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.
    • jmsobe
      jmsobe last edited by

      I am in the process of trying to get google to follow a large number of old links on site A to site B. Currently I have 301 redirects as well a cross domain canonical tags in place.

      My issue is that Google is not following the links from site A to site B since the links no longer exist in site A.  I went ahead and added the old links from site A into site A's sitemap.

      Unfortunately Google is returning this message inside webmaster tools:

      When we tested a sample of URLs from your Sitemap, we found that some URLs redirect to other locations. We recommend that your Sitemap contain URLs that point to the final destination (the redirect target) instead of redirecting to another URL.

      However I do not understand how adding the redirected links from site B  to the sitemap in site A  will remove the old links. Obviously Google can see the 301 redirect and the canonical tag but this isn't defined in the sitemap as a direct correlation between site A and B.

      Am I missing something here?

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

        Your sitemap should only contain current pages you want indexed on Site A, not the pages that you're redirecting to Site B.  It sounds like you have the right steps in place and that you will see your old links get removed over time.

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

          As a best practice when you move content or change domains it is advisable to have 2 site maps - #1. Few days before the migration and #2. immediately after the migration. This will allow Google to understand that your content has moved.

          Additionally, making sure you notify Google by using "change of address" tool in Google web master tools.

          If your site is a high authority site then large percentage of your new pages will get indexed pretty quickly (24-48 hours) and it may take upto 30 days to see full indexation.

          One more step is to start building links to the new site. New links can also boost the indexation for the new site.

          jmsobe 1 Reply Last reply Reply Quote 0
          • jmsobe
            jmsobe @ninjamarketer last edited by

            In this case site B is not a new site. I am not moving all traffic to site B only a portion which included duplicate urls that were software generated between domains.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            • 301 Redirects Showing As 307 Redirects
              0
              1
              64

            • To 301 redirect or not...
              Immanuel
              Immanuel
              0
              7
              147

            • Redirect a 301 Redirect
              RedCaffeine
              RedCaffeine
              0
              5
              98

            • 301 Redirect
              KaneJamison
              KaneJamison
              0
              8
              408

            • 301 redirects reverting to 302 redirects
              Devanur-Rafi
              Devanur-Rafi
              0
              6
              532

            • 301 Redirect Domain or 301 Redirect Domain + Interior Pages
              Room214
              Room214
              0
              7
              1.1k

            • Google Webmaster redirect vs 301 redirect
              lavellester
              lavellester
              0
              2
              493

            • 301 Redirects
              KT684
              KT684
              0
              5
              711

            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