hreflang (1 post)

  1. Renwod
    Posted 1 year ago #

    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="http://bbvillagiglio.com/" />
    <link rel="alternate" hreflang="en-gb" href="http://bbvillagiglio.com/en" />
    <link rel="alternate" hreflang="en-us" href="http://bbvillagiglio.com/en" />
    <link rel="alternate" hreflang="en" href="http://bbvillagiglio.com/en" />

    Any help?

    Thanks in advance.

Topic Closed

This topic has been closed to new replies.

About this Topic