x-default hreflang attribute value
-
Hi
When is it best to use the x-default hreflang attribute value tags?
Screaming frog is flagging lots as missing, but is it necessary?
Thanks
-
Hey Becky–here's a primer on the hreflang tag that I recommend reading: https://moz.com/learn/seo/hreflang-tag
Essentially, if you have an international website with localized or translated versions (mexico.website.com, or website.com.mx, or website.com/mexico), you need to use rel="alternate" hreflang="es-mx" (using my Mexico example above) in the head tags of your site's pages.
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
-
Do bulk 301 redirects hurt seo value?
We are working with a content based startup that needs to 301 redirect a lot of its pages to other websites. Will give you an example to help you understand. If we assume this is the startups domain and URL structure www.ourcompany.com/brand1/article What they want to do is do a 301 redirect of www.ourcompany.com/brand1/ to www.brand1.com I have never seen 301 as a problem to SEO or link juice. But in this case where all the major URLs are getting redirected to other sites i was wondering if it would have a negative effect. Right now they have just 20-30 brands but they are planning to hit a couple of hundreds this year.
Intermediate & Advanced SEO | | aaronfernandez0 -
Using Hreflang Tags For Australian Domain Extension
Hi Guys, We have a company with a Australian domain www.domain.com.au which has just launched in the US market. The company is in the process of purchasing the .com version of the domain and then the plan is to have one single global .com site (like apple.com) on a new domain which would be domain.com and put both the (US version) and (Australian Version) on the new domain: domain.com (global). e.g. domain.com/us and domain.com/au However the .com version won't be available till March 2016. The company still wants to launch in the US market asap with it's current .com.au domain. which it has. So basically the current set-up is like this: http://www.domain.com.au/us/ (US homepage) http://www.domain.com.au/ (Australian homepage) I was wondering, does anyone know if hreflang tag can be used on a .com.au extension to target specific pages to the US. e.g. I was wondering will the hreflang tag override the fact that Google would automatically geo-target the .com.au extension to Australia? e.g. would the http://www.domain.com.au/us/ (US version) with the hreflang tag above be considered as the US version, even-though we it's on a .com.au domain extension? Cheers.
Intermediate & Advanced SEO | | jayoliverwright0 -
Value in adding rel=next prev when page 2-n are "noindex, follow"?
Category A spans over 20 pages (not possible to create a "view all" because page would get too long). So I have page 1 - 20. Page 1 has unique content whereas page 2-20 of the series does not. I have "noindex, follow" on page 2-20. I also have rel=next prev on the series. Question: Since page 2-20 is "noindex, follow" doesn't that defeat the purpose of rel=next prev? Don't I run the risk of Google thinking "hmmm….this is odd. This website has noindexed page 2-20, yet using rel=next prev." Even though I do not run the risk, what is my upset in keeping rel=next prev when, again, the pages 2-20 are noindex, follow. thank you
Intermediate & Advanced SEO | | khi50 -
Does linking to a div pass value to the base url?
hi, because of how my site is laid out, in many cases, it makes sense from a user experience standpoint to link to a specific id rather than to the base url (and the top of the page). for internal links on my site, will linking to http://domain.com/page/#div pass the same link value as linking to http://domain.com/page/ ? or am i shooting myself in the foot with this approach? thanks, Moz buddies!
Intermediate & Advanced SEO | | RGS_Energy0 -
Help with setting up 301 redirects from /default.aspx to the "/" in ASP.NET using MasterPages?
Hi SEOMoz Moderators and Staff, My web developer and I are having a world of trouble setting up the best way to 301 redirect from www.tisbest.org/default.aspx to the www.tisbest.org since we're using session very heavily for our ASP.NET using MasterPages. We're hoping for some help since our homepage has dropped 50+ positions for all of our search terms since our first attempt at setting this up 10 days ago. = ( A very bad result. We've rolled back the redirects after realizing that our session system was redirecting www.tisbest.org back to www.tisbest.org/default.aspx?AutoDetectCookieSupport=1 which would redirect to a URL with the session ID like this one: http://www.tisbest.org/(S(whukyd45tf5atk55dmcqae45))/Default.aspx which would then redirect again and throw the spider into an unending redirect loop. The Google gods got angry, stopped indexing the page, and we are now missing from our previous rankings though, thankfully, several of our other pages do still exist on Google. So, has anyone dealt with this issue? Could this be solved by simply resetting up the 301 redirects and also configuring ASP.NET to recognize Google's spider as supporting cookies and thus not serving it the Session ID that has caused issue for us in the past? Any help (even just commiserating!) would be great. Thanks! Chad
Intermediate & Advanced SEO | | TisBest0 -
Use of rel="alternate" hreflang="x"
Google states that use of rel="alternate" hreflang="x" is recommended when: You translate only the template of your page, such as the navigation and footer, and keep the main content in a single language. This is common on pages that feature user-generated content, like a forum post. Your pages have broadly similar content within a single language, but the content has small regional variations. For example, you might have English-language content targeted at readers in the US, GB, and Ireland. Your site content is fully translated. For example, you have both German and English versions of each page. Does this mean that if I write new content in different language for a website hosted on my sub-domain, I should not use this tag? Regards, Shailendra Sial
Intermediate & Advanced SEO | | IM_Learner0 -
How to Define rel=nofollow Attribute for External Links?
I want to define rel=nofollow attribute for Vista Patio Umbrellas. I have designed narrow by search section on home page. I want to define rel=nofollow attribute for all text links which are available in left navigation. So, what is best solution for that?
Intermediate & Advanced SEO | | CommercePundit0 -
What passes more value, a contextual link or a 1-to-1 301 redirect?
I have a client who is running a website which just lost a significant amount of rankings and by extension organic traffic in a redesign. Call it newsite.com. The client also has an older site that will no longer be updated, but has good authority that's built up over time. It even out ranks the current site for some queries. This website has no real value to my client. We want to try to pass the authority from oldsite.com to newsite.com as efficiently as possible. Each site has pages a good amount of matching pages, ie. oldsite.com/subject1 and newsite.com/subject1 My question is, would it provide more value to put a contextual link on the old page or simply redirect the entire page to the new site? oldsite.com/subject1 contains a link to newsite.com/subject1 oldsite.com/subject1 301 redirects to newsite.com/subject1 My guess is that the 301 would pass more value, but would like a SEOMoz opinion as well! Thanks!
Intermediate & Advanced SEO | | Alder1