: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
-
AU and US site needs Hreflang?
Hi guys, Just want to confirm if we need some SEO actions on two of our sites. Example:
Intermediate & Advanced SEO | | brandonegroup
https://www.example.com.au/collections/dresses
https://exampleamerica.com/collections/dresses Will the domain naming will fix the issue of possible duplication?
Do we still need to implement hreflang markups?0 -
Redirecting main www. subdomain to new domain. Can you then create a new subdomain on the old domain?
Hi there, The scenario is this: We have been working on a rebrand and have changed the company name So, we want to redirect www.old-name.com to www.new-name.com However, the parent company is retaining the old brand name for corporate purposes So, in an ideal world, we'd be able to keep www.old-name.com active - but clearly that would sacrifice all of the authority built up over the years, so we do have to redirect the main www. subdomain in it's entirity. However - one suggested solution is to redirect www.old-domain.com to www.new-domain.com... but then create a new corporate subdomain: for example, business.old-domain.com business.old-domain.com will not be competing with the new site on any service/product related terms; it will only need to appear in SERPs for the company name I'd appreciate some thoughts on this, as I've not done this before or found any examples of anyone that has. Is that a massive risk in terms of sending a confusing message to Google? Thanks for your help
Intermediate & Advanced SEO | | edlondon0 -
Can you spot the differences?
Well, I have been scratching my head on this for days, I will try throwing the ball to you with hopes someone more experienced than me can help. The scenario is: e-commerce -> brand page -> SERP -> comparison between how two pages rank; one from my website, one from a competitor website. The brand is Michelin, the keyword is "pneumatici michelin" (equivalent in italian of “michelin tires”). I am not looking at SERP first page, where competition is surely much more fierce. I am looking at position 11: http://www.cambio-gomme.it/marchi/michelin/ And my page (not in the first 50): http://www.gomme-auto.it/pneumatici/michelin My page: MOZ Page Grade (for keyword “pneumatici michelin”): A External backlinks to the page: 1 Domain Authority: 29 Page Authority: 24 On-page SEO optimization: keyword density: 0.87% internal links: 145 external links: 3 page size: 108kb html size: 24kb words on page: 2077 link-words: 408 non-linked words: 1669 time to first byte: 0.419s Competitor page: MOZ Page Grade (for keyword “pneumatici michelin”): A External backlinks to the page: 0 Domain Authority: 26 Page Authority: 13 On-page SEO optimization: keyword density: 0.75% internal links: 70 external links: 1 page size: 31kb html size: 9kb words on page: 1521 link-words: 168 non-linked words: 1353 time to first byte: 0.373s Domain age is very similar, both websites launched close to each other in 2012. Ideas? Suggestion on other metrics to compare?
Intermediate & Advanced SEO | | max.favilli0 -
2 URLS pointing to the same content
Hi, We currently have 2 URL's pointing to the same website (long story why we have it) - A & B. A is our main website but we set up B as a rewrite URL to use for our Pay Per Click campaign. Now because its the same site, but B is just a URL rewrite, Google Webmaster Tools is seeing that we have thousands of links coming in from site B to site A. I want to tell Google to ignore site B url but worried it might affect site A. I can't add a no follow link on site B as its the same content so will also be applicable on Site A. I'm also worried about using Google Disavow as it might impact on site A! Can anyone make any suggestions on what to do, as I would like to hear from anyone with experience with this or can recommend a safe option. Thanks for your time!
Intermediate & Advanced SEO | | Party_Experts0 -
How Come Meta is different based on different query?
We have a site we added a number to in the meta description. Once we did that we did a fetch as google to hopefully recrawl the page quicker. A few days later and we cleared W3 cache on WP and clear computer cache, then did search on common search for the site/page. WidgetA for example. The url is OurClient.com/widgetA/ - on organic in meta on SERP and we see our new meta with number. We then do a search on a similar term WidgetingA for example and the same url shows: OurClient.com/widgetA/ BUT THE meta description is different on SERP! It is the old meta. When we look at the element using mozbar, it shows the new meta as it should same as when we look at it under the original search term. So, search for WidgetA, get new meta in serps and search for WidgetingA (which returns same url as WidgetA) and we get the old meta. Thoughts???
Intermediate & Advanced SEO | | RobertFisher0 -
Do I need an invitation for Press Release Point?
Hey everyone, I went to this page http://www.pressreleasepoint.com/submit-press-release on Press Release Point and it said "Sorry, new user registration by invitation only." Does anyone know a way around it, or how I can get an invitation? Thanks 🙂
Intermediate & Advanced SEO | | jhinchcliffe0 -
Redirection Effects on Sub Domain
Hi, I would try to summarize my query through an example. Lets say site A (www.siteA.com) have two sub domain (subdomain1.siteA.com & subdomain2.siteA.com) and another site B ( www.siteB.com ) have no sub domain. Due to some obvious reason we need re direct the site site A (www.siteA.com) to site B ( www.siteB.com ) and one of the sub domain (subdomain1.siteA.com) to site B (subdomain1.siteB.com). Now the question is that in case of ( subdomain2.siteA.com ) can we keep the sub domain to site A even though site A has been re directed to site B ? Reasons for keeping this can be traffic, earnings etc. Is it possible to keep it like that or provision for further optimization? Plz help.
Intermediate & Advanced SEO | | ITRIX0 -
Redirecting a Page from Domain A to Domain B
We have a page on Domain A, an established and well-ranking website, that would be more appropriate on Domain B, a site that we launched about two years ago. This page ranks well, pulls nice search traffic and has traffic from external links. We would like to move the page and its traffic from Domain A to Domain B using a 301 redirect. Have you ever done this or have you heard of how it has worked for someone else? Thanks!
Intermediate & Advanced SEO | | EGOL0