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
-
If I use content from DomainA on DomainB, but spread it - how do I implement the canoncial tag?
Hey community, I have a question regarding canonical tags.
Intermediate & Advanced SEO | | ElliPirelli
I used the content of one of my domains (nameA.com/ContentA) and copied it to another domain, but on several pages: nameB.com/ContentA1
nameB.com/ContentA2
nameB.com/ContentA3
and so on). So I divided the content from domainA to several pages of domainB. The reason is, that my client wants to build a new business on domainB and wants to use the exact same content from domainA, because he can't afford another copywriter at the moment (and he doesn't want to rewrite it himself). Problem: DomainA is ranking for this content and he wants to keep the rankings, until domainB ranks similar (for the same keywords, of course). So my question is: Can I put a canonical tag on domainA?
My thoughts are: Not a single page of domainB is 100% duplicate content, as it's always only partialy the same. Can I just choose one of those pages from domainB to put as link-goal for the canonical tag? Or do I need to create a "view-all" page on domainB, with all the content put together, so it's 100% duplicate to domainA, and then put a canonical tag to domainA and link to this "view-all" page? If I do so, do I need to also put canonicals on every single page from domainB, to link to this "view-all" page?
IMPORTANT: Would the other pages of domainB then be ranked/listed in the SERRPs, or only the "view-all" site? I would really appreciate your help, as I have been seaching for answers to this specific problem since more than a week... Thank you! Best regards0 -
H3 Tags - Should I Link to my content Articles- ? And do I have to many H3 tags/ Links as it is ?
Hello All, On my ecommerce landing pages, I currently have links to my products as H3 Tags. I also have useful guides displayed on the page with links useful articles we have written (they currently go to my news section). I am wondering if I should put those article links as additional H3 tags as well for added seo benefit or do I have to many tags as it is ?. A link to my Landing Page I am talking about is - http://goo.gl/h838RW Screenshot of my h1-h6 tags - http://imgur.com/hLtX0n7 I enclose screenshot my guides and also of my H1-H6 tags. Any advice would be greatly appreciated. thanks Peter
Intermediate & Advanced SEO | | PeteC120 -
Parallax and Title Tags
I've noticed an issue with our site, which uses parallax on multiple pages. Here is an example: If you search for About SQL Sentry, you get the correct title tag and description If you search for SQL Sentry Careers (which is on the about us page) it appears that Google has made up a title tag and description for it. Is there any way to force a separate title tag for a part of a parallax page?
Intermediate & Advanced SEO | | Sika220 -
Using Canonical Attribute
Hi All, I am hoping you can help me? We have recently migrated to the Umbraco CMS and now have duplicate versions of the same page showing on different URLs. My understanding is that this is one of the major reasons for the rel=canonical tag. So am I right in saying that if I add the following to the page that I want to rank then this will work? I'm just a little worried as I have read some horror stories of people implementing this attribute incorrectly and getting into trouble. Thank you in advance
Intermediate & Advanced SEO | | Creditsafe0 -
Yoast & rel canonical for paginated Wordpress URLs
Hello, our Wordpress blog at http://www.jobs.ca/career-resources has a rel canonical issue since we added pagination to the front page and category-pages. We're using Yoast and it's incorrectly applying a rel-canonical meta tag referencing page 1 on page 2, 3, etc. This is a known misuse of the rel-canonical tag (per Google's Webmaster Blog - http://googlewebmastercentral.blogspot.ca/2013/04/5-common-mistakes-with-relcanonical.html, which says rel-canonical should be replaced with rel-prev and rel-next for page 2, 3, etc.). We don't see a way to specify anywhere in Yoast's options to correct this behaviour for page 2, 3, etc. Yoast allows you to override a page's canonical URL, otherwise it automatically uses the Wordpress permalink. My question is, does anyone know how to configure Yoast to properly replace rel-canonical tags with rel-prev and rel-next for paginated URLs, or do I need to look at another plugin or customize the behavior directly in my child theme code? This issue was brought up here as well: http://moz.com/community/q/canonical-help, but the only response did not relate to Yoast. (We're using Wordpress 3.6.1 and Yoast "Wordpress SEO" 1.4.18)
Intermediate & Advanced SEO | | aactive0 -
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 -
Help with canonical tag
hello- i got this recommendation <dl> <dt>Recommendation</dt> <dd>Add a canonical URL tag referencing this URL to the header of the page</dd> <dd>from my "report card" and i see also that i have a lot of issues with duplicate content but i really dont have any duplicate content on my site.</dd> <dd>the crawl has apparently marked every post in my blog as duplicate page content.</dd> <dd>and the "use canonical tag" suggestion keeps appearing as a fix to my problems.</dd> <dd>could you please help me with ------How do i create a canonical tag?</dd> <dd>is it just rel=canonical?</dd> <dd>and where do i put it?</dd> <dd>i should put it on every page right?</dd> <dd>or with CSS my webmaster could probably do it very quickly right?</dd> <dd>i get the basic concept behind rel=canonical but i cant say i fully understand it -</dd> <dd>i need some help with regard to how and where this tag should be placed.</dd> <dd>thanks,</dd> <dd>erik
Intermediate & Advanced SEO | | Ezpro9
</dd> <dd>.</dd> </dl>0 -
Rel canonical element for different URL's
Hello, We have a new client that has several sites with the exact same content. They do this for tracking purposes. We are facing political objections to combine and track differently. Basically, we have no choice but to deal with the situation given. We want to avoid duplicate content issues, and want to SEO only one of the sites. The other sites don't really matter for SEO (they have off-line campaigns pointing to them) we just want one of the sites to get all the credit for the content. My questions: 1. Can we use the rel canonical element on the irrelevent pages/URL's to point to the site we care about? I think I remember Matt Cutts saying this can't be done across URL's. Am I right or wrong? 2. If we can't, what options do I have (without making the client change their entire tracking strategy) to make the site we are SEO'ing the relevant content? Thanks a million! Todd
Intermediate & Advanced SEO | | GravitateOnline0