Adding hreflang tag to website | Community
Skip to main content
New Participant
May 30, 2018
Solved

Adding hreflang tag to website

  • May 30, 2018
  • 1 reply
  • 6922 views

Hi team,

I want to add the hreflang tag to my website for better SEO. From my research, the hreflang tag can be inserted inside <head>, and I saw from example that they use the href straight from their website, but is it possible to do it for the content page in AEM?

My idea is using this:

<link rel="alternate" href="https://forums.adobe.com/content/company/sg" hreflang="en-sg" />

<link rel="alternate" href="https://forums.adobe.com/content/company/cn" hreflang="zh-cn" />

<link rel="alternate" href="https://forums.adobe.com/content/company/vn/en" hreflang="en-vn" />

<link rel="alternate" href="https://forums.adobe.com/content/company/vn/vi" hreflang="vi-vn" />

<link rel="alternate" href="https://forums.adobe.com/content/company/international" hreflang="en-us" />

Please kindly help and advise.

Thank you very much,

Manh

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by kautuk_sahni

Reference post:- Re: Generating XML Sitemaps with HREFLANG Tags

1 reply

kautuk_sahni
kautuk_sahniAccepted solution
Employee
May 30, 2018