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. URL query strings and canonical tag

    URL query strings and canonical tag

    Technical SEO Issues
    3 2 6.5k
    • 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.
    • bizarro1000
      bizarro1000 last edited by

      Hi,

      I have recently been getting my comparison website redesigned and developed onto wordpress and the site is now 90% complete. Part of the redesign has meant that there are now dynamic urls in the format:

      http://www.mywebsite.com/10-pounds-productss/?display=cost&value=10

      I have other pages similar to this but with different content for the different price ranges and these are linked to from the menus:

      http://www.mywebsite.com/20-pounds-products/?display=cost&value=20

      Now my questions are:

      1. I am using Joost's All-in-one SEO plugin and this adds a canonical tag to the page that is pointing to http://www.mywebsite.com/10-pounds-products/ which is the permalink. Is this OK as it is or should i change this to http://www.mywebsite.com/10-pounds-products/?display=cost&value=10

      2. Which URL will get indexed, what gets shown as the display URL in the SERPs and what page will users land on? I'm a bit confused so apologies if these seem like silly questions.

      Thanks

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

        If each URL with a different query string displays different information then they are effectively different pages, regardless of whether they're based on the same page framework or not (in this case /10-pounds-products/) - you only need to use a blanket canonical tag like the one' Joost's plugin gives if you want all these pages to be considered the same thing.

        If you would like these pages to appear in the SERPs then you should absolutely NOT have a canonical tag telling Google all query string versions of /10-pounds-products/ are the same - not least because it's not true.

        In answer to your questions -

        1. If you can change it to make whatever query string version you're viewing the canonical URL then do so otherwise I would remove it completely.

        2.if you keep the canonical tag then only /10-pounds-products/ will be listed in the SERPs

        bizarro1000 1 Reply Last reply Reply Quote 1
        • bizarro1000
          bizarro1000 @DigitalGuru last edited by

          Thanks for your response Tom.

          Essentially there is only one query string variation that is live and linked to for the 10 pounds url.

          /10-pounds-products/     =>     /10-pounds-productss/?display=cost&value=10

          The text content is identical on both URLs however the query results are obviously different.

          I don't think there is a way to remove the canonical tag aside from removing the plugin so I may have to go with changing it to the query string.

          Ideally I would like for users to see the non-query version in the SERPs and the click through to the the query version of the page. Not sure that's possible now though I will speak to the developer to see if this issue is avoidable.

          Thanks again

          Rosh

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • How to Remove Old Comment Page Query String URLs
            jonmifsud
            jonmifsud
            0
            2
            151

          • Is rel=canonical needed for URLs with Google Analytics query strings?
            ThompsonPaul
            ThompsonPaul
            0
            4
            1.9k

          • No indexing url including query string with Robots txt
            HMK-NL
            HMK-NL
            0
            7
            19.2k

          • Query strings in Canoncials URLs
            irvingw
            irvingw
            0
            4
            373

          • Canonical solution for query strings?
            Saijo.George
            Saijo.George
            0
            6
            2.4k

          • Crawl reveals hundreds of urls with multiple urls in the url string
            irvingw
            irvingw
            0
            5
            455

          • Rel canonical with index follow on query string URLs
            panini
            panini
            0
            4
            1.4k

          • 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