Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
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
-
Source page showsI have 2 h1 tags on my page. I can only find one.
When I grade my page it says I have more than one h1 tag. I view the source page and it shows there are two h1 headings with the same wording. If I delete the one h1 heading I can find, the page source shows I have deleted both of them. I don't know how to get to the other heading to delete it. And I'm off page one of google! Can anybody help? Clay Stephens
Moz Pro | | Coot0 -
SEO impact of redirecting high ranking mirror site to the main website
During SEO audit for a client I noticed that they had over a dozen duplicate websites that are carbon copies of the main website. This was done via CMS platform and DNS. One of the mirror sites has about 400 indexed pages and has Moz DA of 42 and 137k External Equity-Passing Links. Full metrics comparison is attached. I originally planned on doing rel="canonical" on the mirror site but the CMS vendor never even heard of it and is refusing to implement it in the header. My only other option is doing one to one 301 redirects. Since the mirror site ranks well, even competes with main domain for some positions on the 1st page of SERP, what will be the impact after the redirects? Is doing 301's still the best option? Thanks! PrUpN3q
Moz Pro | | dasickle0 -
How long for authority to transfer form an old page to a new page via a 301 redirect? (& Moz PA score update?)
Hi How long aproximately does G take to pass authority via a 301 from an old page to its new replacement page ? Does Moz Page Authority reflect this in its score once G has passed it ? All Best
Moz Pro | | Dan-Lawrence
Dan3 -
HTC access 301 redirect rules regarding pagination and striped category base (wp)
I am an admin of a wordpress.org blog and I used to use "Yoast All in one SEO" plugin. While I was using this plugin it stripped the category base from my blog post URL's. With yoast all in one seo: Site.com/topic/subtpoic/page/#
Moz Pro | | notgwenevere
Without yoast all in one seo: Site.com/category/topic/subtopic/page/# Now, that I have switched to another plugin, I am trying to manage the page crawl errors which are tremendous somewhere around 1800, mostly due to pagination. Rather than redirecting each URL individually I would like to develop HTC access 301 redirects rules. However all instructions on how to create these HTC access 301 redirect rules are regarding the suffix rather than the category base. So my question is, can HTC access 301 redirects rules work to fix this problem? Including pagination? And if so, what would this particular HTC access 301 redirect look like? Especially regarding pagination? And do I really have to write a 301 redirect for each pagination page?0 -
My page has a 302 redirect and I don't know how to get rid of it!
I use Internet Officer tool to see the 302 redirect but I check the redirects in the CPanel and there are none. In the .htaccess there are none either. I don't know where else to look 😞 The url is http://servicioshosting.com Can you guys help me? I can't set up a campaign because Google can't crawl the website. I can't setup the Facebook OpenGraph because of the redirect. error.jpg
Moz Pro | | vanessacolina0 -
Blogger Duplicate Content? and Canonical Tag
Hello: I previously asked this question, but I would love to get more perspectives on this issue. In Blogger, there is an archive page and label(s) page(s) created for each main post. Firstly, does Google, esp. considering Blogger is their product, possibly see the archive and tag pages created in addition to the main post as partial duplicate content? The other dilemma is that each of these instances - main post, archive, label(s) - claim to be the canonical. Does anyone have any insight or experience with this issue and Blogger and how Google is treating the partial duplicates and the canonical claims to the same content (even though the archives and label pages are partial?) I do not see anything in Blogger settings that allows altering these settings - in fact, the only choices in Blogger settings are 'Email Posting' and 'Permissions' (could it be that I cannot see the other setting options because I am a guest and not the blog owner?) Thanks so much everyone! PS - I was not able to add the blog as a campaign in SEOmoz Pro, which in and of itself is odd - and which I've never seen before - could this be part of the issue? Are Blogger free blogs not able to be crawled for some reason via SEOmoz Pro?
Moz Pro | | holdtheonion0 -
Meta description tag in rss xml file?
The SEOmoz crawl diagnostic tool is complaining that I'm missing a meta description tag from a file that is an RSS xml file. In my <channel>section I do have a <description>tag. Is this a bug in the SEOmoz tool or do I need to add another tag to satisify the warning?</description></channel>
Moz Pro | | scanlin0 -
Title tag on sitemap.xml
The SEO moz is showing an error on one of the sites within my SE Moz account campaign under Crawl Diagnostics: Title tag missing or empty. No problem here but the file associated with this issue is sitemap.xml and that just dose't look right as as far as I know xml files are title tag free. I've searched around and i've been able only to confirm my initial thought that sitemap.xml dose't use a title tag .. like any other xml. is this an issue ? (the error that is) or i should let it slide. can it be fixed ? if yes, how ? Thanks !
Moz Pro | | eyepaq1