-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: DocumentHead does not create meta or link tags #72567
Comments
@TheSteveK , Could you take a look at the comment above, and let us know if this differs from what you're reporting? Thanks for taking a look! |
@worldomonation @cuemarie I apologize for not being Steve, but I do at least remember discussing this issue with him 😉 In my local environment, I still see a disconnect between the properties I add to the <DocumentHead title="test" meta={ [ { my_meta_key: 'my_meta_value' } ] } /> While the title in my browser did in fact change, I wasn't able to find any new meta tags with the key or value from the example. Perhaps I'm writing something incorrectly? |
Thanks for those additional details @mattgawarecki ! I also sought input here on where this could go for further triaging: p1680652470203909-slack-C01LXBU1N21 and will assign according to the feedback there. 📌 ACTIONS
|
Highlighting this for attention for someone to pick up |
Quick summary
The component is supposed to be able to update page meta like title, link, meta, etc... I am working on a task to update the title and meta description for /features/comparison on Jetpack Cloud. The title property and the skipTitleFormatting properties work as expected. However, the meta and link properties do not get rendered (not sure about view count).
There have been a few bugs and PRs over the years to address this issue. The most recent one is #62552
Issues #25493 and #24977 also seem to touch on similar problems.
Steps to reproduce
This bug can be seen on pages that currently use the meta and/or link properties on pages in production. Specifically, I noticed it on wordpress.com/log-in
What you expected to happen
The page should have the appropriate tags
What actually happened
The page does not have the appropriate tags
Browser
No response
Context
No response
Platform (Simple, Atomic, or both?)
No response
Other notes
This does not affect performance or user experience, but it is not great for SEO efforts.
Reproducibility
Consistent
Severity
None
Available workarounds?
None
Workaround details
No response
The text was updated successfully, but these errors were encountered: