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
-
How crucial are H1 tags and descriptions in wordpress categories?
Hi all Trying to improve SEO for my (mostly) local site, www.nectarbridge.com, and recently got back on Moz Pro account. First crawl of my site by Moz, a manageable number of issues that I've mostly sorted, but the category with the largest number of problems is missing or invalid tags. My content pages and blog posts are not missing the tags. It's category, archives, etc., including multiple pages, ex: https://www.nectarbridge.com/category/blog/page/4/ A smaller number of pages are being flagged by Moz as missing descriptions, and they are also category pages and the like. So the question is - how hard should I pursue fixing these issues? I'm using the divi theme, which apparently doesn't display the category description by default (if it did, that would kill two birds with one stone). There is a fix to add the category description, but before I get into that I'm trying to discern whether this issue really matters greatly to SEO or if I should spend that time just working on more content.
Moz Pro | | gary_nectarbridge0 -
Redirect Chain
I moved my site to https a few months back using cloudflare and all went well site is now running on https fine I have recently also signed up to MozPro and it says I have a redirect chain on http://rogerlapin.co.uk I am not sure where to start looking to fix this? Site is running on Wordpress Also not sure how big of an issue it is as site is working ok? Bit confused as i used this http://www.redirect-checker.org/index.php and it reports no issues?
Moz Pro | | Rogerperk0 -
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 -
My "tag" pages are showing up as duplicate content. Is this harmful?
Hi. I ran a Moz sitecrawl. I see "Yes" under "Duplicate Page Content" for each of my tag pages. Is this harmful? If so, how do I fix it? This is a Wordpress site. Tags are used in both the blog and ecommerce sections of the site. Ecommerce is a very small portion. Thank you. | |
Moz Pro | | dlmilli1 -
How long do changes in title tags take to affect SEO?
This is kind of a loaded question. I'm completely new to SEO. I think my boss signed up for Moz Pro sometime in February and started adding data to our Ecommerce site to help with rankings. Sometime before this, I changed some of the title tags on the site (trying to help with organic search and CTR). I did not do a site wide change.... just changed maybe 10-20 (just a guess). I did it with keywords in mind but did not make note of when I did it. I didn't really know better at the time, and I did not have access to Google Analytics or Moz Pro. I was looking through the ranking data/graph for February and March. It won't let me look before February 29th (so that's why I think my boss started the Mos Pro subscription around at that time). On that day it said we ranked 12 keywords in the 1-3 spot, and then the following week (march 7) it went down to 6. I don't think or know if any major site changes were implemented, so I'm not sure why that happened and if it has anything to do with my title tag changes I did maybe a week or two before (again I am not sure when I did this unfortunately). Since then the keyword ranking numbers stayed about the same with organic traffic slowly going down (it could be because we are getting out of season for our industry though). The second week of March the site was upgraded and since then the menu has been completely changed around. Last week I did a site wide title tag change. So the minor changes I made in February are no longer in effect anyway. I added more keywords to Moz earlier this week and the number for 1-3 spot keywords went up from 6 to 20. It also says my ranking moved up 4 keywords and down 13 keywords. Anyway, I am wondering how seriously I should take these changes and if I'm damaging the site. I am new to Moz Pro also so all the data you can access is kind of confusing/overwhelming.
Moz Pro | | AliMac260 -
Add to cart redirect using 302
I am getting a list of crawl errors in Moz because I am using a 302 redirect when people click on an item using the quickview add to cart eg:http://copyfaxes.com/cart/quickadd?partno=4061 will redirect them to the viewshoppingcart page. Is this wrong should this be a 301 redirect? There is no link juice to pass. Thanks
Moz Pro | | copyfaxes10 -
404 even after Successful 301 Redirection
Hi, I've got quite few 404 error links on my site and I manually redirected all of them one by one with 301. They are redirecting successfully. But when I check my MOZ analysis, it still shows me as 404 error. I've done this about 4 days ago and MOZ crawled to my site couple times after that if it's not everyday. Do you know what the issue could be? And how can I fix it? PS: I've used Wordpress Redirection tool for it first and redirection did not work. Then I had to install the Simple 301 Redirects plugin to get it done.
Moz Pro | | nunobaronio0 -
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