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.
I run a multilingual site and thus have several front pages, each corresponding to one of the languages.
The problem I've found is that the only way to modify the canonical URL for front pages is to change the generic setting in admin/config/search/metatags and that affects all languages.
Normally I'd just update each individual node, but it seems that the global front page setting weighs more. Is this intended behavior, and if so, is there a workaround I haven't discovered?
Thanks!
Comments
Comment #1
DamienMcKennaPlease test out the latest -dev release and let me know if it works better. If it does not, please change this issue back to "active" status and then provide a little more detail about what you're trying to do.
Comment #2
alexander.sibert CreditAttribution: alexander.sibert commentedI have exactly the same issue. I will test the latest dev release.
Update: I can not set for the frontpage node (which is configured in website settings as frontpage) specifiy Meta Tags and Meta Description btw it shows them not in the frontend.
Comment #3
alexander.sibert CreditAttribution: alexander.sibert commentedComment #4
DamienMcKennaPlease test beta9 :)
Comment #5
DamienMcKennaOk, I re-read the description and have a better understanding of the issue.
What URL does each homepage have? What are you using to handle the multilingual aspect?
Comment #6
alexander.sibert CreditAttribution: alexander.sibert commentedI use the default Drupal 7 Multi-Language method with the i18n module for translating nodes. In the website configuration of Drupal in the settings i set the frontpage with the url (example.com/frontpage)
Then i define Meta Tags, Meta Description and Title directly in the node which is set as frontpage in Drupal. At the moment in my Relaunch project i have only one language node. The second language comes later if i am with the development ready.
However, if i define the Meta Tags and save the node and open the frontend of my frontpage and take a look on my source code, the Meta Tags aren't there. I mean it shows not the created Meta Tags like Meta Description, Meta Tags and Title. It shows only the global values of the Meta-Tag settings under the configuration.
Comment #7
DamienMcKennaThis is being superseded by #2564483: Cannot translate metatags after last update anymore, which will fix this problem and others.