Har du någonsin delat en av dina WordPress artiklar på Facebook, bara för att se fel bild visas? Det kan vara frustrerande, särskilt när du har valt en bra bild för ditt inlägg. Många webbplatsägare står inför detta problem, och det är inte alltid klart hur man ska poprawka det.
När Facebook visar fel inläggsminiatyr kan det göra ditt inlägg mindre attraktivt för potentiella läsare. Det kan innebära att färre klickar på din länk eller delar ditt innehåll. Det är därför det är viktigt att se till att Facebook visar korrekt bild för dina inlägg.
Vårt team på WPBeginner gör regelbundet inlägg på Facebook och har hjälpt miljontals användare av WordPress att lösa problem som gillar detta. Vi förstår hur viktigt det är att dina delningar i Sociala medier ser bra ut och representerar ditt innehåll korrekt.
I den här przewodniken visar vi dig hur du ser till att Facebook alltid visar rätt inläggsminiatyr för dina inlägg i WordPress, vilket gör din delning i sociala medier mer effektiv.
Varför plockar Facebook inte upp thumbnail-imagen?
Det finns många anledningar till att ett inlägg på Facebook kan visa fel thumbnail eller visa den korrekta thumbnailen felaktigt. En av de vanligaste orsakerna är att ha flera bilder inställda i og:Image
tagged där din featured image är mindre än de andra bilderna.
Facebook använder Open Graph och tags, och många WordPress plugins gillar All in One SEO (AIOSEO) och Yoast SEO automatiskt add dem till din WordPress webbplats för att förhindra saknade miniatyrbilder.
Några andra orsaker är conflicting plugins, CDN-konflikter eller att open graph-metataggen saknas för thumbnail-imagen.
Det är verkligen svårt att gissa vad som orsakar problemet eftersom det inte finns några specifika felmeddelanden som visas när du använder felsökningsverktyget.
Med detta sagt, låt oss ta en titt på några sätt att fixa den felaktiga Facebook thumbnail issue:
Video Tutorial
Om du föredrar skriftliga instruktioner är det bara att fortsätta läsa.
Välja din thumbnail på Facebook med AIOSEO
Ett sätt du kan visa den thumbnail du vill ha är med det gratis pluginet AIOSEO. Det är det bästa pluginet för sökmotorsoptimering för WordPress på marknaden och allow you att enkelt optimera your content för search engines och social media websites.
Vi visar dig hur du gör detta med den gratis versionen av AIOSEO. Om du vill låsa upp fler funktioner för sökmotorsoptimering och få mer trafik till din WordPress site, då bör du kontrollera AIOSEO Pro. Se vår fullständiga AIOSEO review för mer detaljer.
Först måste du installera och aktivera AIOSEO. Här är vår fullständiga guide om hur du installerar ett plugin för WordPress.
När du har installerat pluginet kan du enkelt ändra inläggsminiatyren på Facebook när du skriver ett post. Rulla bara ner till metarutan AIOSEO Settings under post editor och klicka sedan på tabben ”Social”.
Lite längre ner på page kommer du att se en ”Image Source” dropdown där du kan välja thumbnail-bilden för Facebook.
Du kan till exempel använda din featured image eller ladda upp en customize istället.
När du har add to din Facebook thumbnail image där, måste du update din post. Detta kommer att fixa problemet i de flesta fall.
Så här gillar vi vårt post när det delas på Facebook:
Pro tips: Om detta inte fungerar, se till att du har clearat din WordPress cache och uppdaterat posten i Facebook debug tool, som nämns under denna artikel.
Välja din Facebook thumbnail med Yoast SEO tillägg
Yoast SEO plugin kommer också med möjligheten att add to en custom Facebook thumbnail till varje post eller page.
Du behöver bara installera och aktivera tillägget Yoast sökmotorsoptimering. För mer detaljer, se vår Step-by-Step guide om hur du installerar ett WordPress plugin.
Efter aktivering är det dags att ställa in en Facebook thumbnail i vilken post du vill.
När du skriver ett inlägg rullar du ner till metarutan Yoast SEO under post editor och klickar sedan på tabben Social. Där kommer du att se en knapp för att uploada en thumbnail image för Facebook.
Så här gillar vi thumbnailen på Facebook för vår artikel Hur man startar en blogg:
Använda Facebook Debug Tool för att cleara cacheminnet
Om du har lagt till rätt thumbnail och Facebook fortfarande inte visar rätt thumbnail, är issue related to caching.
Först måste du se till att du clearar cacheminnet för pages i WordPress.
Efter det måste du återställa Facebook-cachen med hjälp av deras debug-verktyg.
Facebooks debug-verktyg är det enklaste sättet att troubleshoota problem med thumbnails på Facebook. Kopiera bara URL:en till din WordPress post och klistra in den i Facebooks felsökningsverktyg.
Efter det klickar du på knappen ”Scrape Again” och Facebook uppdaterar thumbnailen för ditt post. Ibland kan du behöva klicka på knappen ”Scrape Again” två gånger.
Expertguider för användning av social media i WordPress
Vi hoppas att den här artikeln hjälpte dig att lösa problemet med felaktig miniatyr på Facebook i WordPress. Du kanske också vill se några andra przewodniker relaterade till att använda sociala medier i WordPress:
- Den kompletta Social Media Cheat Sheet för WordPress (Updated)
- Så här addar du dina social media feeds till WordPress (steg för steg)
- Så här schemalägger du WordPress-poster för sociala medier med Buffer
- Så här addar du icons för social media i din sidebar i WordPress
- Så här addar du social media icons till WordPress-menyer (enkelt sätt)
- Så här visar du antalet följare på sociala medier i WordPress
- Hur man visar författarens Twitter och Facebook på sidan Profil
- Bästa tillägg för social media för WordPress
- Bästa verktygen för övervakning av social media för användare av WordPress
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.
Syed Balkhi
Hey WPBeginner readers,
Did you know you can win exciting prizes by commenting on WPBeginner?
Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
You can get more details about the contest from here.
Start sharing your thoughts below to stand a chance to win!
Dayo Olobayo
I use the AIOSEO plugin to easily set the thumbnail for my articles on both Facebook and Twitter and it has been working for me flawlessly. The plugin really lives up to its name (All in One).
Jiří Vaněk
I also encountered a similar problem once and the solution was to remove mixed content where part of the site was http and part was https. Then the previews on Facebook were also displayed incorrectly.
Sam
Brilliant advise, worked straight away, thank you!!!
WPBeginner Support
Glad our guide was helpful!
Administratör
Blue
Hello I’m quite confused. I can’t find the Social Meta feature. I go to feature manager, and all it does is tell me I need the Pro version. Did they put all features behind a paywall?
WPBeginner Support
You would want to check in the individual posts at the bottom as that would be where you find this feature.
Administratör
Becka
I did all these things. Still doesn’t work. I can set the preferred image on all pages except my homepage. It always shows up as my site icon. Maybe I should dump AIOSEO and use a different one?
WPBeginner Support
For specifically your homepage you can find where to edit that under All in One SEO > Search Appearance. We would still recommend All in One SEO
Administratör
Chanin
Hi, I’m using Yeost SEO. I’ve been doing all the steps from adding the picture specific in the Yeost Facebook setting to Facebook debugging. The thumbnail still shows the logo of my website instead of the image and descriptions.
WPBeginner Support
The most common issue you would want to check would be that your site’s cache has cleared.
Administratör
Jill Hasty
My problem is not being able to set it…my problem is that I want it to default to using the feature image in my social media posts. It used to do that but now something has changed and it doesn’t do it anymore.
We’re often posting from sea via email so manually setting the image is not an option.
WPBeginner Support
If it is not using the featured image by default then you would likely want to check with the support for your SEO plugin to see if there is an issue with the plugin itself. You should also have the option to select the featured image as an image already uploaded to your site’s media library without needing to upload it again.
Administratör
Meghan Short
Hi, so I’m having a problem when sharing just my URL on Facebook. I was hoping it would show my header or logo image but it’s sharing my last blog upload image. Is there a way to fix that??
WPBeginner Support
In the general SEO settings for the plugin you are using, you should be able to set the image for your main site.
Administratör
Pam Molnar
Thank you so much for this article! I was so annoyed that I couldn’t get it to work right but your directions were simple and worked perfectly! Now on to check out more of your posts.
WPBeginner Support
Glad our guide was helpful
Administratör
Josephine Koumettou
Thank you so much for the detailed article! I tried the debugger and the All-In-One SEO suggestion but neither works
The weird thing is that when I share my blog post on my personal Facebook profile the thumbnail shows just fine, but when I share on my Facebook page (i.e. my business FB page), I keep getting my site’s logo instead of the post photo… Any ideas? Thank you so much
WPBeginner Support
Sadly, you may need to run the debug tool on the link to force Facebook to clear their cache of that specific post.
Administratör
Olidur Rahman
Recently im facing this message when i start to write a blog post ”The editor has encountered an unexpected error”
Please suggest me any solution about this topic…
WPBeginner Support
You would want to start by going through the recommendations in our article below:
https://www.wpbeginner.com/beginners-guide/beginners-guide-to-troubleshooting-wordpress-errors-step-by-step/
Administratör
Khizerulla Khan
Hi, I am a beginner and I want to know how would I add a option for customer’s like login with Google, login with Facebook and all these extra logging in options other then signing up and doing lengthy process. Please help me
WPBeginner Support
For what it sounds like you’re wanting, you would want to take a look at our article below:
https://www.wpbeginner.com/plugins/how-to-add-login-with-facebook-in-wordpress/
Administratör
Ellen Baker Dubois
Hey thanks guys! The FB debugging tool worked!
WPBeginner Support
Glad our recommendation could help
Administratör
Kayla
I have Wordpress but on Facebook my url thumbnail is my old picture and description. Where on Wordpress can you change this? Facebook it’s old however if I send my url over message it’s my new logo but no description I have tried Yost it didn’t work for me what can I do?? I have also debuted Facebook
WPBeginner Support
Have you used the debug tool? It sounds like Facebook make have cached the wrong image and needs to clear the cache.
Administratör
Abdurraheem
Please my link has not been displaying Thumbnail on WhatsApp but working fine on Facebook. I actually changed my theme recently and would like to know if there is anything I can do to ensure the thumbnail starts displaying on WhatsApp.
WPBeginner Support
If you have Yoast’s plugin active then you would want to reach out to the plugin’s support and let them know the image is not displaying.
Administratör
Cathy
I bet I have a new one for you. I have a relatively new site (5 posts) and any post I try to share to Facebook brings up a preview for a CNN article. I have no idea why. If you click on it, it does take you to my post but the preview will always show the same CNN post.
I have tried the debugger with no luck. I disabled all my plugins and then tried it again thinking maybe a plugin was making my site wonky but no luck.
Any ideas?
WPBeginner Support
Have you tried manually setting an image using an SEO plugin like Yoast and then running the debugger?
Administratör
Cathy
Yes, but it still redirects to the CNN post.
WPBeginner Support
If it is redirecting to CNN and you didn’t write about it you may want to check with your host that there aren’t any redirects set up in your htaccess and you may want to try the theme checker plugin in step 4 of our article here: https://www.wpbeginner.com/beginners-guide/beginners-step-step-guide-fixing-hacked-wordpress-site/
MA
I’m wondering if I should upload the actual size of the Facebook image 1200 x 630 px to my blog or scale it down on my laptop to the right size for my blog content container and then upload it to my blog? What’s best?
Thanks!
WPBeginner Support
We would normally recommend adding the best image for your theme to your site
Administratör
MA
So for Facebook scale the images down to a 1.91 to 1 ratio (to match my blog container width) and when someone shares it on my blog post it should still come out Ok on Facebook even though it’s not 1200 x 628? Facebook should just zoom it up right?
WPBeginner Support
Facebook should try to adjust and if not, most SEO plugins have an option to upload an image specifically for Facebook or other sharing platforms for those to use.
Hope
mar 1st, 2019
– Facebook post:
in ’insights’ choose Posts, select the post to edit, Upper right hand 3 dots click, choose ’refresh share attachment’. this restored the wp image that was just a grey block. great.
WPBeginner Support
Thanks for sharing what solved the issue for you
Administratör
Paige Knight
Is there any updated advise on this? I use SEO Yoast Premium and have set the correct photo for the Facebook link preview but Facebook is still choosing the incorrect photo that is completely irrelevant to the post.
Carlos Alzate
Thanks soooo much!!! Dude, you are great! Greetings from Colombia
Rosio
So sadly my blog was set up under All in One Seo not Yoast. When I tell All in One which image to display as a thumbnail in the social meta section, Facebook shows the default image instead. Any help with the All In One Seo Plugin is greatly appreciated.
Ellen Dubois
This solved my problem!! I used Fb debugger and copied the URL for the photo it said it could not find. Then went to my dashboard and double clicked the photo and inserted the alternate title copied from the debugger! Et voila! Thanks guys!
Claude Gelinas
There seems to be an incompatibility between WordPress’ Photon image caching engine and Facebook.
If the go:image meta tag points to your server and the images are served through Photo, that’s where Facebook is incapable of retrieving the images.
Google Plus never has that sort of problem.
In my view, the problem comes from Facebook.
Vera Schäfer
Thank you so much! I was having a hard time trying to force Facebook Debugger to show my image, as I always do but today it simply wasn’t happening. I use Yoast for years but never occurred to me to follow setting instructions like you helped me today.
Gideon
thanks to you people this issues has been giving me a sleepless night after reading this post and i follow the procedure everything was like a dream…. thanks
Tliffany Clarkson
Is there a way to fix this problem without having to manually use the facebook debugger for every single post? I have hundreds of posts and all are showing the wrong pic. Help would be greatly appreciated!
WPBeginner Support
Hi Tiffany,
The best way to do this is still using the Yoast SEO plugin’s social tab to manually set Facebook thumbnail when you are writing the article.
Administratör
Kyle Andrew
This worked perfectly for me and I didn’t even know that Yoast, which I have installed on my site could do this. After using the facebook debug tool to ’force a refresh’ everything is good to go! Thank you very much.
Zadock
I have tried all the methods for but all is in vain. My problem with Facebook thumbnail started 24 hours ago and right now am confused
Mrs Ismail
Dear author, i followed all the steps but none of these worked for me. In my case when I click on what facebook crawler see on your page. The new window open with nothing in it. I’m using a Wordpress SEO plugin and I also set featured image in Yoast SEO. but not worked. Please help. It’s very important for me.
Arrunadayy
I am facing an issue that any image which I share any link be it Facebook, Twitter, LinkedIn it does not pick any image at all. I am not able to understand why it happens and what could be the solution. If you have any solution, please help me out.
Roy Ghosh
How to solve this incorrect thumbnail issue for WhatsApp sharing
Amit Bajaj
Hi
I have recently started facing a weird problem while posting on my Facebook Page. Earlier, when posting a link from my website, I was able to change the image that Facebook automatically pulled from that respective website link.
The earlier process was like this:
1. Put link on a new facebook post
2. FB automatically pulls the featured image from my wordpress post
3. I uploaded a new image
4. Removed the featured image
5. Published the post with an image of my choice.
Now, everything is going fine except step no.4. I am no longer able to remove the automatically pulled featured image. So instead of a single, large image I am getting stuck with a two image carousel.
I have 2 FB pages and this problem is only happening on one of the pages.
Can anyone guide me as to how this problem can be overcome??
Thank you in advance..
Daniel
I have the same issue! I can neither upload new images nor remove featured images – does anyone have a solution?
Kind regards
Dana
I am having the same problem. There are 2 default pictures, I upload another one which I want to appear, but in a few seconds my uploaded picture disappears. Does anyone have a solution? Facebook debugger did not solve anything.
Khalid
I am facing same problem too since 5 or 6 days on my all pages. Now we can’t change the post title and description too. I search a lot on internet about it, but i can’t find anything about it even it’s not mentioned in facebook help section. I think facebook have applied some changes. If you find any solution please let me know.
Mobius Prolix
I’ve not heard of a ACTUAL fix yet. Just a bunch of crap telling you to fix Facebooks problems. Works for some and doesn’t for the rest. For now, we are in the incompetent hands of Facebook Staff.
Kristin
Same problem happening for us!