Twitter Card Problems Over HTTPS


We’re trying to serve Twitter cards on a WordPress site run through Cloudflare. We’ve got page rules in place to always use HTTPS, which I believe is causing http:// calls for the image to redirect to a secure URL. Twitter doesn’t like the https:// calls, and as such Yoast is writing http:// fully qualified paths, which is causing the cards to not resolve in Twitter posts.

Does anyone have a suggestion for how we can serve that specific file over http: so the Twitter cards work? It’s also entirely possible that the web host is doing a redirect as well, which I’ll sort out next.


Can you give an example of one http:// URL that works, but fails on https://?

This topic was automatically closed after 30 days. New replies are no longer allowed.