I am struggling to create an alternate link like the canonical link in the <head>
Currently, there is something like this:
I want to add this directly below it. Note "alternate" and
This works in XF 1.5:
I have tried to do something similar and to adapt the canonical_url macro without any success.
Any ideas?
Currently, there is something like this:
Code:
<link rel="canonical" href="https://xenforo.com/community/threads/thread-name.1234/" />
I want to add this directly below it. Note "alternate" and
?hl=fr" hreflang="fr"
Code:
<link rel="alternate" href="https://xenforo.com/community/threads/thread-name.1234/?hl=fr" hreflang="fr" />
This works in XF 1.5:
Code:
<link rel="alternate" href="{xen:link 'canonical:threads', $thread, 'page={$page}'}" hreflang="en" />
I have tried to do something similar and to adapt the canonical_url macro without any success.
Any ideas?