• When I try to share an article from the my wordpress website , the featured images are not displayed in linkedin , my open graph tags are good and the Linkedin requirements have been respected:

    <meta property="og:locale" content="en_US">
        <meta property="og:type" content="article">
        <meta property="og:title" content="Txxxxxxxxx">
        <meta property="og:description" content="xxxxxxx...">
        <meta property="og:url" content="https://www.xxxxx.com/xxxxxxxr/">
        <meta property="og:site_name" content="xxxxxxx">
        <meta property="article:published_time" content="2022-12-22T10:31:33+00:00">
        <meta property="article:modified_time" content="2022-12-22T10:51:45+00:00">
        <meta property="og:image" content="https://www.xxxxx.com/wp-content/uploads/2022/12/E142CE3F-1E7D-443E-B7B0-79667773118C.jpeg">
        <meta property="og:image:width" content="1900">
        <meta property="og:image:height" content="633">
        <meta property="og:image:type" content="image/jpeg">
        <meta name="author" content="xxxxx Admin">
        <meta name="twitter:card" content="summary_large_image">
        <meta name="twitter:label1" content="Written by">
        <meta name="twitter:data1" content="xxxxx Admin">
        <meta name="twitter:label2" content="Est. reading time">
        <meta name="twitter:data2" content="2 minutes">
    

    Linkedin post inspector does not help me : it just sais “No image found”

    Image

    How to change the image

    Provide a metadata tag for the og:image in the page’s head section. For example: <meta name=”image” property=”og:image” content=”[Image URL here]”>

    Alternate values we considered

    Other values from the page that our scraper could have used for the content’s image:

    I’m a little stuck on how I’m going to debug this, if anyone has any ideas Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • If your Open Graph tags are correctly set up but LinkedIn is still not displaying the featured images when sharing articles from your WordPress website, there are several steps you can take to diagnose and potentially solve the issue:

    1. Check the Open Graph Tags

    Ensure that your Open Graph tags are correctly implemented in the <head> section of your HTML document. It looks like you’ve already done this, but double-check to ensure there are no typos or errors. Specifically, for the image tag, make sure the URL is accessible and not blocked by robots.txt or restricted by any server settings.2. Validate the Image

    • Image Requirements: Verify that the image meets LinkedIn’s requirements for size, aspect ratio, and file type. LinkedIn has specific guidelines for images to ensure they display correctly. As of my last update, LinkedIn prefers images that are at least 1200 pixels wide.
    • Accessibility: Confirm that the image URL is publicly accessible. LinkedIn’s crawler needs to be able to fetch the image without encountering any access restrictions.

    3. Use LinkedIn Post Inspector

    You mentioned that LinkedIn’s Post Inspector did not find any images. It’s often useful to clear caches and try inspecting the URL again. Sometimes, changes to the meta tags don’t reflect immediately because of caching issues either on LinkedIn’s end or on your website.4. Clear Caches

    • Website Cache: If your website uses caching plugins or is behind a CDN, clear the caches. Sometimes, an outdated version of the page is served to crawlers.
    • LinkedIn Cache: After clearing your site’s cache, use the LinkedIn Post Inspector again to force LinkedIn to re-crawl the page. This can help refresh any cached data LinkedIn has.

    5. Server Accessibility

    • Crawler Access: Ensure that your server is not blocking LinkedIn’s crawler. Some server configurations or security settings might inadvertently block crawlers.
    • Load Time: If your server responds slowly or the image takes too long to load, LinkedIn might skip fetching the image. Ensure your server’s response time is optimized.

    6. Alternate Methods

    If the issue persists, consider using a different image with a simpler URL structure or moving the image to a different hosting environment to rule out issues related to image accessibility or server configuration.7. Contact Support

    If none of the above steps work, consider reaching out to LinkedIn’s support. There might be a specific issue with how LinkedIn’s crawler is interacting with your website that only they can resolve.

    Thread Starter stomerfull2019

    (@stomerfull2019)

    Just a remark , when i share post form the development server , there is no problem , but from production server the featured image is not displaying , may be a issue from the production server ?

    Thread Starter stomerfull2019

    (@stomerfull2019)

    Hello ,

    I contacted linkedin support and this was their response :

    “Our Engineering Team  stated the fallowing information:

    “The logs indicate that this is a site local address:
    Forbidden to access link local address [www.mysite.com/fe80:0:0:0:102d:e3ff:fe94:168f] of url [
    https://www.mysite.com/wp-content/uploads/2024/01/pics-11.png
    ] which we do not allow. This is a policy at our end to block such addresses along with loopback address and multicast addresses.”

    Is this a problem with the site server configuration or something else? If it’s server side do you have any idea what I should do?

    Thanks in advance for your help


Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘LinkedIn not display og:image’ is closed to new replies.