Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
My site is single language - Vietnamese language. I don't want change GUI / translate anything to Vietnamese but contents: articles, pages. So, I don't enable any modules in group named Multilingual, it is not necessary and makes site heavy.
How I change some codes in Metatag module to make Metatag thinks that "vi" as "en", because every link has hreflang="en" while every thing in Vietnamese.
Thank you very much!
Comment | File | Size | Author |
---|---|---|---|
hreflang.png | 153.25 KB | superthin |
Comments
Comment #2
DamienMcKennaIt would probably be best to use hook_metatags_alter() to change the output, check metatag.api.php for details.
Comment #3
superthin CreditAttribution: superthin commentedComment #5
DamienMcKenna