Sure, on any other page or post, you can upload a featured image that should display on facebook when you post a link, but what do you do when your home page is showing your latest posts? All in One SEO Pack to the rescue!
Simply install the plugin and go to All in One > General Settings in your left-hand dashboard menu. Then scroll almost all the way to the bottom where you will find Advanced Settings.
Then add this code to where it says “Additional Front Page Headers:”. (Obviously you are going to replace “your-image-url.jpg” with the link to your image.)
You might need to use the Facebook Debug tool to fetch new information if your image still isn’t showing:
https://developers.facebook.com/tools/debug/og/object/
Thanks to nimrodflores.com for this tip!
Leave a Reply