How to deal with rel=canonical when using POST parameters
-
Hi there,
I currently have a number of URLs throughout my site of the form: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 -
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.
-
waiting a good reply and i also facing this issue. checking my website
-
waiting a good reply and i also facing this issue. checking my website
-
waiting a good reply and i also facing this issue. checking my website
-
@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.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
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.
Related Questions
-
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 | | Abhijay191 -
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 | | rootandbranch0 -
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 | | isaac6630 -
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 -
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 | | seowhiskey0 -
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 | | Dirty0 -
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_lhr0 -
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 | | BostonWright0