Link via WhatsApp without CSS

Post Reply
bemo
Jr. Bludit
Posts: 4
Joined: Sun Oct 20, 2024 12:28 pm

Hello!

When I install Bludit (3.16.2) on my web server everything works perfectly.

However, if I send the link to the page via Whatsapp, then when I and the recipient click on the link, the page loads without CSS. If you then click on a link on the page without CSS, everything is fine again and css is loaded. Does anyone know the problem? It is independent of the theme.

Tested behavior with two installations (one clean install without any content) in different folders. PHP 8.2.15 with Whatsapp under iOS17 and iOS18 (on iPhone)...

Thanks
Benjamin
User avatar
Edi
Site Admin
Posts: 3115
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 76 times
Been thanked: 117 times
Contact:

With which browser have you tried to open the website? Have you tried another browser?
clickwork.ch, digitale Projekte
Bludit-Tipps, Erklärungen und Anleitungen
bemo
Jr. Bludit
Posts: 4
Joined: Sun Oct 20, 2024 12:28 pm

It's the default browser, which opens when I click the link in Whatsapp. Safari I guess...

I just realized: I have the same behavior, when I open the website in private Modus in Safari. Maybe the css is not already cached at this moment. When I click on an icon on my site which is linked to the URL of the website, the css is loaded and everything is fine...

The inkognito-Mode in Chrome shows the same...
arfa
Master Bludit
Posts: 163
Joined: Tue Jul 04, 2017 4:31 am
Location: New Zealand
Has thanked: 13 times
Been thanked: 27 times

Is the link to the home page or to a specific page. I am not sure how much different themes vary and where the css might be loaded. Just a thought.

ak
bemo
Jr. Bludit
Posts: 4
Joined: Sun Oct 20, 2024 12:28 pm

Thanks for your reply!!!

I link to the main URL
In this case to http://gomd.de (clean install to test without a specific theme) and http://dmbb.org with zaphyra theme

Maybe you see it, too.
In both cases i have the same problem while using a private mode in Safari or chrome.

Can i load the main site manually? Probably it is not /index.php…

Bye
Benjamin
User avatar
Edi
Site Admin
Posts: 3115
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 76 times
Been thanked: 117 times
Contact:

Use https:// instead of http://. It's not a good idea still to have an installation without certificate. ;)
clickwork.ch, digitale Projekte
Bludit-Tipps, Erklärungen und Anleitungen
bemo
Jr. Bludit
Posts: 4
Joined: Sun Oct 20, 2024 12:28 pm

THANKS!
It works! ;)
Qianca
Ssr. Bludit
Posts: 12
Joined: Thu Jan 16, 2025 11:08 am
Been thanked: 1 time

I had a similar issue once, and it turned out to be a caching problem. It seems like WhatsApp or the server wasn’t loading the page correctly the first time. I cleared the cache both on the server and in the WhatsApp app, and it seemed to fix things. Another thing that helped was adding cache control headers to the server, which made sure the CSS was always loaded on the first click.
Post Reply