Support » Fixing WordPress » hreflang

  • Hey all, I created a website with wordpress in italian, and then I created the english version. Now in the header beetween <head> and </head> i put hreflang code by google, to get it targeted by language. Since i don’t really need to get people targetted to english version for every page, i set as alternative version the english homepage, but Google webmaster tools keep telling me that my website has not hreflang tag.

    This is what i wrote in head section of header.php

    <link rel="alternate" hreflang="x-default" href="" />
    <link rel="alternate" hreflang="en-gb" href="" />
    <link rel="alternate" hreflang="en-us" href="" />
    <link rel="alternate" hreflang="en" href="" />

    Any help?

    Thanks in advance.

  • The topic ‘hreflang’ is closed to new replies.