Open Graph Tags issue with Autoptimise Plugin
-
Hello. I had an issue with my Facebook share option not loading my Yoast Og meta tags. After a few hours of debugging, I realized a strange Style tag above the meta tags.
I 1st thought it was Yoast but could find nothing, which then made me think it could be the page optimization and caching. I completely turned of the Autoptimise plugin and Viola. My facebook sharing started to work and Facebook was able to pick up the of tags.
I then re-installed the Autoptimise plugin and fiddled with the CSS settings and the setting which caused the SEO problem is: Aggregate CSS-files?
This setting places a Style tag above the Yoast SEO tags which then breaks the Facebook sharing functionality because Facebook reads the 1st couple of kb on a page and if Autoptimise prints the style tag above it then it breaks the SEO.This is something Yoast SEO and Autoptimise can look into.
- The topic ‘Open Graph Tags issue with Autoptimise Plugin’ is closed to new replies.