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
-
Ridding of taxonomies, so that articles enhance related page's value
Hello, I'm developing a website for a law firm, which offers a variety of services. The site will also feature a blog, which would have similarly-named topics. As is customary, these topics were taxonomies. But I want the articles to enhance the value of the service pages themselves and because the taxonomy url /category/divorce has no relationship to the actual service page url /practice-areas/divorce, I'm worried that if anything, a redundantly-titled taxonomy url would dilute the value of the service page it's related to. Sure, I could show some of the related posts on the service page but if I wanted to view more, I'm suddenly bounced over to a taxonomy page which is stealing thunder away from the more important service page. So I did away with these taxonomies all together, and posts are associatable with pages directly with a custom db table. And now if I visit the blog page, instead of a list of category terms, it would technically be a list of the service pages and so if a visitor clicks on a topic they are directed to /practice-areas/divorce/resources (the subpages are created dynamically) and the posts are shown there. I'll have to use custom breadcrumbs to make it all work. Just wondering if you guys had any thoughts on this. Really appreciate any you might have and thanks for reading
Intermediate & Advanced SEO | | utopianwp0 -
Do I miss traffic (thus, page value) by using the GWMT Parameter Handling Tool?
I'm working through duplicate content issues. The tracking code or the session id in the URL is being recognized as a different page than the original. Example: www.example.com is dup content to www.example.com?_nk=x&ad=y&_ga=z, which is tied to a marketing campaign If my setup in the URL parameter tool is set to: Effect = None Crawl = Representative URL, then do I: 1. Miss all the traffic being driven to the ?_nk page?
Intermediate & Advanced SEO | | johnnybgunn
2. With a Rep URL, there still would be two indexed listings: the .com & the .com?_nk...right? Neither is good. Redirects of all the URLs is not an option b/c there are hundreds of these that would need to be redirected. And I also don't want to slow down page load time with excessive redirects, which has been the case when adding 100+ redirects for the recent website migration we did.0 -
Can multiple geotargeting hreflang tags be set in one URL? International SEO question
Hi All, Thank you for this great post! I have a question please. If i target www.onedirect.co.nl/en/ in English for Holland, Belgium and Luxembourg, are the tags below correct? English for Holland, Belgium and Luxembourg: http://www.example.co.nl/en/" hreflang="en-nl" /> http://www.example.co.nl/en/" hreflang="en-be" /> http://www.example.co.nl/en/" hreflang="en-lu" /> AND Targeting Holland and Belgium in Dutch: Pour la page www.onedirect.co.nl on peut inclure ce tag: http://www.example.co.nl" hreflang="nl-nl" /> http://www.example.co.nl" hreflang="nl-be" /> thanks a lot for your help!
Intermediate & Advanced SEO | | Onedirect_uk0 -
Does Google give weight to the default measurement units (metric / imperial) on pages?
Hi, We run a series of weather websites that cater for the units (feet, metres, Celsius, Fahrenheight etc.) for the users by means of detecting their geo-location. So users in the US see the site in feet, Fahrenheight and pretty much the rest of the world gets metric units. My concern is that if we view the cached version of our pages as seen by the Googlebot out of Mountain View, California, it shows that our geoIP switch to imperial units has been activated for every location in the World. The question is, does the fact that we appear to cater for countries who use metric units by showing (in Google's eyes) Imperial units by default count against us from an SEO point of view? Thanks in advance for any comments, Nick
Intermediate & Advanced SEO | | nickruss0 -
Wikipedia links - any value?
Hello everyone. We recently posted some of our research to Wikipedia as references in the "External Links" section. Our research is rigorous and has been referenced by a number of universities and libraries (an example: https://www.harborcompliance.com/information/company-suffixes.php). Anyway, I'm wondering if these Wikipedia links have any value beyond of course adding to the Wiki page's information. Thanks!
Intermediate & Advanced SEO | | Harbor_Compliance0 -
Do links script tags pass value?
Hi I was wondering if there was any consensus over whether links in script tags pass any value - such as the link code below? Thanks
Intermediate & Advanced SEO | | James770 -
Title Attribute for H2 & h3 Tag SEO Question
Hi , We have an eCommerce Site and from looking at a competitor , they seem to be rank better than us even though our everything about our site is better . We hire the same products (are affiliated the same company) so the product list is the same. Both our category pages score A grade in Seomoz reports. So This is what I can deduce from the competitors category page I am trying to compete against. On the cement Mixer hire category page The competitor has put the Main Keyword "Cement mixer hire" in all the Title Attributes on their H2 and H3 tags as well as it being the main H1 tag. They have 5 product links in h3 tags all with the same title attribute (cement mixer hire) These links go through to product page. Am I missing a trick here ?..... I would have though using the title attribute so much for main keyword would be a bit spammy ?. I have copied them with the point 1 but I have not done mine h3 as yet. Just wondering that the SEO guru's thought ?. thanks Sarah
Intermediate & Advanced SEO | | SarahCollins0 -
Where is the Real Value in SEO?
Interesting topic and would love to hear some thoughts. How do you justify SEO, measure results, etc etc
Intermediate & Advanced SEO | | imageworks-2612900