Read the hreflang tags of a page
check hreflang tags | show language versions of a page | hreflang x-default missing | extract alternate links from html | curl | hreflang | multilingual | seocurl -s https://example.com/ | tr '\n' ' ' | grep -oiE '<link[^>]*hreflang[^>]*>'Shows all <link rel="alternate" hreflang="..."> elements of the page. Worth checking: whether the page references itself, whether an x-default exists and whether all target URLs are absolute. The linked language versions must in turn point back to this page.
Note: hreflang can also be declared in the sitemap or in the HTTP header, in which case the output here stays empty.
Also searched as
- check hreflang tags
- show language versions of a page
- hreflang x-default missing
- extract alternate links from html