Is this the correct way of using rel canonical, next and prev for paginated content?
-
Hello Moz fellows,
a while ago (3-4 years ago) we setup our e-commerce website category pages to apply what Google suggested to correctly handle pagination.
We added rel "canonicals", rel "next" and "prev" as follows:
On page 1:
On page 2:
On page 3:
And so on, until the last page is reached:
Do you think everything we have been doing is correct?
I have doubts on the way we have handled the canonical tag, so, any help to confirm that is very appreciated!
Thank you in advance to everyone.
-
Fantastic, thank you Paul! Those links are very useful, and I might have already read those when I setup those canonicals (I jut forgot after a few years to have worked on that!)
I'll check them out carefully again
Appreciated your help and prompt reply
All the best,
Fabrizio
-
Yup, that's exactly correct - just the way you first proposed.
And if you want it straight from the horse's mouth, here's Google's own description of implementation best practice for your exact situation:
rel="next" and rel="previous" on the one hand and rel="canonical" on the other constitute independent concepts.Both declarations can be included in the same page.
For example, http://www.example.com/article?story=abc&page=2&sessionid=123 may contain:
Note the canonical for the page is self referential to the version of the page including the basic variable that defines the actual page, leaving out the more dynamic variable of sessionID - the same way you'd want to leave out the dynamic size or colour variables, for example, which are specific to only that visit.
From https://webmasters.googleblog.com/2011/09/pagination-with-relnext-and-relprev.html
With a big whack of followup confirmation in this discussion with Google Engineer Maile Ohye https://productforums.google.com/forum/#!msg/webmasters/YbXqwoyooGM/0XTh-gIxS7YJDon't forget you can also use the tools in GSC to help GoogleBot understand which of your URL variables are indexable and which should be ignored. Only helps Google itself, but hey, every little bit counts
Good luck!
Paul
-
Thank you Paul, so, what I have been doing so far is correct, right? Here it is again, please, confirm so I can close this thread:
On page 1:
On page 2:
On page 3:
And so on, until the last page is reached:
Is this the correct way to do it then?
-
You want to have each of your paginated category pages include a self-referential canonical tag, Fabrizo, for exactly the reason you mention - to protect the paginated pages from additional variables creating more dupe indexed pages.
Paul
-
Thank you for your reply, but I am sorry Logan, I am confused, you said:
Regarding your recent question about links, a self-referring canonical on those pages will handle that.
So, if I had to follow what you said above, I should add the following canonicals on these pages:
Page 1:
http://www.mysite.com/category/
Page 2:
http://www.mysite.com/category/?cp=2
Page 3:
http://www.mysite.com/category/?cp=3
But then you said that I don't have to put any canonicals except for the first page... so, I am confused... sorry!
Fact is, all pages may have extra parameters that could cause duplicates, therefore, how can I tackle that without adding a canonical on each page pointing to the "clean" URL without extra parameters? I hope you understand what I mean...
-
No, you do not need a canonical on any page other than page=1. Refer to Andy's set of examples above. What he laid out is exactly how I markup for pagination.
-
Thank you Logan.
So, even if I am on page 4, the canonical must points always to the root? I think I read somewhere that it should point to the page URL without the extra parameters like this:
http://www.mysite.com/category/?cp=4
Am I wrong?
-
Yes, you only need the canonical tag on the root (as a self-referring canonical) and on page=1 of your paginated URLs. Regarding your recent question about links, a self-referring canonical on those pages will handle that.
Example:
On this URL- http://www.mysite.com/category/?cp=4&orderby=title&view=list
Canonicalize to-Â http://www.mysite.com/category/
Hope that's helpful!
-
I am sorry, but I haven't received an answer to my last inquiry above, I can't close this thread.
-
Another question: what about links on those pages that can take the crawl to possible duplicate because of parameters added to the URL like:
http://www.mysite.com/category/?cp=4&orderby=title
http://www.mysite.com/category/?cp=4&orderby=title&view=list
etc.? That's probably why we added the canonical I talked about above.... your thoughts?
-
Sorry, it is my understanding I have to leave the canonical just on the first page, is that correct?
Thank you again.
-
Oh, thank you Andy and Logan! So, can I remove the canonical tag altogether?
Thank you so much!
All the best,
Fabrizio
-
I'm with Logan here, Fabrizio. Rel next & prev pagination removes the need to canonical as well. So it would look like this:
Page 1:
Page 2:
Page 3:
It's Google way of understanding that there are similar pages that you wish to lead visitors to.
-Andy
-
Hi,
You don't need the self-referring canonical tags on each of the paginated URLs. Â Other than that it looks good to go.
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
-
Canonical for multi store
Hello all, I need to make sure I am doing this correctly; I have one website and with two stores (content is mostly identical) with the following canonical tags; UK/EU Store: thespacecollective.com USA/ROW Store: thespacecollective.com/us/ Am I right in thinking that this is incorrect and that only one site should be referencing with the canonical tag? ie; UK/EU Store:Â thespacecollective.com USA/ROW Store:Â thespacecollective.com/us/ (please note the removed /us/ from the end of the URL)
Intermediate & Advanced SEO | | moon-boots0 -
Duplicate content - how to diagnose duplicate content from another domain before publishing pages?
Hi, 🙂 My company is having new distributor contract, and we are starting to sell products on our own webshop. Bio-technology is an industry in question and over 1.000 products. Writing product description from scratch would take many hours. The plan is to re-write it. With permission from our contractors we will import their 'product description' on our webshop. But, I  am concerned being penalies from Google for duplicate content. If we re-write it we should be fine i guess. But, how can we be sure? Is there any good tool for comparing only text (because i don't want to publish the pages to compare URLs)? What else should we be aware off beside checking 'product description' for duplicate content? Duplicate content is big issue for all of us, i hope this answers will be helpful for many of us. Keep it hard work and thank you very much for your answers, Cheers, Dusan
Intermediate & Advanced SEO | | Chemometec0 -
What is better? No canonical or two canonicals to different pages?
I have a blogger site that is adding parameters and causing duplicate content. For example: www.mysite.com/?spref=bl
Intermediate & Advanced SEO | | TMI.com
www.mysite.com/?commentPage=1 www.mysite.com/?m=1 www.mysite.com/?m=0 I decided to implement a canonical tag on these pages pointing to the correct version of the page. However, for the parameter ?m=0, the canonical keeps pointing to itself. Ex: www.mysite.com/?m=0 Â Â The canonical = www.mysite.com/?m=0 So now I have two canonicals for the same page. My question is if I should leave it, and let Google decide, or completely remove the canonicals from all pages?0 -
Do I need to use rel="canonical" on pages with no external links?
I know having rel="canonical" for each page on my website is not a bad practice... but how necessary is it for pages that don't have any external links pointing to them? I have my own opinions on this, to be fair - but I'd love to get a consensus before I start trying to customize which URLs have/don't have it included. Thank you.
Intermediate & Advanced SEO | | Netrepid0 -
Canonical tag
Hi all, I have an ecommerce client and on the pages they have a drop down so customers can view via price, list etc. Natrurally I want a canonical tag on these pages, here's the question. as they have different pages of products,  the canonical tag on http://www.thegreatgiftcompany.com/occassion/christmas#items-/occassion/christmas/page=7/?sort=price_asc,searchterm=,layout=grid,page=1 is to http://www.thegreatgiftcompany.com/occassion/christmas#items-/occassion/christmas/page=7. now, because the page=7 is a duplicate of the main page, shouldn't the canonical just be to the main page rather than page=7? Even when there is a canonical tag on the /Christmas/page=7 to the /Christmas page? hope that makes sense to everyone!
Intermediate & Advanced SEO | | KarlBantleman0 -
SEO & Magento Multistore - I have been asked if "duplicatiing" a magento stor using its "Multistore" functionality will cause both to be picked up as duplicate content, can anybody help?
Hello all. I have been asked what the consequences of using Magento's "multistore" functionality are if we were to duplicate our entire magento store and place it on a secondary domain... The simple answer which comes to my mind is that it will be a flagged as duplicate content. However, is this still the case if the site were placed in a different country? The original being the UK the copy being Ireland (both English speaking) How would Google.co.uk & Google.ie treat these stores? Hope this is clear... our site is http://www.tower-health.co.uk
Intermediate & Advanced SEO | | TowerHealth0 -
Rel=canonical tag on original page?
Afternoon All,
Intermediate & Advanced SEO | | Jellyfish-Agency
We are using Concrete5 as our CMS system, we are due to change but for the moment we have to play with what we have got. Part of the C5 system allows us to attribute our main page into other categories, via a page alaiser add-on. But what it also does is create several url paths and duplicate pages depending on how many times we take the original page and reference it in other categories. We have tried C5 canonical/SEO add-on's but they all seem to fall short. We have tried to address this issue in the most efficient way possible by using the rel=canonical tag. The only issue is the limitations of our cms system. We add the canonical tag to the original page header and this will automatically place this tag on all the duplicate pages and in turn fix the problem of duplicate content. The only problem is the canonical tag is on the original page as well, but it is referencing itself, effectively creating a tagging circle. Does anyone foresee a problem with the canonical tag being on the original page but in turn referencing itself? What we have done is try to simplify our duplicate content issues. We have over 2500 duplicate page issues because of this aliasing add-on and want to automate the canonical tag addition, rather than go to each individual page and manually add this tag, so the original reference page can remain the original. We have implemented this tag on one page at the moment with 9 duplicate pages/url's and are monitoring, but was curious if people had experienced this before or had any thoughts?0 -
How Rel=Prev & Rel=Next work for me?
I have implemented Rel=Prev & Rel=Next tag on my website. I would like to give example URL to know more about it. http://www.vistapatioumbrellas.com/market-umbrellas?limit=40&p=3 http://www.vistapatioumbrellas.com/market-umbrellas?limit=40&p=4 http://www.vistapatioumbrellas.com/market-umbrellas?limit=40&p=5 Right now, I have blocked paginated pages by Robots.txt by following query. Disallow: /*?p= I have removed disallow syntax from Robots.txt for paginated pages. But, I have confusion with duplicate page title. If you will check all 3 pages so you will find out duplicate page title across all pages. I know that, duplicate page title is harmful for SEO. Will Google crawl + index all paginated pages? If yes so which page will get maximum benefits in organic ranking? Is there any specific way which may help me to solve this issue?
Intermediate & Advanced SEO | | CommercePundit0