LinkedIn Issue not displaying description and image from WordPress

June 3, 2014   /   by Marco  / Categories :  Business, Software
Facebook Debugger result

So I tried sharing a WordPress blog post on LinkedIn and discovered that LinkedIn wasn’t displaying the description and thumbnail image from the Open Graph meta tags. I thought it could have been the actual post, so I tried different posts and received the same results.

WAS THE ISSUE WITH LINKEDIN?

No, but firstly let me explain how I worked out it wasn’t related to LinkedIn. After some digging around the best way to troubleshoot the issue was to use the Facebook debug tool. This tool debugs the Open Graph tags, so if there’s an error reported then most likely this would be the cause.

Here was the result:

Facebook Debugger result

WEBSITE PAGE SOURCE

Basically, the result reported that there was multiple OG URL’s specified. So what I had to do is actually look at the website’s page source code. Upon reviewing the source code, indeed there were duplicate OG tags.  To check your website’s page source code, just right click and select “view page source”.

WORDPRESS

So the issue was within WordPress. To narrow it down, have a look at the source code and determine whether it’s generated by the plugin or the theme. I am using the Yoast SEO plugin which by default generates the OG tags and upon further inspection the theme (single.php) page had this code:

single post meta tags

So upon deleting this section of the code and retesting using the Facebook debug tool, the problem was fixed – LinkedIn displayed the thumbnail and the description.

Hopefully this helps someone solve their issue.

 

DO YOU LIKE WHAT YOU'VE READ?
Join our subscription list and receive our content right in your mailbox. If you like to receive some Great deals our Freebies then subscribe now!

Our Sponsors

  • Follow us:

OTHER ARTICLES YOU MAY LIKE


HOW TO INCREASE MY CREDIT SCORE AFTER A BANKRUPTCY DISCHARGE

HOW TO INCREASE MY CREDIT SCORE AFTER A BANKRUPTCY DISCHARGE

If you are crushed under the heavy burden of debt, you can get relief by filing for bankruptcy. This will clear most of your existing debts. However, bankruptcy could have a significant effect on your credit by plummeting your credit score. With a low rating, it will be more difficult to qualify for credit facilities […]

read more
HOW TO OPEN THE METABOX P950HP BACK COVER

HOW TO OPEN THE METABOX P950HP BACK COVER

I recently needed to install a 960GB SSD Crucial Drive in my Metabox P950HP laptop and had no clue on how to do this. I tried removing all the screws from the back of the Metabox and pryed the back cover but it was stuck. I had a hunch there was something more to it […]

read more

Subscribe

Receive the latest news and awesome deals via email

Like our Page

Social Wall Social Wall