-
I added the OpenGraph data but it doesn’t show on tweets.
Looking at the source code, no twitter:url section exists, so I think this must be the reason.
However, I can’t added it.
-
Hello,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
Can you please share the affected URL with us? So that we can investigate the issue further for you.
Please note that Rank Math only adds the Twitter attribution tags that are necessary for Twitter cards. Can you please confirm if
twitter:siteandtwitter:creatorare available on your source code? By default the Twitter URL will be the same as the page’s canonical link.Looking forward to helping you.
Thank you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
I added the website as sensitive data as I do not wish to share it publicly.
As you can see, neither twitter:site nor twitter:creator appear in the source code.
Hello,
Sorry for the confusion earlier. The issue is occurring due to
HTTPStoHTTPredirection for thetwitterboton your site.Please refer to the screenshots I’ve shared in the sensitive data section.
These redirects happen because of some server settings. Hence, it’s possible that some rule that’s redirecting
twitterbotdue to traffic or a CDN or something like that.In order to fix this issue, I’d like to suggest you to check all possible areas where twitterbots/any other bots can be redirected to the
HTTPversion of your site. You can also get in touch with your hosting provider to see if they can help you to identify and fix this issue.Let us know how it goes. Looking forward to helping you.
Thank you.
Thank you for your answer, that was nicely spotted. Unfortunately, for me both appear as the http version. This is expected to work since the twitter:description and the twitter:title parameters appear in the source code.
The problem is with the image, which doesn’t show the correct one. It’s should be very different from the one in your screenshots, namely with a black background.
In any case, the source code does not have the required twitter:site nor twitter:creator as you can see. Could this be the reason and how could I fix it?
Thank you
Hello,
I checked your site again pasting in Twitter and it seems to be showing the correct one now.
I’ve attached a screenshot in the sensitive data section for your reference.
Hope that helps, and please do not hesitate to let us know if you need our assistance with anything else.
Thank you.
You’re right, I don’t what happened but I’m happy it’s working now.
Thank you for your help!
Hello,
We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.
If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.
If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.
Thank you.
The ticket ‘OpenGraph data doesn’t show on Twitter posts’ is closed to new replies.