Page 1 of 1

"Hreflang” tagu kļūdas vietnē

Posted: Fri May 06, 2016 3:09 am
by uldo11
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.

Re: "Hreflang” tagu kļūdas vietnē

Posted: Fri May 06, 2016 4:11 am
by rkprimetimber1
Hey body maybe you forgot to enter the code EN on hreflang tag submission. Basically hreflang tag tells google about the language you are using on your site. let me give you an example: this is my site http://intelezsolution.com inspect its element then you will found your hreflang tag. I would aslo recommend you to check your theme. it is the most important part of seo . I would recommend a theme from genesis as they already contains hreflang tags and are compatible with google's schema.
you dont even need it to place it anywhere just change your theme to genesis theme. It is a paid theme but it can be downloaded for free