Support » Plugin: Polylang » hreflang to translations that don’t exist

  • Hi,

    After installing PolyLang I’ve noticed hreflang meta tags are added for all languages, even for pages I didn’t yet translate.
    Is it possible to have the hreflang tags added only after a translation is available to that page?

    Thanks,
    Yariv

    • This topic was modified 5 months, 4 weeks ago by yarivhab.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • It seems there were translations to this page that were permanently deleted. Perhaps Polylang somehow still has reference to these pages? Inside the page’s edit page all languages appear with a plus, so it seems Polylang does realize there are no translations.

    I removed these meta tags using pll_rel_hreflang_attributes as a temporary solution, but I do need those tags to appear on pages that do have translations.

    Plugin Author Chouby

    (@chouby)

    Hello,

    Polylang cannot show hreflang to translations which don’t exist or which have been deleted. Maybe a cache issue?

    Cache was cleared. Translations don’t exist, not in trash. But the page has hreflang tags:
    http://www.ivy.co

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.