Zadejte hledaný výraz...
Jakub Glos
Webtrh.cz
Vývoj webových stránek na WordPressu a proklientský přístup pro freelancery
Třídenní infromacemi nabitý prezenční + online kurz v Praze od Webtrhu pouze za 2 871 Kč
Více informací

Hreflang a kanonizace – nejsem schopen vyřešit problém

beraniste
verified
rating uzivatele
(29 hodnocení)
9. 1. 2021 15:47:49
Dobrý den,
peru se s programátorem nad správnosti zápisu hreflang, když je na stránce zároveň udělaná kanonizace. Co se týče ostatních stránek, tak tam nám nástroj ahrefs.com hlásí u tohoto zápisu, že je vše v pořádku.
Jenže, jakmile nastavím kanonizaci, pokud mám např. produkt 24ks a produkt 1ks zvlášť, hlásí to, že se to takto nedělá a že to může mást vyhledávače. Já si produkt s 1ks nastavím jako kanonickou adresu a tu s 24 kusy nechci, aby mi vyhledávač bral.
Dávám vám sem vše co jsem o problematice našel - stejně nejsem schopen ten zápis dát dohromady a problém vyřešit:
Issue details
Pages that link to a non-canonical URL from their hreflang annotations.
Linking to a non-canonical version of a page from hreflang annotations can mislead search engines.
Rel="alternate" hreflang="x" will instruct search engines to show the translated (localized) version of a page while rel=canonical attribute will flag that this is not the authoritative (canonical) version.
How to fix
Review all the pages listed in this report.
You should modify their hreflang annotations so that they point to canonical pages.
If you found that the page linked from hreflang annotations got a non-canonical status unintentionally, remove its rel-canonical element or edit it to become a self-canonical.
"Hreflang to non-canonical" error in Site Audit | Help Center - Ahrefs
Kromě toho jsem hledal nějaký výklad o někoho, kdo to dělal a našel jsem toto:
hreflang & canonical tag: Use them correctly without conflicts
Poradíte někdo prosím, jak to napsat, aby to bylo čisté? Fakt už nevím, fakt nevím. Díky
9. 1. 2021 15:47:49
https://webtrh.cz/diskuse/hreflang-a-kanonizace-nejsem-schopen-vyresit-problem/#reply1474252
Pro odpověď se přihlašte.
Přihlásit