• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 Adding hreflang tags with Multiple langues

Fred.

Well-known member
#1
I would like to add the hreflang tag to my forum pages.
Most content is in Dutch, however our linkdirectory is in English.
I have a Dutch translation (default) but also have the English as an option.

What will be the best approach for this?

Is it bad to add this on all pages?
Code:
<link rel="alternate" href="https://example.com" hreflang="x-default" />
How do I seperate and specify the Dutch from the English?

Thanks!