Some questions on Canonical tag AND 301 redirect
-
Hi everyone, I'm new here - always loved SEOMoz and glad to be part of the Pro community now.
I have 2 questions regarding the Canonical URL tag.
Some background info:
We used to run an OsCommerce store, and recently migrated to Magento. In doing so, we right away created 301 redirects of the old category pages (OsCommerce) to the new category pages (Magento) via the Magento admin. Example:
www.example.com/old-widget-category.html
301 redicrected to
www.example.com/new-widget-category.htmlIn Magento admin, we have enabled the Canonical tag for all product and category pages. Here's how Magento sets up the Canonical tag:
The URL of interest which we want to rank is:
www.example.com/new-widget-category.htmlHowever Magento sets up the canonical tag on this page to point to:
www.example.com/old-widget-category.htmlWhen using the SEOMoz On Page Report Card, it pick this up as an error because the Canonical tag is pointing to a different URL.
However, if we dig a little deeper, we see that the URL being pointed to
www.example.com/old-widget-category.html
has a 301 redirect to
www.example.com/new-widget-category.html
which is the URL we wan to rank.So because we set up a 301 redirect of the old-page to the new-page, on the new-page the canonical tag points to the old-page.
Question 1)
What are you opinions on this? Do you think this method of setting up the Canonical tag is acceptable?Second question...
We use pagination for category pages, so if we have 50 products in one category, we would have 5 pages of 10 products. The URL's would be:
www.example.com/new-widget-category.html (which is the SAME as ?p=1)
www.example.com/new-widget-category.html?p=1
www.example.com/new-widget-category.html?p=2
www.example.com/new-widget-category.html?p=3
www.example.com/new-widget-category.html?p=4
www.example.com/new-widget-category.html?p=5Now ALL the URLs above have the canonical tag set as:
<link rel="canonical" href="http://www.example.com/new-widget-category" />However, the content of each page (page 1, 2, 3, 4, 5) is different because different products are displayed. So far most what I read regarding the Canonical tag is that it is used for pages that have the same content but different URLs.
I would hope that Google would combine the content of all 5 pages and view the result as a single URL www.example.com/new-widget-category
Question 2) Is using the canonical tag appropriate in the case described above?
Thanks !
-
Most likely. Unless the parameters are greatly changing the content on the page, rather than simply sorting, you will want to block them or just use a canonical tag.
-
Will do.
the 301s will stay because they redirect the old (indexed and ranking) URL's to the new ones.
The Canonical Tags will all be removed.
Then 1 more question:
How do you suggest I deal with URL parameters that cause duplicate content. Some examples:?color=
?manufacturer=
?width=etc. We have hundreds of these - they are used to allow customers to filter or sort the product listings.
Should we set them to be ignored via Webmaster tools?
-
Drop the canonical, leave the 301.
Use rel=next and rel=prev for pagination: http://googlewebmastercentral.blogspot.com/2011/09/pagination-with-relnext-and-relprev.html
-
Yeah the 301 looks like it is correctly used, but I personally would not use canonical as well, in respect only to the redirect of "old pages" to "new pages"
In the instance of the products it does appear this is a good example of canonical needed.
All "staplers" pagination would canonical to the "Main" stapler page and so on and so forth.
This gets your users to the page to see the same product in a different color, but tells search engines that this is all the same "product". So for this "product" only the main page will result in search (page in which the canonicals for given product points to)
Hope this helps
once again #STOPSOPA
-
Shane is correct in his advice,
Q1
you dont need the canonical, if you did not have a 301 redirect, then the canonical should be on the old page pointing to the new. but as Shane said you dont need it when you have a 301 in place.
Q2
I would canonical to http://www.example.com/new-widget-category for all p1 to p5
As i wonder if the change of the products in the grid is enouth to make the pages unique. If you have sorting it just gets more messy
Your product pages will have this info for each product anyhow.
i would try to make the category page relevant for the catgory.
Rather then use rel=canonical I would use rel=next and rel=previous
http://support.google.com/webmasters/bin/answer.py?hl=en&answer=1663744
-
Thanks for the info Shane.
Regarding pagination:
let's say we sell staplers.?p=1 will be the first 10 stapler models
?p=2 will be stapler models 11-20
?p=3 will be stapler models 21-30
...and so on. Each page presents a different set of stapler models.
Keep in mind that each URL has the same Title and Meta Info.We could choose to show all staplers on a single page and eliminate pagination, but this would affect loading time.
Yes we incidentally use Canonical tags and 301 redirects, which were implemented for different reasons.
The 301 redirect was implemented to redirect from old category URLs on old website (no longer live) which were indexed and had good ranking to the new category URLs on the new website.
The canonical URL on the other hand was implemented in hope of avoiding duplicate content of the new URLs.
For example if you were to navigate to the URLwww.example.com/new-widget-category.html?p=1
You would see the stapler models 1 to 10 of 50 (so 5 pages).
Now you can either go to the next pages, or you can 'filter'.Let's say you choose to filter by color, because you really want a red stapler, the resulting URL would be
www.example.com/new-widget-category.html?color=red
You could now choose to filter by other characteristics or go to the next page (still with red filter on), so the URL would be
www.example.com/new-widget-category.html?color=red?p=2
Again, since all that's happening here is either changing page or filtering the products, the Title and Meta Info is the same, but the URLs are different, and the selection of products being presented is also different.
-
Question 1
If i read it right it appears you are using 301 redirect and Canonical, Correct? If this is so, the use of Canonical is redundant (possibly ignored by Gbot) but could cause issues.
Question 2
From the way it is described.. It would appear the only true canonical is www.example.com/new-widget-category.html?p=1 and should have <link rel="canonical" href="http://www.example.com/new-widget-category" />
The others depending on differences should not UNLESS
It is the same product, just different colors or something that does not change the product and what it does. But only changes the physical appearance. This would be an "acceptable" difference and "OK" to use canonical
EXAMPLE;
If...
www.example.com/new-widget-category.html?p=1 (Product in blue)
www.example.com/new-widget-category.html?p=2 (Product in Red)
www.example.com/new-widget-category.html?p=3 (ect...)
www.example.com/new-widget-category.html?p=4 (ect...)
www.example.com/new-widget-category.html?p=5 (Ect...)Then canonical is probably a good fit,
but if....
www.example.com/new-widget-category.html?p=1 (Widget to tell time)
www.example.com/new-widget-category.html?p=2 (Widget that cooks you breakfast)
www.example.com/new-widget-category.html?p=3 So on and so forth..
www.example.com/new-widget-category.html?p=4
www.example.com/new-widget-category.html?p=5Then I would suggest not using the canonical and make the content on each page different
Hopefully i read your questions right and this helps
w00t!
#STOPSOPA please
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
-
Redirection
Hi I used to have an online shop at https://shop.domain.co.uk. I have since done a new website and and want to divert all traffic to https://domain.co.uk/shoppage. The old shop was a subdomain but the new site has a shop on the normal domain. In Moz I am getting a lot of errors with missing descriptions and URL too long. so for example one of the urls <dl class="crawl-page-details-list"> <dd class="crawl-page-details-list-emphasis">https://shop.domain.co.uk/product-category/great-merchandise/?product_order=desc are like this. I would like to redirect them all to the new shop page. </dd> <dd class="crawl-page-details-list-emphasis">The missing descriptions are all similar. </dd> <dd class="crawl-page-details-list-emphasis">Is there a way I can redirect all these issues without doing them manually?</dd> <dd class="crawl-page-details-list-emphasis">Thanks </dd> </dl>
Moz Pro | | Paul_YAS0 -
Question on redirect and internal link count
After crawl I saw that dup content came from domain.com/index.php and domain.com. I was going to redirect one of them but im curious which way to go. The /index.php has domain auth of 19, the other 17, so not big difference. Domain.com has 2 external linking domains and index.php has 1. The big difference is in the internal link counts where index.php has 76 and the other only 4. So should I direct index.php to / or the other way around?
Moz Pro | | satoridesign0 -
The right GA account is not populating as an option. Can I redirect to a GA account not listed?
When setting up a campaign, Moz provides a number of Google Analytic options, however not the one that pertains to the specific URL for the campaign. Is there a setting I need to change to allow for the right GA account to populate? Or, can I enter this manually?
Moz Pro | | mmetzger0 -
Is SEOmoz spider ignoring my redirect?
My client was previously serving their website from both a .co.uk and a .com domain. The DNS for each of these domains was pointing to the same place, rather than redirecting. I saw this as a potential duplicate content problem so I set the .co.uk to 301 redirect on to the .com. As a user, the 301 seems to be working correctly. However, now that I have done this, SEOmoz is picking up thousands of "inbound" links from the .co.uk domain. Essentially, every single link on the internal site, is being duplicated in my stats as an inbound link as well. It appears that the spider is ignoring the redirect. I'm not sure if it's a legitimate issue that will upset Google too, or if it's just a bug with SEOMoz's spider.
Moz Pro | | MadisonSolutions0 -
Page authority questions?
I've been analyzing some IT communities ...in order to check how relevant is the page authority vs PageRank. I found one main site which is organized by "communities'..and every community is a sub-domain. The root domain has an authority of 90/100 which it should be great......so the sub-domains "inherit" part of this authority.... Until here everything seems to be perfect. However, I went deeper and I picked one of these communities. Analyzing the "Linking Root Domain" I discovered it only has only 5 root domains pointing to its home page. Those 5 Root Domains have generated more than 134k links. That doesn't seem to be "natural". Checking those 5 Root Domains I discovered that they have been registered by the same Root Domain site. Ex: Main domain: Domain.com Community1.domain.com Community2.domain.com.... Linking Root Domains: DomainXY.com DomainABC.com DomainRST.com DomainFGH.com DomainOPQ.com It seems to me that it is easy to cheat the authority domain score. Just creating others sites developing the same topic and generating back links to your main domain
Moz Pro | | SherWeb0 -
Total link graph question
how is it that our website and our two competitors basically have the exact same link graph, except for at different levels?
Moz Pro | | imageworks-2612900 -
I have a Rel Canonical "notice" in my Crawl Diagnostics report. I'm presuming that means that the spider has detected a rel canonical tag and it is working as opposed to warning about an issue, is this correct?
I know this seems like a really dumb question but the site I'm working on is a BigCommerce one and I've been concerned about canonicalisation issues prior to receiving this report (I'm a SEOmoz pro newbie also!) and I just want to be clear I am reading this notice correctly. I presume this means that the site crawl has detected the rel canonical tag on these pages and it is working correctly. Is this correct?? Any input is much appreciated. Thanks
Moz Pro | | seanpearse0 -
How many of my linked pages should I redirect (301's)
I'm moving my store to a new site and will have a much friendlier but completely different URL structure. I used Open Site Explorer to find inbound links to 513 pages and have done about half so far. The remaining pages have one link each at a page authority of 27 or less - but there are still 250+ of them. I have to manually view each old page, search for the product on the new site, and enter the redirect as there is no way to translate old URL's to new ones. How important is it for rankings to redirect the remaining 250 or so pages?
Moz Pro | | agirlandamac0