3

I'm planning to add hreflang attribute to my websites which are in different languages, including my main website which is in English. So I have few questions regarding this.

  1. Is the hreflang attribute to be added only on the homepage or shall I add it on every page?

  2. On every language version of my website I shall mention all other website using hreflang like this?

    HTML source code showing link elements with hreflang and rel-alternate

1

Yes, every page with an alternate. This is clearly stated in the specification:

rel="alternate" hreflang="x" is used as a page level, not a site level, and you need to mark up each set of pages, including the home page, as appropriate.

Emphasis mine.

| improve this answer | |
  • Thanks for your answer @GDav, Could you please share some insight second point of my question? – Sanchit Mar 11 '16 at 12:41
  • @Sanchit I'm not clear what you're looking for with the second point: it's a statement, not a question. Can you clarify? – GDVS Mar 11 '16 at 14:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.