Expand my Community achievements bar.

SOLVED

Adding hreflang tag to website

Avatar

Level 3

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

1 Accepted Solution

Avatar

Correct answer by
Administrator
1 Reply

Avatar

Correct answer by
Administrator

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



Kautuk Sahni