Closed (fixed)
Project:
External Hreflang
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
3 Apr 2019 at 19:27 UTC
Updated:
17 Apr 2019 at 19:34 UTC
Jump to comment: Most recent
Token format [current-page:url:relative:en]
Here last en should be dynamic and should be the language code.
So if Drupal is setup to have 2 languages EN and ES, tokens available should be
[current-page:url:relative:en]
[current-page:url:relative:es]
And possible configuration in metatags
es-es|http://es.site.com/es[current-page:url:relative:es]
en-es|http://es.site.com/en[current-page:url:relative:en]
For a page http://us.site.com/en/promotions it would return
es-es|http://es.site.com/es/promotions-url-in-es
es-es|http://es.site.com/en/promotions
Along with alternate links from Drupal
Comments
Comment #3
nikunjkotecha