WBCE CMS Forum

WBCE CMS – Way Better Content Editing.

You are not logged in.

#1 18.01.2024 04:12:42

luc1949
Member

Templates not displaying properly in Chrome, Edge and Opera

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

#2 18.01.2024 07:31:44

florian
Administrator

Re: Templates not displaying properly in Chrome, Edge and Opera

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 07:36:29)


Sorgen sind wie Nudeln: man macht sich meist zu viele.

Offline

#3 18.01.2024 15:36:07

luc1949
Member

Re: Templates not displaying properly in Chrome, Edge and Opera

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

Board footer

up