WBCE CMS – Way Better Content Editing.
You are not logged in.
Hello,
I have an issue with templates not displaying properly in Chrome, Edge and Opera but display fine in Firefox and Pale Moon.
The template is displayed with the mobile layout rather than the normal layout.
Can you tell me what causes that and how to fix it.
Thank you and best regards
Luc
Offline
Question moved to the right forum section.
Chrome tries to access your website via https by default.
Since the URL in the config.php is set to your domain without https, this fails.
So just edit the corresponding entry in the config.php:
define ('WB_URL','https://www.cartotheque.ca');
Make sure that you have a .htaccess in the root which redirects all requests to your domain with https and www::
RewriteEngine On
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC]
RewriteRule ^ https://www.%1%{REQUEST_URI} [L,NE,R=301]
Last edited by florian (18.01.2024 08:36:29)
Sorgen sind wie Nudeln: man macht sich meist zu viele.
Offline
Once again, thank you Florian!
A quick and precise answer to my problem.
Is this a new behavior of Chrome as previously the pages were displaying properly?
Best regards
Luc
Offline