:Pointing hreflang to a different domain
-
Hi all,
Let's say I have two websites: www.mywebsite.com and www.mywebsite.de - they share a lot of content but the main categories and URLs are almost always different.
Am I right in saying I can't just set the hreflang tag on every page of www.mywebsite.com to read:
rel='alternate' hreflang='de' href='http://mywebsite.de' />
That just won't do anything, right?
Am I also right in saying that the only way to use hreflang properly across two domains is to have a customer hreflang tag on every page that has identical content translated into German?
So for this page: www.mywebsite.com/page.html my hreflang tag for the german users would be:
<link < span="">rel='alternate' hreflang='de' href='http://mywebsite.de/page.html' /></link <>
Thanks for your time.
-
Hreflang is used at a page level, not at a site level. So no, you should not just set the hreflang tag on every page of www.mywebsite.com to read:
So yes, if the German translation of the page www.mywebsite.com/page.html is available at www.mywebsite.de/page.html then you must do 2 things:
1. On www.mywebsite.com/page.html use <link rel='alternate' hreflang='de' href='http: mywebsite.de="" page.html'="">and <link rel='alternate' hreflang='en' href='http: mywebsite.com="" page.html'=""></link rel='alternate' hreflang='en' href='http:></link rel='alternate' hreflang='de' href='http:>
2. On www.mywebsite.de/page.html <link rel='alternate' hreflang='en' href='http: mywebsite.com="" page.html'="">and <link rel='alternate' hreflang='de' href='http: mywebsite.de="" page.html'=""> </link rel='alternate' hreflang='de' href='http:></link rel='alternate' hreflang='en' href='http:>
What this means is that the English page should link to itself and to all other language variants. And there should be "return tags", i.e. each of the language variations should link to themselves and to all other language variants.
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
-
Having problem with multiple ccTLD sites, SERP showing different sites on different region
Hi everyone, We have more than 20 websites for different region and all the sites have their specific ccTLD. The thing is we are having conflict in SERP for our English sites and almost all the English sites have the same content I would say 70% of the content is duplicating. Despite having a proper hreflang, I see co.uk results in (Google US) and not only .co.uk but also other sites are showing up (xyz.in, xyz.ie, xyz.com.au)The tags I'm using are below, if the site is for the US I'm using canonical and hreflang tag :https://www.xyz.us/" />https://www.xyz.us/" hreflang="en-us" />and for the UK siteshttps://www.xyz.co.uk/" />https://www.xyz.co.uk/" hreflang="en-gb" />I know we have ccTLD so we don't have to use hreflang but since we have duplicate content so just to be safe we added hreflang and what I have heard/read that there is no harm if you have hreflang (of course If implemented properly).Am I doing something wrong here? Or is it conflicting due to canonicals for the same content on different regions and we are confusing Google so (Google showing the most authoritative and relevant results)Really need help with this.Thanks,
Intermediate & Advanced SEO | | shahryar890 -
Difference keyword and co-occurence
Could someone explain me what the difference between a keyword and a co-occurence is ? Thank you,
Intermediate & Advanced SEO | | seoanalytics0 -
Is .ME domain is effective in SEO ?
I am always listening about TLD. com. org .net but what about the .me domain. Can this will be effective in SEO. Can i able to beat down my competitors, if i choose .me . I also have a .com or other TLD option but if i am making my name than .me is for me but i need your suggestion for the seo purpose. Is there really domain affective in term of SEO.
Intermediate & Advanced SEO | | pnb5670 -
Community inside the domain or in a separate domain
Hi there, I work for an ecommerce company as an online marketing consultant. They make kitchenware, microware and so on. The are reviewing their overall strategy and as such they want to build up a community. Ideally, they would want to have the community in a separate domain. This domain wouldn't have the logo of the brand. This community wouldn't promote the brand itself. The brand would post content occassionally and link the store domain. The reasoning of this approach is to not interfere in the way of the community users and also the fact that the branded traffic acquired doesn't end up buying at the store I like this approach but I am concerned because the brand is not that big to have two domains separated and lose all the authority associated with one strong domain. I would definitely have everything under the same domain, store and community, otherwise we would have to acquire traffic for two domains. 1. What do you think of both scenarios, one domain versus two? Which one is better? 2. Do you know any examples of ecommerce companies with successful communities within the store domain? Thanks and regards
Intermediate & Advanced SEO | | footd0 -
Page and Domain Authority
How much Page and Domain Authority we need to look for to secure a backlink.
Intermediate & Advanced SEO | | ross254sidney0 -
Different domains for multilingual website
Hey guys, A site that I'm currently working on as different domains for each website language. So for example: word1word2.com for the english version word3word4.com for the french version word5word6.com for spanish version .... Is it better to move all of the different languages to the same domain and use subfolders for each language /fr/... Please note that the domains being used bring in organic traffic as well as they are EMDs. Thank You.
Intermediate & Advanced SEO | | BruLee0 -
One Web site many Domains
One of my client have about 12 domains related to his one web site .all domain name relevant to keywords .but doing seo for one target domain name.Now he ask what to with rest od domains plz advice and experts advices are highly appreciate..
Intermediate & Advanced SEO | | innofidelity0 -
Would switching domain names be a good move?
Hi All, I'm trying to decide whether to switch to a more relevant domain name for an SEO project. For a while now I've already been doing the standard SEO work on an existing website, content optimization, link building etc but I can't help feeling I won't ever get the full benefits of SEO until I also change the domain name. The current website is for a law firm in new jersey called sandz.net which obviously has no immediate impression it is for a law firm so I'm looking at setting up a new domain and doing 301s to a new site. My concerns are that as its a highly competitive market, I've initiated the campaign to target local searches so I'm wondering just how beneficial buying a domain name with the term lawyer or attorney which actually be. And of course the ideal domain names such as njlawyer, NJattorney .COMs are all taken so I would be looking at perhaps a .ORG with the intention that all printed material the firm has still contains their original name, sandz.net and by word of mouth they should tell people their site is sandz.net as its easy to remember but for the sake of SEO and links then these should all be focused on a new domain.. Any thoughts appreciated.. Thanks
Intermediate & Advanced SEO | | davebrown19750