Yoast og:image uses blog image not the default image on homepage
-
Hey everyone,
I have a single page website with a blog, which includes a blog scroller with the latest posts.
I’ve set the default site og:image in the Yoast settings, but on the homepage, the og:image is always set as the og:image of the latest blog post rather than the default image. How can I change this? The Twitter twitter:image tag works fine and picks the default so the issue is just with the og:image.
My website is https://generationzero.com/en/ and here is my meta section right now:
<meta property="og:image" content="https://generationzero.com/wp-content/uploads/2018/07/machine_reveal_04_FB_1200x630px.png-588x1024.jpg" /> <meta property="og:image:secure_url" content="https://generationzero.com/wp-content/uploads/2018/07/machine_reveal_04_FB_1200x630px.png-588x1024.jpg" /> <meta property="og:image:width" content="588" /> <meta property="og:image:height" content="1024" /> <meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:description" content="An open world action game where you alone, or together with up to three friends, play in seamless co-op and wage a guerrilla war against invading machines." /> <meta name="twitter:title" content="Generation Zero | Open-World Action Game" /> <meta name="twitter:site" content="@GenZeroGame" /> <meta name="twitter:image" content="https://generationzero.com/wp-content/uploads/2018/08/Generation_Zero_FacebookMeta.jpg" />
#1: Sorry if this has been answered a 1000 times before. I couldn’t find anything that helped me.
#2 Sorry of this makes no sense. Happy to include more info./Daniel
- The topic ‘Yoast og:image uses blog image not the default image on homepage’ is closed to new replies.