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.
Hello,
Thank you for the great module! Everything works nice, but I have one small problem. I have some url aliases and when I use these in the path based tab the meta information is not added to my page. For example
news/ is an alias of taxonomy/term/1
When news/ is added then the metadata is not added, but when I change the url to taxonomy/term/1 then the metadata is shown
Can this be fixed so that I can add the alias instead of the Drupal url? Thank in advance
Comments
Comment #1
valthebaldHi!
Module always takes into account internal path (taxonomy/term/1), but not an alias
Do you see tags if you go to news, not news/?
Comment #2
ssquirrel CreditAttribution: ssquirrel commentedI'm sorry but I don't follow what you mean? Does it not work with url aliases? There is a link at the bottom of every view where you can add the meta tags for the path you are on at the moment, do you mean that link won't work?
I'm asking since I can't get Path-Based Metatags to work either, I have custom templates and also a multilingual site…
Comment #3
valthebaldInternally, metatags_quick uses internal paths.
Yet, they must be displayed on both internal (taxonomy/term/1) and aliased (news) pages.
Note though, that drupal does not allow aliases to have trailing slash (i.e. news/).
If you go to news/ and press on path-based meta-tags, chances are that tags will be linked to non-existing path alias.
Try to enter tags from news, not from news/ page.
Comment #4
valthebaldPlease ignore my previous comment. You need to use regular (not path-based) meta tags for taxonomy terms