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.
The ability to add additional page SEO is wonderful, as implemented by #1269396: Smart Paging - Additional Page SEO Optimization. However it does not work well when using the Metatag module.
When the node has default token-based meta tags set, additional page SEO does not seem to overwrite it. The data from Metatags module always takes precedence. It would be nice to detect this and give highest priority to the page SEO put via Smart paging module.
Comment | File | Size | Author |
---|---|---|---|
#3 | integrate_with_metatag-2061359-3.patch | 2.98 KB | marcelovani |
#2 | integrate_with_metatag-2061359-2.patch | 2.84 KB | marcelovani |
Comments
Comment #1
arpeggio CreditAttribution: arpeggio commentedHi, thank you for reporting and good suggestion. I'll try work on this Metatag module integration on my free time. Of course, patches are always welcome. Thank you.
Comment #2
marcelovaniThis patch will add compatibility with Metatag module.
It will check if the module exists and store the data statically.
Then, I implemented a Metatag hook that will allow overriding the tags.
I have tested and now I don't see the tags in duplication any more.
Comment #3
marcelovaniI just realised that the tokens were not being rendered.
Comment #4
arpeggio CreditAttribution: arpeggio commentedHi, I have already pushed your patch. Thank you for sharing your patch.