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 have a website with three different content type.
I have overriden the metatags via user interface.
All tags are shown correctly but in one node type where neither description nor abstract can be rendered.
I tried with simple text and with tokens without success. I don't see any error in the log messages and all the other metatags are rendered correctly.
Any idea? Something I can check?
Thanks
Comments
Comment #2
DamienMcKennaSounds like something custom is interfering with the meta tags, this shouldn't happen.
Comment #3
DamienMcKennaWhat values have you filled into those meta tag fields?
Comment #4
dimon00 CreditAttribution: dimon00 commentedThank you, Damien.
I found out the cause but not the reason.
In settings tab I flagged my content types.
In the edit node I discovered that abstract and description were empty.
To solve the problem:
- I deleted the override settings for the node type,
- cleared the cache,
- bulk revert the content type
- check the node/edit and the field were properly filled.
Thank you for your support
Comment #5
dimon00 CreditAttribution: dimon00 commentedSill have the problem.
The filed description in my nodes (of a certain node type) are always void. Even after a bulk revert.
Not sure way. Any suggestion?
Comment #6
DamienMcKennaDo the other meta tags work correctly on that content type? What are you using to display that content type - Panels, Views, Display Suite, templates, etc? Do you have any other SEO-related modules installed, like Simple Meta, Metatags Quick, etc?
Comment #7
dimon00 CreditAttribution: dimon00 commentedFound the cause... and it is my fault.
I have a procedure that update that node type using a POST.
The textareas don't seem preserved by the POST (like flags).
Description and Abstract are textarea so my POST erased the two fields.
Mistery solved...
Thank you for your time
Comment #8
DamienMcKennaI'm glad you were able to get to the bottom of the problem, thanks for letting me know.