• fedesasso

    (@fedesasso)


    Hi,
    I’m testing TranslatePress and noticed that it uses region-specific values for alternate hreflang, e.g.

    <link rel=”alternate” hreflang=”en-US” href=”https://site.com/”/&gt;
    <link rel=”alternate” hreflang=”it-IT” href=”https://site.com/it/”/&gt;

    I couldn’t find a way to use generic language values, e.g.

    <link rel=”alternate” hreflang=”en” href=”https://site.com/”/&gt;
    <link rel=”alternate” hreflang=”it” href=”https://site.com/it/”/&gt;

    Is it possible?
    And is it possible to also set a catch-all x-default value?

    Thank you

    • This topic was modified 5 years ago by fedesasso.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘generic languages not set in hreflang?’ is closed to new replies.