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
-
Duplicate Content Errors new website. How do you know which page to put the rel canonical tag on?
I am having problems with duplicate content. This is a new website and all the pages have the same page and domain rank, the following is an example of the homepage. How do you know which page to use the canonical tag on? http://medresourcesupply.com/index.php http://medresourcesupply.com/ Would this be the correct way to use this? Here is another example where Moz says these are duplicates. I can't figure out why because they have different url's and content. http://medresourcesupply.com/clutching_at_the_throat http://medresourcesupply.com/index.php?src=gendocs&ref=detailed_specfications &category=Main
Intermediate & Advanced SEO | | artscube.biz0 -
What is the best way to correct 403 access denied errors?
One of the domains I manage is seeing a growing number of 403 errors. For SEO purposes would it be ideal to just 301 redirect them? I am plenty familiar with 404 error issues, but not 403s.
Intermediate & Advanced SEO | | RosemaryB0 -
Rankings gone, no WMT errors, help!
Hi, Client Google rankings have been seriously hit. We have done everything we know of to see why this is the case, and there is no obvious explanation. The client dominated search terms, and are no down on page 7/8 for these search terms. There are no errors in WMT, so we can not resubmit for reconsideration. This is a genuine client and their business has been seriously affected. Can anybody offer help? Thanks in advance!
Intermediate & Advanced SEO | | roadjan0 -
Is it a problem to use a 301 redirect to a 404 error page, instead of serving directly a 404 page?
We are building URLs dynamically with apache rewrite.
Intermediate & Advanced SEO | | lcourse
When we detect that an URL is matching some valid patterns, we serve a script which then may detect that the combination of parameters in the URL does not exist. If this happens we produce a 301 redirect to another URL which serves a 404 error page, So my doubt is the following: Do I have to worry about not serving directly an 404, but redirecting (301) to a 404 page? Will this lead to the erroneous original URL staying longer in the google index than if I would serve directly a 404? Some context. It is a site with about 200.000 web pages and we have currently 90.000 404 errors reported in webmaster tools (even though only 600 detected last month).0 -
How important is it to fix Server Errors?
I know it is important to fix server errors. We are trying to figure out how important because after our last build we have over 19,646 of them and since google only gives us a 1000 at a time the fastest way to tell them we have fixed them all is to use the api etc which will take time. WE are trying to decide is it more important to fix all these errors right now or focus on other issues and fix these errors when we have time, they are mostly ajax errors. Could this hurt our rankings? Any thoughts would be great!
Intermediate & Advanced SEO | | DoRM0 -
Error 403
Hi SEOmoz community, Today, I checked the google webmaster tool of one of my clients, and ithere are 18 403 errors, I was wondering on how to fix those since it is the first time I come across these errors? How can I avoid that in the future? Thank you,
Intermediate & Advanced SEO | | Ideas-Money-Art0 -
Can 404 Errors Be Affecting Rankings
I have a client that we recently (3 months ago) designed, developed, and launch a new site at a "new" domain. We set up redirects from the old domain to the new domain and kept an eye on Google Webmaster Tools to make sure the redirects were working properly. Everything was going great, we maintained and improved the rankings for the first 2 months or so. In late January, I started noticing a great deal of 404 errors in Webmaster Tools for URLs from the new site. None of these URLs were actually on the current site so I asked my client if he had previously used to domain. It just so happens that he used the domain a while back and none of the URLs were ever redirected or removed from the index. I've been setting up redirects for all of the 404s appearing in Webmaster tools but we took a pretty decent hit in rankings for February. Could those errors (72 in total) been partially if not completely responsible for the hit in rankings? All other factors have been constant so that lead me to believe these errors were the culprits.
Intermediate & Advanced SEO | | TheOceanAgency0 -
The system shows duplicate content for the same page (main domain and index.html). Is this an error of SEOMOZ?
Should I be worried that this will affect SEO? Most sites redirect to the index.html page, right? [edited by staff to remove toolbar data]
Intermediate & Advanced SEO | | moskowman0