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. Rel=canonical on pre-migration website

    Rel=canonical on pre-migration website

    Intermediate & Advanced SEO
    3 2 195
    • 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.
    • ExploreConsulting
      ExploreConsulting last edited by

      I have an e-commerce client that is migrating platforms. The current structure of their existing website has led to what I would believe to be mass duplicate content. They have something north of 150,000 indexed URLs. However, 143,000+ of these have query strings and the content is identical to pages without any query string. Even so, the site does pretty well from an organic stand point compared to many of its direct competitors.

      Here is my question:

      (1) I am assuming that I should go into WMT (Google/Bing) and tell both search engines to ignore query strings.

      (2) In a review of back links, it does appear that there is a mish mash of good incoming links both to the clean and the dirty URLs. Should I add a rel=canonical via a script to all the pages with query strings before we make our migration and allow the search engines some time to process?

      (3) I'm assuming I can continue to watch the indexation of the URLs, but should I also tell search engines to remove the URLs of the dirty URLs?

      (4) Should I do Fetch in WMT? And if so, what sequence should I do for 1-4.

      How long should I wait between doing the above and undertaking the migration?

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

        Hi there

        Any query string URLs should be canonicalized to their static URL. You can also tell Google how to handle these URLs in Search Console. I wouldn't tell Google to ignore them, however.

        Do not tell Google to remove the dirty URLs - if you have a canonical tag and review Search Console, you will be fine - that's what these tags and resources are for.

        Your test site should be noindexed and blocked by robots.txt so it's not being picked up by crawlers. You should be making sure your pages are canonicalized to the proper URLs well before migration. Also, make sure your sure you review Google's migration resources as well.

        Hope this helps! Good luck!

        ExploreConsulting 1 Reply Last reply Reply Quote 2
        • ExploreConsulting
          ExploreConsulting @PatrickDelehanty last edited by

          Thanks -

          I'm not terribly worried about the test site as we use a password protected and IP blocked development domain that is completely different from the root domain. Its not even a subdomain. Eg. www.realsite.com and www.testdomain.com

          My dev team is trying to get me to wait and just do a massive 301 redirect > moving the URLs with the query strings (old site) to new page (e.g. multiple many:1) vs doing the canoncial. The new site won't create the query string issue.

          The challenge I see is that the 150,000+ indexed URLs really should be around 7,000, so the organic value of the real 7,000 pages (other than possibly the root domain) are probably getting punished, even though the site is doing decently well.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • Rel-canonical vs Href-lang use for an international website.
            GastonRiera
            GastonRiera
            0
            2
            76

          • Should I put rel next and rel prev and canonical on tags pages
            donsilvernail
            donsilvernail
            1
            2
            43

          • Would you redirect Website A to Website B, when Website B is in the middle of a HTTP=>HTTPS migration?
            jeremycabral
            jeremycabral
            0
            3
            62

          • Duplicate Content Errors new website. How do you know which page to put the rel canonical tag on?
            artscube.biz
            artscube.biz
            0
            5
            74

          • Rel="canonical" and rel="alternate" both necessary?
            Dr-Pete
            Dr-Pete
            0
            10
            9.3k

          • How use Rel="canonical" for our Website
            Dr-Pete
            Dr-Pete
            0
            6
            159

          • To "Rel canon" or not to "Rel canon" that is the question
            Dr-Pete
            Dr-Pete
            0
            10
            728

          • Rel Canonical = WHAT
            SEObleu.com
            SEObleu.com
            0
            3
            403

          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