High level rel=canonical conceptual question
-
Hi community. Your advice and perspective is greatly appreciated.
We are doing a site replatform and I fear that serious SEO fundamentals were overlooked and I am not getting straight answers to a simple question: How are we communicating to search engines the single URL we want indexed?
Backstory: Current site has major duplicate content issues. Rel-canonical is not used. There are currently 2 versions of every category and product detail page. Both are indexed in certain instances. A 60 page audit has recommends rel=canonical at least 10 times for the similar situations an ecommerce site has with dupe urls/content.
New site: We are rolling out 2 URLS AGAIN!!! URL A is an internal URL generated by the systerm. We have developed this fancy dynamic sitemap generator which looks/maps to URL A and creates a SEO optimized URL that I call URL B. URL B is then inserted into the site map and the sitemap is communicated externally to google. URL B does an internal 301 redirect back to URL A...so in an essence, the URL a customer sees is not the same as what we want google to see.
I still think there is potential for duplicate indexing. What do you think?
Is rel=canonical the answer?
In my research on this site, past projects and google I think the correct solution is this on each customer facing category and pdp:
The head section (With the optimized Meta Title and Meta Description) needs to have the rel-canonical pointing to URL B
example of the meta area of URL A:What do you think? I am open to all ideas and I can provide more details if needed.
-
Yes, if you redirect URL B, it will not be indexed as content. It will be ignored by Google.
Well... Not ignored, but Google will acknowledge the URL B shouldn't be indexed.
-
Hi guys. I have researched and discussed further.
According to your thoughts, the rel=canonical and 301 redirect in the description in the original post will conflict with each other.
In all honestly, I stated that rel=canonical is being used (I am fighting for it) but it is not in the future state plan.
I will restate a similar situation (with what I think the same outcome is). If we 301 redirect URL B (optimized in sitemap) back to URL A (system generated) without rel=canonical then ultimately we are saying "don't index URL b"???
-
I will verify the fine details of the internal 301 redirect. The entire process as described to me seems a bit fishy also. The developers keep saying "the site map is the only thing that will be indexed" which we know is false.
Ultimately the real solution was getting URL A to be the most optimized.
Thanks, and more to com
-
HI,
I think you are going to have problems as you describe it (if I understood it correctly). 301s and canonicals are not the same thing, the 301 is actually taking you to the second page, the canonical is suggesting which page you want to be considered the main page to index. In your case you are declaring pageB in the sitemp, 301ing that to pageA and then recommending pageB be considered the main page (which is 301ing back to pageA again). The results of that is difficult to predict to say the least. I would think the most likely result is your pageA results being indexed, but only after making life difficult for googlebot et al by running them through this loop.
Is there no chance of fixing the cms so that the pageB urls can be displayed properly without a 301?
-
I don't understand the purpose of the 301 redirect. If you are redirecting your fancy URL, that is "SEO optimized"-- then you are doing nothing. The only thing that will be indexed will be the non-fancy URL. If you 301 redirect anything, that page will not be indexed, so making a keyword-rich URL is useless. Instead, I would use only canonical tags.
So, for example, let's say you have a product page. And it's at example.com/product-name/
But it's also in other places example.com/tags/vases/product-name/
General accepted SEO practices would say that all of the additional or supplemental pages should have the rel=canonical point to the "original." (Not redirected back to the original.)
However, because Google seems to be favoring breadcrumbs more than ever-- you might want to pick a page with breadcrumbs (Page B) and make that page the canonical. You could try it both ways with different products and see how it goes.
Now, please bear in mind that I just thought of this as I was answering your question, and this is just something to think about- I haven't actually tried this, but I might...
In other words, if I had:
example.com/400-watt-halide-bulb/
but I also had it in:
example.com/light-bulbs/halide/400-watt-halide-bulb/
I might point all examples of that product to the longer, breadcrumbed URL with the canonical link. But again, just thinking out loud.
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
-
Syntax: 'canonical' vs "canonical" (Apostrophes or Quotes) does it matter?
I have been working on a site and through all the tools (Screaming Frog & Moz Bar) I've used it recognizes the canonical, but does Google? This is the only site I've worked on that has apostrophes. rel='canonical' href='https://www.example.com'/> It's apostrophes vs quotes. Could this error in syntax be causing the canonical not to be recognized? rel="canonical"href="https://www.example.com"/>
Intermediate & Advanced SEO | | ccox10 -
Is this the correct way of using rel canonical, next and prev for paginated content?
Hello Moz fellows, a while ago (3-4 years ago) we setup our e-commerce website category pages to apply what Google suggested to correctly handle pagination. We added rel "canonicals", rel "next" and "prev" as follows: On page 1: On page 2: On page 3: And so on, until the last page is reached: Do you think everything we have been doing is correct? I have doubts on the way we have handled the canonical tag, so, any help to confirm that is very appreciated! Thank you in advance to everyone.
Intermediate & Advanced SEO | | fablau0 -
Internal Duplicate Content Question...
We are looking for an internal duplicate content checker that is capable of crawling a site that has over 300,000 pages. We have looked over Moz's duplicate content tool and it seems like it is somewhat limited in how deep it crawls. Are there any suggestions on the best "internal" duplicate content checker that crawls deep in a site?
Intermediate & Advanced SEO | | tdawson091 -
Question about Syntax in Robots.txt
So if I want to block any URL from being indexed that contains a particular parameter what is the best way to put this in the robots.txt file? Currently I have-
Intermediate & Advanced SEO | | DRSearchEngOpt
Disallow: /attachment_id Where "attachment_id" is the parameter. Problem is I still see these URL's indexed and this has been in the robots now for over a month. I am wondering if I should just do Disallow: attachment_id or Disallow: attachment_id= but figured I would ask you guys first. Thanks!0 -
Should we Use rel=canonical in ccTLDs websites
We have multilingual eCommerce websites with some content variations but majority of the content remains the same We have used rel=alternate hreflang on corresponding ccTLDs respective countries. for example on example.com -which is the oldest of these sites- we have used Now should we also use link rel="canonical" href="example.com" on all ccTLDs? What are the advantages and disadvantages of using it?
Intermediate & Advanced SEO | | CyrilWilson0 -
Is it ok to use both 301 redirect and rel="canonical' at the same time?
Hi everyone, I'm sorry if this has been asked before. I just wasn't able to find a response in previous questions. To fix the problems in our website regarding duplication I have the possibility to set up 301's and, at the same time, modify our CMS so that it automatically sets a rel="canonical" tag for every page that is generated. Would it be a problem to have both methods set up? Is it a problem to have a on a page that is redirecting to another one? Is it advisable to have a rel="canonical" tag on every single page? Thanks for reading!
Intermediate & Advanced SEO | | SDLOnlineChannel0 -
Should I remove all rel=nofollow links?
I have a 60 page site that had some nofollow links sprinkled throughout, 50% of which are probably on its mailto: email links. Should I remove all nofollows all in one go, or just the mailto links first, and later the others? Or has anyone had any negative effects in 2012 from this?
Intermediate & Advanced SEO | | emerald0 -
Rel=nofollow and SSL Certs
Will I lose or gain seo benefit from using rel=nofollow on my SSL certificate? every page on the site refers (links) to the cert and the server call to display the cert adds over 500ms to my page load speeds. <updated question=""> Is there a way to display the cert to cut down on load speeds? Also, would Google discount or penalize the site if the cert were nofollowed?</updated> Thoughts? Thanks in advance!
Intermediate & Advanced SEO | | AnthonyYoung0