Proposal to extend the existing hreflang audit
See original GitHub issueThis could also be a brand new audit, but since an existing SEO hreflang audit exists, maybe it could just be extended upon?
The current hreflang audit checks that valid hreflang
codes are used. Like with any audit, we could further strengthen/widen the scope so that more things are validated. Here are some suggestions for enhancements:
- If a canonical URL exists, then ensure that URL is referenced by one of the
hreflang
’s source - Country based language variations are fine, e.g.
en-gb
. But could also do a general language version so an english speaker in canada still benefits, likeen
. So if we see hreflang codes ofen-US
anden-AU
, this audit could suggest an additional hreflang ofen
. source - Use utf-8 encoding in URLs: if a link href refers to
http://vélo.com
, that should instead behttp://v%C3%A9lo.com
source - The audit could check that a fully-qualified URL is being used - so no relative URLs source
Any thoughts on these? Happy to add these in if we feel these would be useful.
Google webmaster docs here.
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (7 by maintainers)
Top Results From Across the Web
How To Audit Hreflang - Screaming Frog
1) Select 'Crawl' and 'Store' Hreflang under 'Config > Spider > Crawl'. 'Configuration' is available in the top level menu of the SEO...
Read more >7 Most Common Hreflang Tags Mistakes and How to Fix Them
Learn how to spot hreflangs tags errors and best practices to increase targeted traffic from specific countries/languages.
Read more >Hreflang: The Easy Guide for Beginners - Ahrefs
Learn what hreflang tags are, when you should use them, how to implement them, and how to keep your website free of common...
Read more >12 Common Hreflang Mistakes and How to Prevent Them
As part of the audit, make sure to identify if any pages containing hreflang tags also contain a “noindex” tag. · Validate canonical...
Read more >Hreflang Tags: The SEO Attribute for Content in Multiple ...
Simply put, language (or lang) tag attributes on an HTML tag tells your browser the language of the current document or webpage, while...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
IMO there’s two separate audits to have for 3.
hreflang
@paulirish is that what you were thinking too?
Yep thanks!