So, in other words, if the canonical URL is example.com/page1, if I enter that into my browser bar, the page is not found (404) or I get redirected (301 or 302) to another page? What does it mean "don't seem to work?"
Maybe I'm not explaining myself. The page is not missing. If it was just a page that has moved such as /this-great-article is now /another-great-article, that's a simple 301 redirect.
This is my issue. So, I tell a number of products and have my cart has categories and products within those categories. Now, for example let's say one category has 200 products and you choose to view 10 products per page, 20, 30, etc. The problem is Google is showing these generated urls as their own pages.
Case in point, I logged into GMT today and it said that I have duplicate pages. This was one example:
The problem is, the actual page is mycart.com/category/sub-category/. The whole ?items_per_page=64 is just an extension. It is still the same page, same content, same keywords, same titles, same meta descriptions, etc. So, Google sees his as duplicate content when it should not even consider ?items_per_page=64 or ?items_per_page=10 or ?items_per_page=35 their own pages.
I can't simply redirect or people looking to sort a category by 64 products or that category in particular, would not be able to, since it would just bounce them back to mycart.com/category/sub-category/.
Apparently, the canonical url addon is suppose to fix this. They say it won't due to Cloud Flare which somehow blocks this process.
What I just tried tonight - and time will tell if it works - if I went into robots.txt and put "Disavow /*?" I'm hoping this prevents GOogle from even looking at any extensions to urls such as ?items_per_page=64.