meta twitter:image not working well with Yoast
-
Hello,
When using Yoast SEO my Twitter preview images do not show on Twitter. It either does not show a <meta name=”twitter:image” …> at all (when viewed form the reverse proxy) or it does not convert the URL to a relative path (usually when viewed from the true URL rather than the reverse proxy).
Eg.
<meta name=”twitter:image” content=”https://foo.bar/wp-content/uploads/2022/01/foobar.png” />
Need it to always show and look like this:
<meta name=”twitter:image” content=”/wp-content/uploads/2022/01/foobar.png” />Thanks in advance!!!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘meta twitter:image not working well with Yoast’ is closed to new replies.