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
-
Can access my site using www
Hello, when I try to access my website using www i would like it to redirect to non www but instead it shows a sal error message.
On-Page Optimization | | Voopoo2 -
Is it convinient to use No-Index, Follow to my Paginated Pages?
I have a website http://www.naukrigulf.com and it has a lot of Paginated pages on its SERP and most of paginated pages are getting indexed in Google SERP. Is it beneficial to use No-Index, Follow to keep the link equity to main (first page), although we have already used rel=next and rel=prev. If Answer is "yes" is their any harm by using no-index, follow with rel=next, rel=prev.
On-Page Optimization | | vivekrathore0 -
Rel="canonical" link should they be to or from an "SEO friendly" url
Thanks for taking the time to review this. So for our example, lets use the following SEO friendly link: http://hiu.calibermediagroup.com/undergraduate-on-campus/academics/colleges/pacific-christian-college-of-ministry-and-biblical-studies/BA-biblical-studies We'll call this link the SEO VERSION The title of the college is" Pacific Christian College of Minstry and Biblical Studies" The title of the program is "BA Biblical Studies" The QUERY version of the link to this page would be something like: http://hiu.calibermediagroup.com/undergraduate-on-campus/academics/colleges/index.php?collegeid=22&programid=34 Keep in mind that the meta title, description, and keyword tags for the page are all administerable The SEO VERSION is automatically created from the title of the college, and the title of the program. Each one of these titles can be overidden with a URL slug individually. For instance, the admin could make the link: http://hiu.calibermediagroup.com/undergraduate-on-campus/academics/colleges/pacific-christian-college-of-ministry/biblical-studies by changing the slug for the college to "pacific-christian-college-of-ministry" and the slug for the program to "biblical-studies". Let's call this version the SLUG VERSION So now we have multiple ways to get to the same content. The question on the table is what is best practice for the rel="canonical" link to keep from getting dinged for duplicate content. Let's say that our SEO VERSION is the canonical link for 1 year. Then the choice was made to optimize the links thru the slugs creating the SLUG VERSION. My assumption is that we would keep the SEO VERSION as the canonical link. But then let's say 6 months later that the title of the program is changed in the admin. Now the SEO VERSION has changed and so has the canonical link. Do we lose the link juice garnered over the last 18 months? It would seem to me, that if we use the QUERY version as the canonical link, then any optimizations or changes affect everything except the canonical link, thus keeping the previous link juice earned. But is having an ugly URL as the canonical link detrimental to SEO? Please advise.
On-Page Optimization | | robertdonnell0 -
Should I include a meta description for my tags on posts
Hi Our crawl report detects that we have not put in a meta description for any of the tags we have used on our blog. (total tag words we have used is around 70). We have however, put a full description of each of our categories, do we really need to put a description for each of the tags we use? Will this really help us with SEO? Also can tags on posts be the same as the keyword your trying to rank the post/article about? For further information We are using Yoast.
On-Page Optimization | | lethalmarketing0 -
Should i make all of my pages with canonical tag
Hi, Im using thesis Wordpress theme, and their default option is "Add canonical <acronym title="Uniform Resource Locator">URL</acronym>s to your site" im just wandering if i should keep that box checked and apply canonical <acronym title="Uniform Resource Locator">URL</acronym>s to all of my pages? Thank You
On-Page Optimization | | Vmezoz0 -
Updating Old Posts
I have ~ 45 posts that I wrote 2-3 years ago that need to be updated with current information and I'm wondering if I should: Just update them Update them and change the date published to present day Publish the updated info. as a completely new post other? ... and why. I've read so many conflicting thoughts on this, really curious to hear what other Pro members think (or would do if it were them). To give a little more background, the topics of the posts are various retirement communities. Things that may have changed could be they added new amenities, new home types, prices, number of homes still available, etc. I have one page of my site that acts as sort of a directory linking to an article(post) for each community, but worried if I add all the updates as new posts I'll have to link to separate articles about each community which doesn't really make things too friendly for the reader. They want to know about what's going on with each community now...not back 3 years ago. Thoughts? Suggestions? Many thanks! Ryan
On-Page Optimization | | ryanerisman0 -
Is It better to have a blogroll style Homepage to your website? or one main post?
Does a site rank better or is it better to have a blogroll style homepage linking to all of your other post in your website. Or is it better to have one homepage post for the main keyword theme of the website, with the other post titles in a side column?
On-Page Optimization | | nyphenom0 -
Keyword use in Title tag?
To improve SEO on a particular keyword, should you use that same keyword in the title tag of multiple pages within your site? Will that help or would it actually hurt by causing pages within your site to complete against each other for that keyword? Does it make a difference if that keyword is truly used on all those different pages?
On-Page Optimization | | KHCreative0