ECommerce Problem with canonicol , rel next , rel prev
-
Hi
I was wondering if anyone willing to share your experience on implementing pagination and canonical when it comes to multiple sort options . Lets look at an example
I have a site example.com ( i share the ownership with the rest of the world on that one ) and I sell stuff on the site
I allow users to sort it by date_added, price, a-z, z-a, umph-value, and so on . So now we have
- example.com/for-sale/stuff1?sortby=date_added
- example.com/for-sale/stuff1?sortby=price
- example.com/for-sale/stuff1?sortby=a-z
- example.com/for-sale/stuff1?sortby=z-a
- example.com/for-sale/stuff1?sortby=umph-value
- etc
example.com/for-sale/stuff1 **has the same result as **example.com/for-sale/stuff1?sortby=date_added ( that is the default sort option )
similarly for stuff2, stuff3 and so on. I cant 301 these because these are relevant for users who come in to buy from the site. I can add a view all page and rel canonical to that but let us assume its not technically possible for the site and there are tens of thousands of items in each of the for-sale pages. So I split it up in to pages of x numbers and let us assume we have 50 pages to sort through.
- example.com/for-sale/stuff1?sortby=date_added&page=2 to ...page=50
- example.com/for-sale/stuff1?sortby=price&page=2 to ...page=50
- example.com/for-sale/stuff1?sortby=a-z&page=2 to ...page=50
- example.com/for-sale/stuff1?sortby=z-a&page=2 to ...page=50
- example.com/for-sale/stuff1?sortby=umph-value&page=2 to ...page=50
- etc
This is where the shit hits the fan. So now if I want to avoid duplicate issue and when it comes to page 30 of stuff1 sorted by date do I add
- rel canonical = example.com/for-sale/stuff1
- rel next = example.com/for-sale/stuff1?sortby=date_added&page=31
- rel prev = example.com/for-sale/stuff1?sortby=date_added&page=29
or
- rel canonical = example.com/for-sale/stuff1?sortby=date_added
- rel next = example.com/for-sale/stuff1?sortby=date_added&page=31
- rel prev = example.com/for-sale/stuff1?sortby=date_added&page=29
or
- rel canonical = example.com/for-sale/stuff1
- rel next = example.com/for-sale/stuff1?page=31
- rel prev = example.com/for-sale/stuff1?page=29
or
- rel canonical = example.com/for-sale/stuff1?page=30
- rel next = example.com/for-sale/stuff1?sortby=date_added&page=31
- rel prev = example.com/for-sale/stuff1?sortby=date_added&page=29
or
- rel canonical = example.com/for-sale/stuff1?page=30
- rel next = example.com/for-sale/stuff1?page=31
- rel prev = example.com/for-sale/stuff1?page=29
None of this feels right to me . I am thinking of using GWT to ask G-bot not to crawl any of the sort parameters ( date_added, price, a-z, z-a, umph-value, and so on ) and use
- rel canonical = example.com/for-sale/stuff1?sortby=date_added&page=30
- rel next = example.com/for-sale/stuff1?sortby=date_added&page=31
- rel prev = example.com/for-sale/stuff1?sortby=date_added&page=29
My doubts about this is that , will the link value that goes in to the pages with parameters be consolidated when I choose to ignore them via URL Parameters in GWT ? what do you guys think ?
-
Thanks Peter .
-
Thanks for your input.
IMHO...If I exclude ? , then paginated pages like ?page=xx wont be crawled , thus the rel=next prev tags on the page are rendered useless.
-
Yeah, it gets ugly fast, and even done "by the book" you're often going to need to monitor your index and make adjustments, I've found. That said, the official Google stance (at least the last I heard) is that you should canonical to the page with no parameters and rel=prev/next to the parameterized versions (your 2nd-to-last example):
- rel canonical = example.com/for-sale/stuff1?page=30
- rel next = example.com/for-sale/stuff1?sortby=date_added&page=31
- rel prev = example.com/for-sale/stuff1?sortby=date_added&page=29
See the bottom of this Google blog post:
http://googlewebmastercentral.blogspot.com/2011/09/pagination-with-relnext-and-relprev.html
The other option would be to use rel=prev/next on the paginated URLs and then dynamically Meta Noindex anything with parameters. Honestly, it really depends on what works, and it can take a while to sort out. Also, keep in mind that Bing doesn't handle rel=prev/next quite the same way as Google.
-
First of all: did you check this video? http://www.youtube.com/watch?feature=player_detailpage&v=njn8uXTWiGg
-
You can set the ? as exclude from searches in Webmaster Tool
-
I would always set rel="canonical" to the main page (category page): .
Check how big sites work with this issue.
-
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
-
My wordpress website is facing indexing problems
Hello, I am facing indexing issues on one of my which is about budget bushcraft knife, Four months have been passed I built my site and published almost 8 articles so far. But i am worried no single keyword ranked on google till yet as I checked through MOZ site explorer. Can anyone guide me on what should I need to do now? Thanks
Technical SEO | | Ewerurt0 -
Our protected pages 302 redirect to a login page if not a member. Is that a problem for SEO?
We have a membership site that has links out in our unprotected pages. If a non-member clicks on these links it sends a 302 redirect to the login / join page. Is this an issue for SEO? Thanks!
Technical SEO | | rimix1 -
URLs too long, but run an eCommerce site
Hi, When I started out I was pretty green to SEO, and didn't consider the usability/SEO impact of URL structure. Flash forward, I'm 5 years deep into using the following: mysite.com/downloads/category/premium-downloads/sub-category/ ("category" is quite literally one rung on the link - thanks, WordPress - however "sub-category" is a placeholder) I run a digital downloads store, and I now have 100s ofinternal links beholden to this hideous category linking structure. Not to mention external links at Google Ads, etc. I would LOVE to change this, but if I were to do so, what should I consider? For instance, is there a checklist for making a change like this? I was thinking of changing it to something like the following: mysite.com/shop/c/premium/sub-category/ And also, how much damage, if any, would this be doing to my SEO? Thanks in advance,
Technical SEO | | LouCommaTheCreator
Lou1 -
Feedback needed on possible solutions to resolve indexing on ecommerce site
I’ve included the scenario and two proposed fixes I’m considering. I’d appreciate any feedback on which fixes people feel are better and why, and/or any potential issues that could be caused by these fixes. Thank you! Scenario of Problem I’m working on an ecommerce website (built on Magneto) that is having a problem getting product pages indexed by Google (and other search engines). Certain pages, like the ones I’ve included below, aren’t being indexed. I believe this is because of the way the site is configured in terms of internal linking. The site structure forces certain pages to be linked very deeply, therefore the only way for Googlebot to get to these pages is through a pagination page (such as www.acme.com/page?p=3). In addition, the link on the pagination page is really deep; generally there are more than 125 links on the page ahead of this link. One of the Pages that Google isn’t indexing: http://www.getpaper.com/find-paper/engineering-paper/bond-20-lb/430-20-lb-laser-bond-22-x-650-1-roll.html This page is linked from http://www.getpaper.com/find-paper/engineering-paper/bond-20-lb?p=5, and it is the 147<sup>th</sup> link in the source code. Potential Fixes Fix One: Add navigation tags to the template so that search engines will spend less time crawling them and will get to the deeper pages, such as the one mentioned above. Note: the navigation tags are for HTML-5; however, the Magento site in which this is built does not use HTML 5. Fix Two: Revised the Templates and CSS so that the main navigation and the sidebar navigation is on the bottom of the page rather than the top. This would put the links to the product pages in the source code ahead of the navigation links.
Technical SEO | | TopFloor0 -
Are W3C Validators too strict? Do errors create SEO problems?
I ran a HTML markup validation tool (http://validator.w3.org) on a website. There were 140+ errors and 40+ warnings. IT says "W3C Validators are overly strict and would deny many modern constructs that browsers and search engines understand." What a browser can understand and display to visitors is one thing, but what search engines can read has everything to do with the code. I ask this: If the search engine crawler is reading thru the code and comes upon an error like this: …ext/javascript" src="javaScript/mainNavMenuTime-ios.js"> </script>');}
Technical SEO | | INCart
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element
in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create
cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer
the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error). and this... <code class="input">…t("?");document.write('>');}</code> ✉ The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed). One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error). Does this mean that the crawlers don't know where the code ends and the body text begins; what it should be focusing on and not?0 -
Schema Tags Configuration - Ecommerce Category Pages
I'm semi confident that some schema tags are implemented correctly on our ecommerce category pages.. but I would just like to double check. An example url http://www.freshcargo.co.uk/shoes I have just fixed some errors using the Google rich snippets tool... but the thing I'm not sure about is why the prices are being displayed as seperate items Eg: http://www.google.com/webmasters/tools/richsnippets?url=http%3A%2F%2Fwww.freshcargo.co.uk%2Fshoes&view= Thanks in advance
Technical SEO | | edwardlewis0 -
Rel Canonical - Wordpress
How do you fix the rel canonical issue on a wordpress site? Is there a quick fix? I have a few notices on my site and am a little confused. Thanks, Jared
Technical SEO | | SaborStyle0