I currently have a canonical tag pointing to a different url for single page categories on eCommerce site. Is this wrong ?
-
Hi Mozzers,
I have a query regarding canonical tags on my eCommerce site..
Basically on my category pages whereby I have more than 1 page, I currently use next/prev rel and also have a canonical tag pointing to the View all version of that page. This is believe is correct.(see example - http://goo.gl/2gz6LV
However, from looking at the view source on my other pages, I have noticed I have canonical tags on all my category pages which are only a single page and these canonicaltag are pointing to a different url.
I enclose an example . Please advise
Category page - http://goo.gl/Pk4zYl
This is where the canonical tag points to - http://goo.gl/EwKv26
Another example
Category Page - http://goo.gl/4gWTdD
This is where the canonical tag for that page points to http://goo.gl/qm4HV7
Should I either make sure that categories that are only 1 page , don't have a canonical tag at all ? or do I have a canonical tag on say every page on my website for safety pointing to the main url for that page. The later, I imagine would be a belt and braces approach but I don't want to screw up anything if it's not advised?
Please help/
Kind regards
Pete
-
Hello Paul ,
Many thanks for your assistance and comprehensive answer to solve this.
You raise some very valid points and something I hadn't picked up on - the fact that currently my internal structure is referencing urls which are not the same as what the canonical tag is set for. Asyou say, this is not a good thing..
Once again, thanks for your help to solve this. My developer is on the case now.
thanks
Pete
-
Just to clarify what is happening here, I looked at your examples links and here is what I see.
Your website has a home page (e.g. homepage.com) and site wide links in navigation etc to various categories such as
http://www.website.com/category-keyword1/
http://www.website.com/category-keyword2/
http://www.website.com/category-keyword3/
As I look at these what I will call "original" category pages, they have canonical links that link to the following pages (note I do not see this on any of your product pages or other pages on the site)
<link rel="canonical" href="http: website.com="" category-keyword2="" limit:9999"=""></link rel="canonical" href="http:>
<link rel="canonical" href="http: website.com="" category-keyword3="" limit:9999"=""></link rel="canonical" href="http:>
The URLs with the limit:9999 also show a 200 if you visit them, are a duplicate page and canonical to themselves.
This is not good. What you are telling Google is that for each of your "original" category pages that you link to extensively with your internal link structure, that the actual (aka canonical) page is the URL with the limit:9999.
I would say that you did not need the canonical to start with, but now that it is there, here is how you fix it.
-
on all the original category pages (i.e. http://www.website.com/category-keyword1/) you need to add a canonical to self. Just update the canonical tag and remove the "limit:9999" There is somewhere in your CMS that is doing this, you may need a dev to help. You have to absolutely do this.
-
on all the limit:9999 pages you have 4 possible options that you can do. I put these in order of preference with option a being your best approach, option b your second best, and so on. Therefore, if you cannot do option a, then try option b, and so on.
a) 301 redirect the limit:9999 pages to the original category pages
b) set the canonical on the limit:9999 pages to the original category pages
c) 404 the limit:9999 pages
d) block the limit:9999 pages in robots.txt, but be careful that you do not block the original pages. Search Console has a great robots.txt testing tool for figuring this out.
Good luck!
-
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
-
Rel canonical tag from shopify page to wordpress site page
We have pages on our shopify site example - https://shop.example.com/collections/cast-aluminum-plaques/products/cast-aluminum-address-plaque That we want to put a rel canonical tag on to direct to our wordpress site page - https://www.example.com/aluminum-plaques/ We have links form the wordpress page to the shop page, and over time ahve found that google has ranked the shop pages over the wp pages, which we do not want. So we want to put rel canonical tags on the shop pages to say the wp page is the authority. I hope that makes sense, and I would appreciate your feeback and best solution. Thanks! Is that possible?
Intermediate & Advanced SEO | | shabbirmoosa0 -
Duplicate URLs on eCommerce site caused by parameters
Hi there, We have a client with a large eCommerce site with about 1500 duplicate URLs caused by the parameters in the URLs (such as the sort parameter where the list of products are then sorted by price, age etc.) Example: www.example.com/cars/toyota First duplicate URL: www.example.com/cars/toyota?sort=price-ascending Second duplicate URL: www.example.com/cars/toyota?sort=price-descending Third duplicate URL: www.example.com/cars/toyota?sort=age-descending Originally we had advised to add a robots.txt file to block search engines from crawling the URLs with parameters but this hasn't been done. My question: If we add the robots.txt now and exclude all URLs with filters - how long will it take for Google to disregard the duplicate URLs? We could ask the developers to add canonical tags to all the duplicates but these are about 1500... Thanks in advance for any advice!
Intermediate & Advanced SEO | | Gabriele_Layoutweb0 -
Internal Links - Different URLs
Hey so, In my product page, I have recommended products at the bottom. The issue is that those recommended products have long parameters such as sitename.com/product-xy-z/https%3A%2F%2Fwww.google.co&srcType=dp_recs The reason why it has that long parameter is due to tracking purposes (internally with the dev and UX team). My question is, should I replace it with the clean URL or as long as it has the canonical tag, it should be okay to have such a long parameter? I would think clean URL would help with internal links and what not...but if it already has a canonical tag would it help? Another issue is that the URL is different and not just the parameter. For instance..the canonical URL is sitename.com/productname-xyz/ and so the internal link used on the product page (same exact page just different URL with parameter) sitename.com/xyz/https%3A%2F%2Fwww.google.co&srcType=dp_recs (missing product name), BUT still has the canonical tag!
Intermediate & Advanced SEO | | ggpaul5620 -
Replace dynamic paramenter URLs with static Landing Page URL - faceted navigation
Hi there, got a quick question regarding faceted navigation. If a specific filter (facet) seems to be quite popular for visitors. Does it make sense to replace a dynamic URL e.x http://www.domain.com/pants.html?a_type=239 by a static, more SEO friendly URL e.x http://www.domain.com/pants/levis-pants.html by creating a proper landing page for it. I know, that it is nearly impossible to replace all variations of this parameter URLs by static ones but does it generally make sense to do this for the most popular facets choose by visitors. Or does this cause any issues? Any help is much appreciated. Thanks a lot in advance
Intermediate & Advanced SEO | | ennovators0 -
Should we show(to google) different city pages on our website which look like home page as one page or different? If yes then how?
On our website, we show events from different cities. We have made different URL's for each city like www.townscript.com/mumbai, www.townscript.com/delhi. But the page of all the cities looks similar, only the events change on those different city pages. Even our home URL www.townscript.com, shows the visitor the city which he visited last time on our website(initially we show everyone Mumbai, visitor needs to choose his city then) For every page visit, we save the last visited page of a particular IP address and next time when he visits our website www.townscript.com, we show him that city only which he visited last time. Now, we feel as the content of home page, and city pages is similar. Should we show these pages as one page i.e. Townscript.com to Google? Can we do that by rel="canonical" ? Please help me! As I think all of these pages are competing with each other.
Intermediate & Advanced SEO | | sanchitmalik0 -
Canonical Tags being indexed on paginated results?
On a website I'm working on which has a search feature with paginated results, all of the pages of the search results are set with a canonical tag back to the first page of the search results, however Google is indexing certain random pages within the result set. I can literally do a search in Google and find a deep page in the results, click on it and view source on that page and see that it has a canonical tag leading back to the first page of the set. Has anyone experienced this before? Why would Google not honor a canonical tag if it is set correctly? I've seen several SEO techniques for dealing with pagination, is there another solution that you all recommend?
Intermediate & Advanced SEO | | IrvCo_Interactive0 -
Using WP All Import csv import plugin for wordpress to daily update products on large ecommerce site. Category naming and other issues.
We have just got an automated solution working to upload about 4000 products daily to our site. We get a CSV file from the wholesalers server each day and the way they have named products and categories is not ideal. Although most of the products remain the same (don't need to be over written) Some will go out of stock or prices may change etc. Problem is we have no control over the csv file so we need to keep the catagories they have given us. Might be able to create new catgories and have products listed under multiple categories? If anyone has used wp all import or has knoledge in this area please let me know. I have plenty more questions but this should start the ball rolling! Thanks in advance mozzers
Intermediate & Advanced SEO | | weebro0 -
How do Google Site Search pages rank
We have started using Google Site Search (via an XML feed from Google) to power our search engines. So we have a whole load of pages we could link to of the format /search?q=keyword, and we are considering doing away with our more traditional category listing pages (e.g. /biology - not powered by GSS) which account for much of our current natural search landing pages. My question is would the GoogleBot treat these search pages any differently? My fear is it would somehow see them as duplicate search results and downgrade their links. However, since we are coding the XML from GSS into our own HTML format, it may not even be able to tell.
Intermediate & Advanced SEO | | EdwardUpton610