MstrfBlng
Active member
I want to add a hreflang tag to all pages. And If I'm correct I can add this to the PAGE_CONTAINER template.
I want to add this to every page. Where "nl" is not a variable, but everwhere the same.
Where %URL% must be the canonical URL of the page:
<link rel="alternate" hreflang="nl" href="%URL%">
So for example:
For this page:
https://forum.website.com/threads/weer-een-nieuwe.18310/
It must be:
<link rel="alternate" hreflang="nl" href="https://forum.website.com/threads/weer-een-nieuwe.18310/">
And for this page:
https://forum.website.com/forums/glas-rubber-en-kunststof.24/
It must be:
<link rel="alternate" hreflang="nl" href="https://forum.website.com/forums/glas-rubber-en-kunststof.24/">
And so on
How do I do that?
Thanks,
Tim
I want to add this to every page. Where "nl" is not a variable, but everwhere the same.
Where %URL% must be the canonical URL of the page:
<link rel="alternate" hreflang="nl" href="%URL%">
So for example:
For this page:
https://forum.website.com/threads/weer-een-nieuwe.18310/
It must be:
<link rel="alternate" hreflang="nl" href="https://forum.website.com/threads/weer-een-nieuwe.18310/">
And for this page:
https://forum.website.com/forums/glas-rubber-en-kunststof.24/
It must be:
<link rel="alternate" hreflang="nl" href="https://forum.website.com/forums/glas-rubber-en-kunststof.24/">
And so on
How do I do that?
Thanks,
Tim