-
AuthorPosts
-
September 5, 2014 at 9:53 am #313876
Hi guys!
I have a problem with SEO by Yoast Plugin! I am trying to override the Facebook image of woocommerce products, but it does’t work! It shows all the time the logo of my website. Can you help me to resolve this problem?Cheers
D.September 5, 2014 at 10:25 am #313895Hey David!
I checked some product pages – i.e. https://www.newageshop.com.au/product/gratitude-diary-2015/ and the og:meta image tag is set properly. I.e. on the Gratitude Diary 2015 product page the og:image tag looks like.
<meta property="og:image" content="https://www.newageshop.com.au/wp-content/uploads/2014/08/2015GratitudeCover-e1409195943941.jpg" />
However when I try to open the image url in my browser https://www.newageshop.com.au/wp-content/uploads/2014/08/2015GratitudeCover-e1409195943941.jpg your server denies the access to it and I think that’s the source of the problem. You probably need to check the folder permissions and server configuration. If you don’t know what causes this issue I recommend to contact the server administrator or host.
Cheers!
PeterSeptember 5, 2014 at 11:04 am #313921Hy Dude!
Thank you so much! I setup a redirect in .htacess to avoid direct access to files! This is the problem! I think that I have to disable it!Cheers
D.September 5, 2014 at 11:14 am #313935Hy Dude!
Disabled but the problem persist!https://www.newageshop.com.au/product/traditional-dream-catcher-large-brown/
September 6, 2014 at 11:39 am #314455Hi!
I don’t know why facebook uses the logo. I check the source code and the og:meta and image tags contain the featured image of the product:
<!-- This site is optimized with the Yoast WordPress SEO plugin v1.5.6 - https://yoast.com/wordpress/plugins/seo/ --> <meta name="description" content="Beautiful large traditional dream catcher in black, brown and beige. The Feathers are real, not manufactured."/> <link rel="canonical" href="https://www.newageshop.com.au/product/traditional-dream-catcher-large-brown/" /> <link rel="publisher" href="https://plus.google.com/u/0/b/102179568412487160290/102179568412487160290/about"/> <meta property="og:locale" content="en_US" /> <meta property="og:type" content="article" /> <meta property="og:title" content="Traditional Dream Catcher Large Brown" /> <meta property="og:description" content="Beautiful large traditional dream catcher in black, brown and beige. The Feathers are real, not manufactured." /> <meta property="og:url" content="https://www.newageshop.com.au/product/traditional-dream-catcher-large-brown/" /> <meta property="og:site_name" content="The New Age Shop" /> <meta property="article:publisher" content="https://www.facebook.com/NewAgeShopOnline" /> <meta property="og:image" content="https://www.newageshop.com.au/wp-content/uploads/2014/06/product_036.jpg" /> <meta name="twitter:card" content="summary"/> <meta name="twitter:site" content="@NewAgeShopByron"/> <meta name="twitter:domain" content="The New Age Shop"/> <meta name="twitter:creator" content="@NewAgeShopByron"/> <meta itemprop="image" content="https://www.newageshop.com.au/wp-content/uploads/2014/06/product_036.jpg"> <!-- / Yoast WordPress SEO plugin. -->
The logo image itself is not set as og:meta image in the source code and it’s also not wrapped into a h1, etc. tag which might affect the facebook image parser. I recommend to contact the Yoast support team and to ask them why facebook doesn’t accept your featured image.
One reason could be the size of the images – facebook recommends too use images with a size of 600x600px or more: https://developers.facebook.com/docs/sharing/best-practices
Regards,
PeterSeptember 6, 2014 at 1:28 pm #314478Thanks Peter!
I’ll do!Cheers
D. -
AuthorPosts
- The topic ‘SEO by Yoast Overriding the Facebook image problem’ is closed to new replies.