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
-
Is it OK to put a Blog Post and a Page within the same folder on a Wordpress hosted website?
Our education company website (hosted on wordpress) has evolved into having content on key topics distributed across both blog posts and pages. For example, "top-pharmaceutical-companies" lends itself to being published as a page. However other content "top-pharmaceutical-companies-usa-2016" lends itself to being published as a blog post as it's more temporal in nature. Now we'd like to establish topical domain relevance for the root keyword "pharmaceutical companies" and build a folder www./ourcompany/pharmaceutical-companies/ But when we look through our blog content, we notice we have "Blog Posts" that would be an excellent fit for certain folders within our "Page" url structure. So would it be OK to amend these blogs post urls addresses to place them within the folder structure of the pages.
On-Page Optimization | | GetReskilled0 -
Too many posts in a category?
Does having a post in too many categories have a negative effect on SEO? I have some posts in around 15 categories on my site.
On-Page Optimization | | SamCUK0 -
Product Landing page- Key Words used too often.
Hi There to everyone. I'm very new at SEO so I appreciate all the help I can get! Question: on my e-commerce website, one heading is "USB KEYS", then when you click on that, you get a page full of products with the word "USB KEYS" on the title, such as "4gig black USB KEY".. So then I do the MOZ Page grader and get a low score because on the product landing page it thinks I've used the word "USB KEYS" too much, like 72 times,.. But I have to use it- Cause it has to be in the product title! Is this ok!? thanks
On-Page Optimization | | cowhidesdirect0 -
Does Google use 302's to pass value to the target page?
Hi, I've received the below advice, is this correct? Throughout the site, the 302 (moved temporarily) status code is used for redirects, which Google will use to pass value to the target page. Is this correct? I was under the impression a 301 was used to pass value to the target page? Could someone explain the difference between a 301 and a 302, I'm not 100% sure. Thanks, Nathan
On-Page Optimization | | Heehaw0 -
Dealing with thin content/95% duplicate content - canonical vs 301 vs noindex
My client's got 14 physical locations around the country but has a webpage for each "service area" they operate in. They have a Croydon location. But a separate page for London, Croydon, Essex, Luton, Stevenage and many other places (areas near Croydon) that the Croydon location serves. Each of these pages is a near duplicate of the Croydon page with the word Croydon swapped for the area. I'm told this was a SEO tactic circa 2001. Obviously this is an issue. So the question - should I 301 redirect each of the links to the Croydon page? Or (what I believe to be the best answer) set a rel=canonical tag on the duplicate pages). Creating "real and meaningful content" on each page isn't quite an option, sorry!
On-Page Optimization | | JamesFx0 -
New Articles and Posts - what key word to focus on?
I have a few pages on my site focused on key words...such as office design Birmingham. The contact page and a tag page. http:www.businessinteriors.co.uk/tag/office-design-birmingham/ Now I recently published an article about a big new office design in birmingham for a company....and I tagged it as office design birmingham naturally...put it in the category for Birmingham office news....and then also put office design Birmingham at key strategic seo points.... the result being this article now seems to rank higher than my office design Birmingham pages?! My question is this....how should I optimise posts? Lets say I put 3 or 4 posts on my webiste/blog about an "office design Birmingham"....I dont want to rank for "HSBC office design birmingham"....I want the article to lend weight to my office design Birmingham credentials ...so I focus on office design birmingham? I dont really want my posts to rank very high though...I want them to help my key pages "float". I'm very confused how to optimise my posts. If I do it too well, they out rank the "old" pages that I actually want people to visit?! Mmm, thanks for pointers!
On-Page Optimization | | bizint0 -
How do I avoid duplicate content and page title errors when using a single CMS for a website
I am currently hosting a client site on a CMS with both a Canadian and USA version of the website. We have the .com as the primary domain and the .ca is re-directed from the registrar to the Canadian home page. The problem I am having is that my campaign produces errors for duplicate page content and duplicate page titles. Is there a way to setup the two versions on the CMS so that these errors do not get produced? My concern is getting penalized from search engines. Appreciate any help. Mark Palmer
On-Page Optimization | | kpreneur0 -
Using new domain in existing website
We have already a site and we want to make business in another country. We don't want to make a copy of our site because it requires more resources, but we want to use a different domain because the business will be run by a partner in that country. The idea is to make a folder in our site, www.mysite.com/countryname/ and associate a new domain www.newdomain.com, so when users go to the new domain they see the content under www.mysite.com/country/. Since de www.newdomain.com will use DNS redirection, the current domain won't be seen. Is this correct from a SEO perspective? Thanks!
On-Page Optimization | | Xopie1