Ubuntu Server - website not shown good when share in Whatsapp, FB etc

tabanan

New member
Registered
Joined
Mar 13, 2025
Messages
1
Points
0
Hi, there

I have dedicated server with installed lastest ubuntu server and then set up website using wordpress. when i share my website in whatsapp, fb etc. it not shown just show the url (title, description, thumbnail not shown).

What should i do, it need to activate some module in php, apache that i forgot?

please advice, i'm so confused about this.

thank you
 

Harry P

Well-known member
Registered
Joined
Feb 3, 2015
Messages
457
Points
28
Hey, I understand, this issue is usually related to missing Open Graph tags or sometimes a server-side setting blocking the social media crawlers.

Here’s what you should check first:

1. Verify your WordPress setup:
  • Install and activate an SEO plugin like Yoast SEO or Rank Math.
  • These plugins automatically generate Open Graph tags (title, description, and thumbnail) for social media previews.
If you already have these set, move to step two:

Check your Apache/PHP Configuration:

Make sure your server is allowing crawlers (Facebook, Twitter, etc.):
  • Check your .htaccess file or Apache configuration to ensure crawlers aren't blocked.
  • Also, verify if mod_rewrite is enabled:
Code:
sudo a2enmod rewrite
sudo systemctl restart apache2
Check PHP Modules:

Typically, these modules need to be enabled:
  • gd (for image handling)
  • curl
  • mbstring
  • allow_url_fopen in php.ini
You can enable them like this on Ubuntu:

Code:
sudo apt install php-gd php-curl php-mbstring
sudo systemctl restart apache2
Important Tip:
Use Facebook Debugger (developers.facebook.com/tools/debug/) or Twitter Card Validator (cards-dev.twitter.com/validator) to check exactly why thumbnails or metadata aren’t showing.

Hope it helps!
 
Newer Threads
Replies
2
Views
52
Latest Threads
Recommended Threads

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top