Rel Alternate tag and canonical tag implementation question
-
Hello, I have a question about the correct way to implement the canoncial and alternate tags for a site supporting multiple languages and markets.
Here's our setup. We have 3 sites, each serving a specific region, and each available in 3 languages.
- www.example.com : serves the US, default language is English
- www.example.ca : serves Canada, default language is English
- www.example.com.mx : serves Mexico, default language is Spanish
In addition, each sites can be viewed in English, French or Spanish, by adding a language specific sub-directory prefix ( /fr , /en, /es).
The implementation of the alternate tag is fairly straightforward.
For the homepage, on www.example.com, it would be:
-
MX” href=“http://www.example.com.mx/index.html” /> -MX” href=”http://www.example.com.mx/fr/index.html“ />
-MX” href=”http://www.example.com.mx/en/index.html“ />
-US” href=”http://www.example.com/fr/index.html” />
-US” href=”http://www.example.com/es/index.html“ />
-CA” href=”http://www.example.ca/fr/index.html” />
-CA” href=”http://www.example.ca/index.html” />
-CA” href=”http://www.example.ca/es/index.html” />My question is about the implementation of the canonical tag.
Currently, each domain has its own canonical tag, as follows:
rel="canonical" href="http://www.example.com/index.html"> <link rel="canonical" href="http: www.example.ca="" index.html"=""></link rel="canonical" href="http:>
<link rel="canonical" href="http: www.example.com.mx="" index.html"=""></link rel="canonical" href="http:>I am now wondering is I should set the canonical tag for all my domains to:
<link rel="canonical" href="http: www.example.com="" index.html"=""></link rel="canonical" href="http:>
This is what seems to be suggested on this example from the Google help center.
http://support.google.com/webmasters/bin/answer.py?hl=en&answer=189077
What do you think?
-
Thank you for your responses. I did get a weird feeling about canonicalizing my .co.uk and .ca sites into my .com site. I leave the canonical tag on each country specific TLD, referencing the canonical URL of the page within each TLD site.
-
I agree with Alan on this.
Canonical is meant to link identical pieces of content. If the content is in a different language it's not identical and you would want it to appear in the index separately.
-
i think that page is misleading, this page is clearer
http://googlewebmastercentral.blogspot.com.au/2010/03/working-with-multi-regional-websites.html
Dont use a canonical, if the have different tlds, only if they are in the same tld.
This video sums it up, you should at least localize your site,
if you have a US a UK and AU site, all in english, this is ok, but you should have currency and date formats to match.
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
-
Unanswered questions in forums
What should be done with forum questions that go unanswered for a long time (i.e. year or longer)? Are these types of questions valuable content? Should we opt out of having these types of pages indexed? Since these pages are just one sentences doesn't seem like it is adding value to the site.
Intermediate & Advanced SEO | | nandaMesa0 -
Pagination & Canonicals
Hi I've been looking at how we paginate our product pages & have a quick question on canonicals. Is this the right way to display.. Or should the canonical point to the main page http://www.key.co.uk/en/key/euro-containers-stacking-containers, so Google doesn't pick up duplicate meta information? Thanks!
Intermediate & Advanced SEO | | BeckyKey0 -
Merging two sites to one Rel Can Question
Hi All, We have 2 brands (1 main 1 product as a satellite domain) that we're merging into our main brand. When doing a 301 redirect - should we redirect everypage of the product satellite to the new site or is 1 main redirect fine? I'm Confusing ....yep. Ill do an E.G www.nike.com & www.air-jordan.com we are now shutting down www.airjordan.com and will be migrating all the content to www.nike.com/air-jordan Just of course there will be other pages like air-jordan.com/order-now . Should i do a rel can from air-jordan.com/order-now to www.nike.com/air-jordan/order-now ? Or is simply a 301 from www.airjordan.com to www.nike.com/air-jordan sufficient? Cheers!
Intermediate & Advanced SEO | | CFCU0 -
Use Nonindex or Canonical on product tags of a e-commerce site
I run a e-commerce site and we have many product tags. These product tags come up as "Duplicate Page Content" when Moz does it's crawl. I was wondering if I should use Nonindex or Canonical? The tags all go to the same product when used so I figure I would just nonindex them but was wondering what's the best for SEO?
Intermediate & Advanced SEO | | EmmettButler1 -
Rel=canonical
My website is built around a template, the hosting site say I can only add code into the body of the webpage not the header, will this be ok for rel=canonical If it is my next question is redundant but as there is only one place to put it which urls do I need to place in the code http://domain.com, www.domain.com or http://www.domain.com the /default.asp option for my website does not seem to exist, so I guess is not relevant thanks
Intermediate & Advanced SEO | | singingtelegramsuk0 -
Adding a Canonical Tag to each page referencing itself?
Hey Mozers! I've noticed that on www.Zappos.com they have a Canonical tag on each page referencing it self. I have heard that this is a popular method but I dont see the point in canon tagging a page to its self. Any thoughts?
Intermediate & Advanced SEO | | rpaiva0 -
How Long Does it Take for Rel Canonical to De-Index / Re-Index a Page?
Hi Mozzers, We have 2 e-commerce websites, Website A and Website B, sharing thousands of pages with duplicate product descriptions. Currently only the product pages on Website B are indexing, and we want Website A indexed instead. We added the rel canonical tag on each of Website B's product pages with a link towards the matching product on Page A. How long until Website B gets de-indexed and Website A gets indexed instead? Did we add the rel canonical tag correctly? Thanks!
Intermediate & Advanced SEO | | Travis-W0 -
How does a canonical work and is it necessary to also have a no index, follow tag in place?
Across our site, we have canonical tags in place for URLs that contain duplicate content and for URLs without a trailing slash since we are using URLs WITH a trailing slash for all URLs across our site. We also recently added a no index, follow tag to all non-canonical URLs since we noticed a high number of duplicate content URLs in Google Webmaster Tools. The first part of my question is: How does a canonical work? Does the robot read the canonical and immediately go to the canonical URL or does it continue to read past the canonical tag and get to the no index, follow tag if there is one present? The second part of my question is: Is it necessary to have both a canonical tag and no index, follow tag in place? Or should the canonical tag be sufficient to avoid duplicate content? And lastly, if both a canonical tag and no index, follow tag are in place, should they be in a specific order? Canonical tag first then no index, follow tag second or no index, follow tag first then canonical tag second? I would appreciate any insight you can give. Thank you!
Intermediate & Advanced SEO | | kbbseo0