WordPress.org

Ready to get started?Download WordPress

Forums

Preview (excerpt and image) not being displayed when placing URL in LinkedIn (26 posts)

  1. grotm001
    Member
    Posted 1 year ago #

    Here's the blog: http://www.equitylancer.com/equicenter/

    If I try to share a link on LinkedIn by placing the URL in the status update field, WordPress should automatically generate an excerpt by selecting the first 55 words of the post followed by the linked ellipsis “[...]”. This is not the case anymore.

    Now, when I share a link, all I see is the link and a direct URL to the website.

    It works fine on Facebook, but not on LinkedIn. Any ideas why?

  2. graphical_force
    Member
    Posted 1 year ago #

    This maybe on LinkedIn's end. Have you checked with their support?

  3. grotm001
    Member
    Posted 1 year ago #

    I didn't think that would be necessary because as far as I'm aware other WordPress users are not experiencing the same issue.

  4. graphical_force
    Member
    Posted 1 year ago #

    What plugin are you using to share? Is it the one on the left? If so, have you checked their support forum?

  5. grotm001
    Member
    Posted 1 year ago #

    In regards to this issue, I'm not sharing with a plugin (and I've deactivated all plugins to ensure it's not plugin-related). I'm copying the direct URL to a post and then pasting it in the status update box on LinkedIn. I should see a preview, but I don't.

    Here's an example:

    Without preview: http://i.imgur.com/B8k7QT9.png
    With preview: http://i.imgur.com/MjwsVVe.png

  6. graphical_force
    Member
    Posted 1 year ago #

    When I click share on this post http://www.equitylancer.com/equicenter/1-million-to-acquire-viable-companies-for-their-talent-2/ I see the excerpt but not the image. If you are pasting it directly into Linkedin updates, you may try to revert to the twenty Twelve theme just to see if it works. If it does, you know it's your theme.

  7. grotm001
    Member
    Posted 1 year ago #

    I'm fairly certain it is the theme. I'm not sure how I can switch themes to verify without taking our site down. Regardless, if it is my theme, I don't know where to look.

    At first I thought it may be due to a problem with JetPack or some white space in one of my files, but I don't think that is an issue.

    Any ideas?

  8. grotm001
    Member
    Posted 1 year ago #

    I am experiencing this for all of the urls. Keep in mind that this worked fine until we customized the blog part of our theme, which is why I'm fairly certain it's my theme.

  9. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    What theme are you using? Switching to the default theme (temporarily) to test whether it is your theme would be the logical troubleshooting step.

  10. grotm001
    Member
    Posted 1 year ago #

    I downloaded the Theme Test Drive plugin so I can switch to the default theme (Twenty Twelve) without my users noticing (only admins see the switch).

    Here's what I see when I try to access a URL from my blog: http://i.imgur.com/drdx35M.png

    Any thoughts as to why the post won't show up here, but it shows up fine here? http://www.equitylancer.com/equicenter/veterans-tackle-the-challenges-of-entrepreneurship/

  11. graphical_force
    Member
    Posted 1 year ago #

    Is that a screenshot of the same page in the link? One says home and the other seems to be a link that is a couple of levels deeper into the site. Obviously, you have some custom code happening in your theme and you mentioned that this started when you customized the blog part of your theme. Do you what exactly was done? If you know what files were changed and you have a backup copy of them, you could upload those files just for testing purposes to see if the issue lies in there. Troubleshooting is working backwards.

  12. grotm001
    Member
    Posted 1 year ago #

    The screenshot is of the page I'm seeing when I try to visit a blog post (http://www.equitylancer.com/equicenter/veterans-tackle-the-challenges-of-entrepreneurship/). I thought that regardless of the theme, WordPress would still recognize the posts, but it may just be that our theme is too heavily customized now.

    If the template for our blog posts is customized, would this cause the issue? If so, how can I find the issue if I don't know what the correct syntax/code would be to enable WordPress to automatically generate our post's title, excerpt, and image (if one exists) when sharing the post on LinkedIn?

    Thank you.

  13. graphical_force
    Member
    Posted 1 year ago #

    That question is not easily answered since your theme is customized. For each blog post, are you filling out the excerpt or is it automatically generating it? If you are not, try it and see if that helps. Depending on how some themes are coded, I've seen stuff like that happen before.

  14. grotm001
    Member
    Posted 1 year ago #

    If the excerpt is filled out, the problem continues to persist. Nothing is generated when I paste the URL to the post in LinkedIn's status update.

    It would seem that the theme I'm using somehow broke or is preventing LinkedIn from capturing the automatically generated excerpts that WordPress is supposed to be creating when a URL is shared on another website like Facebook or Twitter. For some reason, it doesn't work on LinkedIn.

    Where is this functionality normally coded in themes? functions.php? What code should I be looking for or what changes can I make to my theme to ensure excerpts are automatically generated when links are shared on LinkedIn?

  15. graphical_force
    Member
    Posted 1 year ago #

    It is usually in functions.php but you mentioned that you had some work done so it's hard to tell. Do you have contact with whomever did the work? It's difficult to just give an answer since we don't know what code was added or not.

  16. grotm001
    Member
    Posted 1 year ago #

    Unfortunately, the developer who customized my theme went silent and disappeared after payment.

    I'm trying to figure out what would be the code before the theme was customized. What am I supposed to be looking for in the functions.php file that would normally tell WordPress to automatically generate an excerpt when a post is shared on LinkedIn?

    I realize it may have changed when the theme was customized, but if it works for Facebook and Twitter, then a part of the code must still remain the same, couldn't it?

  17. graphical_force
    Member
    Posted 1 year ago #

    This is going to be too difficult for you to get answered here. There is way too much that could have been done to the code so your question could be answered a million ways. Gathering from what you are saying he added a solution that was coded into the theme and who knows what other files it touches. For example, I've used socialite.js for sharing but that involves much more than the functions.php file.

    Unfortunately, questions this broad get ignored on here since most people know that it is outside of the scope to help with problems this deep. You may have to seek out someone that can take a look.

  18. karlbackus
    Member
    Posted 1 year ago #

    Hi there! I'm having the exact same problem with my site. Did you ever resolve this?
    I honestly can't figure it out.

    Thanks!
    Karl

  19. jappie11
    Member
    Posted 1 year ago #

    Hi there,

    I was struggling with the same issue (WordPress Multisite with MSLS for various languages) and made one discovery. I haven't tested this extensively so I'm not quite sure if this is "reproducable" or if it can help others but...

    It seems to me that part of the problem resulted from the permalink structure of your WordPress. Furthermore whenever more than one category was selected for a particular post LinkedIn would have difficulty interpreting the link.

    The solution I found to work was to de-activate all categories but one (Additional note: for some reason it seems that it's best to not choose "news" as the active category) and click update. Then try and copy-paste the link in the LinkedIn update field.

    If the link is interpreted ("swallowed") correctly by LinkedIn, you can post the update and if this is important choose to re-activate other categories on your WordPress post.

    HTH, JP

  20. John3121
    Member
    Posted 1 year ago #

    On another forum, I found a recommendation to check the banlist of hosts and user agents. For Apache webservers it is created in the .htaccess file by webmasters - manually or with the help of “security plugins”, e.g. Better WP Security.

    http://wordpress.org/support/topic/having-url-preview-problems-in-linkedin-bot-blacklist-is-blocking-them/

  21. markusday
    Member
    Posted 11 months ago #

    Hi everyone, I also found that de-activating WP Better Security solved this problem for me. Here's my 10 cents.

  22. eraynor
    Member
    Posted 10 months ago #

    I am experiencing inconsistent behavior that just changed this week although I did not apply any changes on my side.

    Old blog posts: Facebook and LinkedIn both resolve the URL to show the blog post excerpt and image in both the preview and after shared. This still works with new shares of old posts. (e.g. old post)

    New blog posts: Facebook works, but LinkedIn does not. On LinkedIn, it just shows the domain part of the URL and that is it. (e.g. new post)

    The only thing I can think of that is different is that it was a different contributor that uploaded the text content. But I am the one who uploads photos and actually publishes the posts.

  23. WPyogi
    Volunteer Moderator
    Posted 10 months ago #

    @eraynor - please start a new thread - this one is 8 months old.

  24. samtreacy
    Member
    Posted 7 months ago #

    Hi

    I am having the same problem. Where when i try and post a link from my wordpress website to linkedin it shows only the site title three times. No image, no information. My other website works fine. I noticed last night my website was missing a sitemap which I have fixed. Does anyone have another things I can check its really hindering my business not being able to post.

    I did e-mail linkedin helpdesk they closed the call and send me to wordpress support lol

    Freddo to anyone that can help me fix this :-)

    Sam

  25. eraynor
    Member
    Posted 7 months ago #

    This continues to be a sporadic problem on my site as well. It appears to be more of a problem during busy times, so I wonder if it is performance related. Perhaps LinkedIn has a short timeout for retrieving this data?

    I agree that this is a major hindrance to marketing my blog. Quite a few people have commented about experiencing this problem. It would be great if one of the code contributors would take this up!

  26. samtreacy
    Member
    Posted 7 months ago #

    Its really weird though as my other site works perfectly. I wonder if I've missed something. I have only just added a sitemap yesterday. Being a job board and not having the ability to post to Linkedin is a bit of a business killer. I'm sure its either a security issue or a setup issue. Any help appreciated

Topic Closed

This topic has been closed to new replies.

About this Topic