Href Lang Errors
-
Hi
Im getting href lang errors in my site audit for having no self referntial tags. I can't see anything wrong? Can anyone enlighten me
From this page ** http://www.key.co.uk/en/key/0-4-tonne-wll-6mm-single-leg-wire-rope-sling-580a078n**
-
Thank you everyone! I should have noticed this, so thanks for pointing it out.
Thanks for your help!
Becky
-
Hi Gianluca,
Just on what you said here:
"Formally, I don't see any mistake in how the hreflang has been implemented in the 2nd url, because if you really mean to have it canonicalized toward the 1st, then is totally correct to use the canonical url in the self-referential url and the en-ie hreflang annotations."
I kind of understand what you're saying about it not being wrong, but is does the hreflang become redundant because the URL is canonicalized and doesn't validate?
For Screaming Frog, did you have it set to "Respect Canonical"? If so, could that be the reason no errors were found?
Without having access to GSC, I like to use Dejan's Hreflang Testing Tool to quickly check for hreflang errors - and it does report errors with the example URL.
Cheers,
David
-
I see that that product has two Urls:
- http://www.key.co.uk/en/key/single-leg-wire-rope-slings
- http://www.key.co.uk/en/key/0-4-tonne-wll-6mm-single-leg-wire-rope-sling-580a078n
The first one is the Url you indicate as canonical and the second one is the one that you canonicalized toward the first and where the mistake is flagged. I suppose the same happens in the .ie version.
Formally, I don't see any mistake in how the hreflang has been implemented in the 2nd url, because if you really mean to have it canonicalized toward the 1st, then is totally correct to use the canonical url in the self-referential url and the en-ie hreflang annotations.
I checked the Urls with Screaming Frog, setting it to crawl the hreflang's urls, and it doesn't show any error... so, if that kind of mistake is presented only by the SEMRush Audit... then that's a mistake of the SEMRush audit.
However, does this mistake appear in your Google Search Console?
-
Hi Becky,
Along the lines of what James said, it's because this is not the canonical URL for the product.
The URL is:Â http://www.key.co.uk/en/key/0-4-tonne-wll-6mm-single-leg-wire-rope-sling-580a078n
But your canonical and hreflang tags don't match this URL.
You will get errors for any URLs that don't have a self-referring hreflang tags, and any URLs that don't have reciprocal hreflang tags from the alternate versions specified.
I would work with your devs to only display hreflang tags on canonical URLs - not on canonicalized URLs.
Cheers,
David
-
Hi
It's flagging up on all pages of the site in my SEM rush audit, I just can't identify what's wrong
Thanks for checking!
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
-
Will critical error in wordpress for memory limit affect seo rankings?
will critical error in wordpress to increase memory limit affect seo rankings?
Intermediate & Advanced SEO | | gamstopbet0 -
Why are "noindex" pages access denied errors in GWT and should I worry about it?
GWT calls pages that have "noindex, follow" tags "access denied errors." How is it an "error" to say, "hey, don't include these in your index, but go ahead and crawl them." These pages are thin content/duplicate content/overly templated pages I inherited and the noindex, follow tags are an effort to not crap up Google's view of this site. The reason I ask is that GWT's detection of a rash of these access restricted errors coincides with a drop in organic traffic. Of course, coincidence is not necessarily cause. Should I worry about it and do something or not? Thanks... Darcy
Intermediate & Advanced SEO | | 945010 -
18,000 'Title Element is too Long' Errors
How detrimental is this in the overall SEO scheme of things? Having checked 3 of our main competitors, they too seem to have similar issues... I am trying to look at a solution but it is proving very difficult! Thanks Andy
Intermediate & Advanced SEO | | TomKing0 -
Error: Missing required field "updated"
In my WordPress blog, there are pages for tags,categories,... like : https://www.abc.com/blog/category/how-to-cook-something/ On these pages I am getting the following error: Error: Missing required field "updated" So far I have 39 if these errors. Please let me know if this is an important issue to pay attention to? If yes, how I can fix it? Thanks Everyone
Intermediate & Advanced SEO | | AlirezaHamidian0 -
Google webmaster Smartphone errors fix
I have certain URL's that I have fixed before in google webmaster. With smartphone addition. It start appearing again. How can I fix the Google webmaster errrors for smartphones?
Intermediate & Advanced SEO | | csfarnsworth0 -
URL errors in Google Webmaster Tool
Hi Within Google Webmaster Tool 'Crawl errors' report by clicking 'Not found' it shows 404 errors its found. By clicking any column headings and it will reorder them. One column is 'Priority' - do you think Google is telling me its ranked the errors in priority of needing a fix? There is no reference to this in the Webmaster tool help. Many thanks Nigel
Intermediate & Advanced SEO | | Richard5551 -
Status Code: 404 Errors. How to fix them.
Hi, I have a question about the "4xx Staus Code" errors appearing in the Analysis Tool provided by SEOmoz. They are indicated as the worst errors for your site and must be fixed. I get this message from the good people at SEOmoz: "4xx status codes are shown when the client requests a page that cannot be accessed. This is usually the result of a bad or broken link." Ok, my question is the following. How do I fix them? Those pages are shown as "404" pages on my site...isn't that enough? How can fix the "4xx status code" errors indicated by SEOmoz? Thank you very much for your help. Sal
Intermediate & Advanced SEO | | salvyy0 -
Managing 404 errors
What is the best way to manage 404 errors for pages that are no longer on the server. For example, client deletes old site from server and replaces it with new site. Webmaster tools is reporting 100 +  404 errors form the old site. I've blocked the 404 pages with robot.text. Requested removal in google webmaster tools. And created a custom 404 page - http://www.tvsphoto.com/missingurlexample Is there anything else I can do?
Intermediate & Advanced SEO | | SEOProPhoto0