"Hreflang” tagu kļūdas vietnē
Posted: Fri May 06, 2016 3:09 am
Google uz epastu atsūta tādu ziņu:Jūsu vietnes vietrāži URL ar nezināmu valodas kodu “x” un to alternatīvie URL.
Atradu šādu lietu:For language/country selectors or auto-redirecting homepages, you should add an annotation for the hreflang value "x-default" as well:
<link rel="alternate" href="http://example.com/" hreflang="x-default" />
Tikai nesaprotu kur tieši tas ir jāievieto!?
Kas var man palīdzēt?
Uldis.
Google to e-mail sends the message: Your site's URLs with unknown language code 'x' and the alternative URL.
I have found the following things: For language / country selector or auto-redirecting homepage, you shouldnt add an Annotation for the hreflang value "x-default" as well:
<Link rel = "alternate" href = "http://example.com/" hreflang = "x-default" />
Just I do not understand exactly where it should be placed !?
Who can help me?
Uldis.
Atradu šādu lietu:For language/country selectors or auto-redirecting homepages, you should add an annotation for the hreflang value "x-default" as well:
<link rel="alternate" href="http://example.com/" hreflang="x-default" />
Tikai nesaprotu kur tieši tas ir jāievieto!?
Kas var man palīdzēt?
Uldis.
Google to e-mail sends the message: Your site's URLs with unknown language code 'x' and the alternative URL.
I have found the following things: For language / country selector or auto-redirecting homepage, you shouldnt add an Annotation for the hreflang value "x-default" as well:
<Link rel = "alternate" href = "http://example.com/" hreflang = "x-default" />
Just I do not understand exactly where it should be placed !?
Who can help me?
Uldis.