Skip to content
    Moz logo Menu open Menu close
    • Products
      • Moz Pro
      • Moz Pro Home
      • Moz Local
      • Moz Local Home
      • STAT
      • Moz API
      • Compare SEO Products
      • Moz Data
    • Free SEO Tools
      • Domain Analysis
      • Keyword Explorer
      • Link Explorer
      • Competitive Research
      • MozBar
      • More Free SEO Tools
    • Learn SEO
      • Beginner's Guide to SEO
      • SEO Learning Center
      • Moz Academy
      • SEO Q&A
      • Webinars, Whitepapers, & Guides
    • Blog
    • Why Moz
      • Agency Solutions
      • Enterprise Solutions
      • Small Business Solutions
      • Case Studies
      • The Moz Story
      • New Releases
    • Log in
    • Log out
    • Products
      • Moz Pro

        Your all-in-one suite of SEO essentials.

      • Moz Local

        Raise your local SEO visibility with complete local SEO management.

      • STAT

        SERP tracking and analytics for enterprise SEO experts.

      • Moz API

        Power your SEO with our index of over 44 trillion links.

      • Compare SEO Products

        See which Moz SEO solution best meets your business needs.

      • Moz Data

        Power your SEO strategy & AI models with custom data solutions.

      Discover Brand Authority
      Moz Pro

      Discover Brand Authority

      Learn More
    • Free SEO Tools
      • Domain Analysis

        Get top competitive SEO metrics like DA, top pages and more.

      • Keyword Explorer

        Find traffic-driving keywords with our 1.25 billion+ keyword index.

      • Link Explorer

        Explore over 40 trillion links for powerful backlink data.

      • Competitive Research

        Uncover valuable insights on your organic search competitors.

      • MozBar

        See top SEO metrics for free as you browse the web.

      • More Free SEO Tools

        Explore all the free SEO tools Moz has to offer.

      What is your Brand Authority?
      Moz

      What is your Brand Authority?

      Take the quiz
    • Learn SEO
      • Beginner's Guide to SEO

        The #1 most popular introduction to SEO, trusted by millions.

      • SEO Learning Center

        Broaden your knowledge with SEO resources for all skill levels.

      • On-Demand Webinars

        Learn modern SEO best practices from industry experts.

      • How-To Guides

        Step-by-step guides to search success from the authority on SEO.

      • Moz Academy

        Upskill and get certified with on-demand courses & certifications.

      • SEO Q&A

        Insights & discussions from an SEO community of 500,000+.

      June 3 & 4, 2024, Seattle
      MozCon

      June 3 & 4, 2024, Seattle

      Get tickets
    • Blog
    • Why Moz
      • Small Business Solutions

        Uncover insights to make smarter marketing decisions in less time.

      • Agency Solutions

        Earn & keep valuable clients with unparalleled data & insights.

      • Enterprise Solutions

        Gain a competitive edge in the ever-changing world of search.

      • The Moz Story

        Moz was the first & remains the most trusted SEO company.

      • Case Studies

        Explore how Moz drives ROI with a proven track record of success.

      • New Releases

        Get the scoop on the latest and greatest from Moz.

      Surface actionable competitive intel
      New Feature: Moz Pro

      Surface actionable competitive intel

      Learn More
    • Log in
      • Moz Pro
      • Moz Local
      • Moz Local Dashboard
      • Moz API
      • Moz API Dashboard
      • Moz Academy
    • Avatar
      • Moz Home
      • Notifications
      • Account & Billing
      • Manage Users
      • Community Profile
      • My Q&A
      • My Videos
      • Log Out

    The Moz Q&A Forum

    • Forum
    • Questions
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. Home
    2. SEO Tactics
    3. On-Page Optimization
    4. How to deal with rel=canonical when using POST parameters

    How to deal with rel=canonical when using POST parameters

    On-Page Optimization
    relcanonical crawling post
    4
    6
    54
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with question management privileges can see it.
    • mjk26
      mjk26 Subscriber last edited by

      Hi there,
      I currently have a number of URLs throughout my site of the form:

      https://www.concerthotels.com/venue-hotels/o2-academy-islington-hotels/256133#checkin_4-21-2024&checkout_4-22-2024&rooms_1&guests_2&artistid_15878:256133

      This sends the user through to a page showing hotels near the O2 Academy Islington. Once the page loads, my code looks at the parameters specified in the # part of the URL, and uses them to fill in a form, before submitting the form as a POST. This basically reloads the page, but checks the availability of the hotels first, and therefore returns slightly different content to the "canonical" version of this page (which simply lists the hotels before any availability checks done).

      Until now, I've marked the page that has had availability checks as noindex,follow. But because the form was submitted with POST parameters, the URL looks exactly like the canonical one.

      So the two URLs are identical, but due to POST parameters, the content is slightly different. Does that make sense?

      My question is, should both versions of this page be marked as index,follow?

      Thanks
      Mike

      Jiyaroydm 1 Reply Last reply Reply Quote 0
      • Moazamwriter
        Moazamwriter last edited by

        Handling rel=canonical with POST parameters indeed demands careful handling. Distinguishing content variations and marking the primary version, like showcasing hotels without availability checks, as canonical aligns with SEO principles, ensuring search engines prioritize the main version for enhanced search performance. It's like optimizing web content as intricate as selecting the perfect design from a Mardi Gras PNG collection for a vibrant online presence.

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

          waiting a good reply and i also facing this issue. checking my website

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

            waiting a good reply and i also facing this issue. checking my website

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

              waiting a good reply and i also facing this issue. checking my website

              1 Reply Last reply Reply Quote 0
              • Jiyaroydm
                Jiyaroydm @mjk26 last edited by

                @mjk26 Handling rel=canonical with POST parameters requires careful consideration. Despite identical URLs, the content differs due to the POST parameters. It's wise to mark both versions as index,follow, given Google's focus on user signals. For clarity, let's consider an example: Say, you have a page showcasing hotels near Premier Inn London Angel. One version lists hotels, while the other checks hotel availability before listing. Mark the version without availability checks as canonical to signify its primary content. This ensures search engines prioritize the main version while still acknowledging the alternate content. This approach aligns with SEO principles and enhances search performance.

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post

                Got a burning SEO question?

                Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


                Start my free trial


                Browse Questions

                Explore more categories

                • Moz Tools

                  Chat with the community about the Moz tools.

                • SEO Tactics

                  Discuss the SEO process with fellow marketers

                • Community

                  Discuss industry events, jobs, and news!

                • Digital Marketing

                  Chat about tactics outside of SEO

                • Research & Trends

                  Dive into research and trends in the search industry.

                • Support

                  Connect on product support and feature requests.

                • See all categories

                Related Questions

                • Abhijay19

                  I am trying to use Page Optimization feature but it is giving me error.

                  Hi, I am trying to track a page optimization feature for one of my project, https://www.360degreespropertyinspections.com.au for keyword: property inspections melbourne but i keep getting this below error: "Page Optimization Error There was a problem loading this page. Please make sure the page is loading properly and that our user-agent, rogerbot, is not blocked from accessing this page." I checked robots.txt file, it all looks fine. Not sure what is the problem? Is it a problem with Moz or the website?

                  On-Page Optimization | | Abhijay19
                  1
                • rootandbranch

                  Does using Yoast variables for meta content overwrite any pages that already have custom meta content?

                  The question is about the Yoast plugin for WP sites. Let's say I have a site with 200 pages and custom meta descriptions / title tags already in place for the top 30 pages. If I use the Yoast variable tool to complete meta content for the remaining pages (and make my Moz issue tracker look happier), will that only affect the pages without custom meta descriptions or will it overwrite even the pages with the custom meta content that I want? In this situation, I do want to keep the meta content that is already in place on select pages. Thanks! Zack

                  On-Page Optimization | | rootandbranch
                  0
                • isaac663

                  Canonical in Shop Areas of an E-commerce Site. When and Where?

                  Hi Guys. A quick one about duplicate content... So we have a lot of pages that are very similar on our site, but are actually different products. e.g)  Our Fortnight view refills and our week to view refills. Our MOZ report defines this as duplicate content. Question:  Would a canonical tag be the way to go to 'remove' this duplicate content? And if so, which page should it point back to?  Just picking one of the products?  Or the higher level Landing page? Many thanks in advance... Isaac.

                  On-Page Optimization | | isaac663
                  0
                • --Chantal--

                  Does anyone use No Sweat WP Internal Links Lite?

                  Would you recommend it? Are there any other plugins that you'd recommend instead?

                  On-Page Optimization | | --Chantal--
                  0
                • seowhiskey

                  Can I use the same text in my meta description as I put in my post excerpt?

                  Hi, I'm just trying to understand the right way to optimise my blog posts and this is likely a dumb question... but to what extent should the text in my meta description differ from the text in my post excerpts? cheers, Andrew

                  On-Page Optimization | | seowhiskey
                  0
                • Dirty

                  Removing old URLs that are being used for my on page optimization?

                  Is there a way to remove old URL's that are still being used for my keywords for my on page optimization? They are giving me grades of F since they no longer exist and if I change the URL to the current one, the grade becomes an A, but they are still showing after the new crawl.

                  On-Page Optimization | | Dirty
                  0
                • shaz_lhr

                  Canonical tag help

                  Hi, We have a product which is marketed by affiliates . Affiliates send referrals to our sale page by adding their affiliate IDs to our product page like http://www.mysite.com/products.php?ref= 12345. We want to avoid the content duplication impression to Google by using canonical tags but we are not clear about its use. Should we use it on http://www.mysite.com/products.php ( actual page) or we should create temporary pages for each referral id  i.e http://www.mysite.com/products.php?ref= 12345 and then add canonical tags to all those pages linking to proper page i.e http://www.mysite.com/products.php ? Thanks, shaz

                  On-Page Optimization | | shaz_lhr
                  0
                • BostonWright

                  Is it ok to use encoded special characters in meta titles?

                  I've read blog posts stating that encoding special characters in title tags is both ok and not ok. Any definitive answer out there? Do the extra characters from adding encoding count towards the total number of characters that Google displays in SERPs? Or do they just count as one character?

                  On-Page Optimization | | BostonWright
                  0
                Moz logo
                • Contact
                • Community
                • Free Trial
                • Terms & Privacy
                • Accessibility
                • Jobs
                • Help
                • News & Press
                • MozCon
                © 2021 - 2024 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.

                Looks like your connection to Moz was lost, please wait while we try to reconnect.