wordpress-seo icon indicating copy to clipboard operation
wordpress-seo copied to clipboard

Incorrect og:image for the static homepage, using the default one instead

Open mariusghitulescu opened this issue 8 years ago • 23 comments

  • [x] I've read and understood the contribution guidelines.
  • [x] I've searched for any related issues and avoided creating a duplicate issue.

Please give us a description of what happened.

When choosing the og:image for the homepage (a static page), Yoast SEO will use the default og:image (set in SEO → Social → Facebook) instead of the image set for the homepage.

Please describe what you expected to happen and why.

I expected to see in the source of the homepage the og:image which I have selected using Yoast SEO, not the default og:image set in SEO → Social → Facebook.

How can we reproduce this behavior?

  1. Go to SEO → Social → Facebook and select a default image (let's call it Image A)
  2. Set your homepage to a static page
  3. Edit the homepage and select a different og:image (Image B) through Yoast SEO
  4. Check the homepage's source, the og:image will Image A (the default one) instead of the one specified with Yoast SEO

Screenshots

Default image URL default image Chosen image chosen image chosen image 2

Homepage Source source

Technical info

  • WordPress version: 4.9.5
  • Yoast SEO version: 7.4.2
  • Relevant plugins in case of a bug:
  • Tested with theme:

mariusghitulescu avatar May 04 '18 22:05 mariusghitulescu

Please inform the customer of conversation # 357281 when this conversation has been closed.

Pcosta88 avatar May 08 '18 19:05 Pcosta88

Please inform the customer of conversation # 357707 when this conversation has been closed.

monbauza avatar May 11 '18 07:05 monbauza

Please inform the customer of conversation # 363821 when this conversation has been closed.

monbauza avatar May 14 '18 11:05 monbauza

Please inform the customer of conversation # 367244 when this conversation has been closed.

mariusghitulescu avatar May 15 '18 13:05 mariusghitulescu

Please inform the customer of conversation # 370229 when this conversation has been closed.

mariusghitulescu avatar May 18 '18 20:05 mariusghitulescu

Please inform the customer of conversation # 370665 when this conversation has been closed.

mariusghitulescu avatar May 21 '18 20:05 mariusghitulescu

Please inform the customer of conversation # 368065 when this conversation has been closed.

mariusghitulescu avatar May 21 '18 21:05 mariusghitulescu

Please inform the customer of conversation # 374118 when this conversation has been closed.

devnihil avatar May 24 '18 20:05 devnihil

Please inform the customer of conversation # 374397 when this conversation has been closed.

mayada-ibrahim avatar May 25 '18 20:05 mayada-ibrahim

Please inform the customer of conversation # 374676 when this conversation has been closed.

mariusghitulescu avatar May 25 '18 21:05 mariusghitulescu

Please inform the customer of conversation # 376029 when this conversation has been closed.

mariusghitulescu avatar May 28 '18 19:05 mariusghitulescu

Please inform the customer of conversation # 374862 when this conversation has been closed.

mariusghitulescu avatar May 28 '18 21:05 mariusghitulescu

Please inform the customer of conversation # 375264 when this conversation has been closed.

monbauza avatar May 29 '18 08:05 monbauza

Further Review

A.With the free plugin go to Settings-Reading and set a static page

B.Go to page and add in a specific Facebook image

screen shot 2018-05-30 at 11 21 31 am

C.See Yoast fails to output the OpenGraph Facebook image BUT that the Twitter Tag is correctly outputted

screen shot 2018-05-30 at 11 21 45 am

Possible Workaround: ​The workaround is to go to SEO-Social-Facebook and add a default Facebook image.

Pcosta88 avatar May 30 '18 15:05 Pcosta88

I have the same problem. Suddenly it wouldn't accept my specified image URL anymore, and instead show a "random" image from the page. Latest wordpress and yoast.

Workaround:

  • empty facebook image url on the page
  • set default facebook image in SEO > social > facebook

rutgermuller avatar May 30 '18 18:05 rutgermuller

Please inform the customer of conversation # 379138 when this conversation has been closed.

rumejan avatar Jun 02 '18 03:06 rumejan

Please inform the customer of conversation # 371300 when this conversation has been closed.

rmarcano avatar Jun 04 '18 20:06 rmarcano

Please inform the customer of conversation # 380446 when this conversation has been closed.

priscillamc avatar Jun 05 '18 15:06 priscillamc

Please inform the customer of conversation # 382057 when this conversation has been closed.

mariusghitulescu avatar Jun 06 '18 20:06 mariusghitulescu

Please inform the customer of conversation # 381796 when this conversation has been closed.

mmikhan avatar Jun 07 '18 22:06 mmikhan