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
-
Hreflang Tags & Canonicals Being Used
We have a site on which both hreflang tags and canonicals are being used. There are multiple languages, but for this I'll explain our problem using two. There are a ton of dupe page titles coming up in GSC, and we're not sure if we have an issue or not. First, the hreflang tags are implement properly. UK page pointing there, US page pointing there. Further down the page, there are canonical tags - except the UK canonical tag points to the UK page, and the US version points to the US page. I'm not sure if this will cause an issue in terms of SEO or indexing. Has anyone experienced this before or does anything have any insight into this? Thanks much! Matt
Intermediate & Advanced SEO | | Snaptech_Marketing0 -
Letting Others Use Our Content: Risk-Free Attribution Methods
Hello Moz! A massive site that you've all heard of is looking to syndicate some of our original editorial content. This content is our bread and butter, and is one of the primary reasons why people use our site. Note that this site is not a competitor of ours - we're in different verticals. If this massive site were to use the content straight up, I'm fairly confident that they'd begin to outrank us for related terms pretty quickly due to their monstrous domain authority. This is complex because they'd like to use bits and pieces of the content interspersed with their own content, so they can't just implement a cross-domain canonical. It'd also be difficult to load the content in an iframe with noindex,nofollow header tags since their own content (which they want indexed) will be mixed up with ours. They're also not open to including a link back to the product pages where the corresponding reviews live on our site. Are there other courses of action that could be proposed that would protect our valuable content? Is there any evidence that using schema.org (Review and Organization schemas) pointing back to our review page URLs would provide attribution and prevent them from outranking us for associated terms?
Intermediate & Advanced SEO | | edmundsseo1 -
Hreflang for Canadian web visitors (when their browsers are set to en-us)
We're in the process of implementing hreflang markup for Canadian & US versions of a website. We've found that about half of our Canadian traffic has browsers that are set to en-us (instead of en-ca, as would be expected). Should we be concerned that Canadians with en-us browser settings will be shown the US versions of the website (as the hreflang would markup 'en-us' for the US version of the page). Our immediate thoughts are that since they're likely to be searching from Google.ca and would also have Canadian IP addresses, that this won't be an issue. Does anyone have any other thoughts here?
Intermediate & Advanced SEO | | ATMOSMarketing560 -
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 -
Canonical tag + HREFLANG vs NOINDEX: Redundant?
Hi, We launched our new site back in Sept 2013 and to control indexation and traffic, etc we only allowed the search engines to index single dimension pages such as just category, brand or collection but never both like category + brand, brand + collection or collection + catergory We are now opening indexing to double faceted page like category + brand and the new tag structure would be: For any other facet we're including a "noindex, follow" meta tag. 1. My question is if we're including a "noindex, follow" tag to select pages do we need to include a canonical or hreflang tag afterall? Should we include it either way for when we want to remove the "noindex"? 2. Is the x-default redundant? Thanks for any input. Cheers WMCA
Intermediate & Advanced SEO | | WMCA0 -
Show Decorative Details or Consolidate Pages with Attributes
This is a site with handcrafted home décor products. Is it better seo to have 1 product for each spoon style and use attributes to show the display options? The decorative display details are important. How do you deal with the important details of the display options? One set of products is measuring spoon sets. For each spoon there are 4 different display options: wood or pewter and hang on a tall post or hang on a wide wall hanger. And there are 8 different spoon styles. The pewter displays have design details matched to the spoon style. (eg. the fish spoon has fishes on it's hanger, the fleur de lys has fleur de lys on it) So the attributes do not change the product itself but instead change the look of how they are displayed. At present each display option/ spoon style is shown as a separate item. That makes 32 different products on the category page. What do you feel is the best way to deal with showing style details and consolidating pages for better seo? Best wishes from Vermont Handcrafter
Intermediate & Advanced SEO | | stephenfishman0 -
How do I fix item warnings? Invalid URL in attribute: image_link
Today, I have submitted Test Data Feed on Google merchant center for one Ecommerce website. (http://www.techcart.co.uk) But, I can see item warnings for invalide URL in attribute: image_link. You can find out attachment to know more about it. My website contain image path as follow. http://images.icecat.biz/img/norm/high/101859-8677.jpg I have read detail guidelines for Google merchant center and come to know as follow. Product feed must contain image link with domain name like follow. http://images.vistastores.com/product/large/63241/Professional-Air-Grid-Managers-Office-Chair-with-Black-Mesh-Seat.jpg But, I have found approved merchants and products in Google shopping which does not contain image path with domain name. You can check following path to know more about it. http://common1.csnimages.com/lf/50/hash/19276/6218082/1/Tozai-Sun-Mirror-on-Pedestal.jpg https://www.google.com/shopping/product/14637277284367613483 So, How do I fix item warnings regarding Invalid URL in attribute: image_link? I need urgent help on this issue. Image_Link_Issue_Test_Data_Feed_TechCart.png?view=1∂=4
Intermediate & Advanced SEO | | CommercePundit0 -
Could a HTML <select>with large numbers of <option value="<url>">'s affect my organic rankings</option></select>
Hi there, I'm currently redesigning my website, and one particular pages lists hotels in New York. Some functionality I'm thinking of adding in is to let the user find hotels close to specific concert venues in New York. My current thinking is to provide the following select element on the page - selecting any one of the options will automatically redirect to my page for that concert venue. The purpose of this isn't to affect the organic traffic - I'm simply introducing this as a tool to help customers find the right hotel, but I certainly don't want it to have an adverse effect on my organic traffic. I'd love to know your thoughts on this. I must add that in certain cities, such as New York, there could be up to 450 different options in this select element. | <select onchange="location=options[selectedIndex].value;"> <option value="">Show convenient hotels for:</option> <option value="http://url1..">1492 New York</option> <option value="http://url2..">Abrons Arts Center</option> <option value="http://url3..">Ace of Clubs New York</option> <option value="http://url4..">Affairs Afloat</option> <option value="http://url5..">Affirmation Arts New York</option> <option value="http://url6..">Al Hirschfeld Theatre</option> <option value="http://url7..">Alice Tully Hall</option> .. .. ..</select> Many thanks Mike |
Intermediate & Advanced SEO | | mjk260