Post by ceebeeit » Sat Jun 19, 2021 9:21 pm

In Microsoft Edge the browser displays a 'not safe sign'.
I have https installed on our domain, but I think the automatic switch to https://www.spinnerij.nl/ is not configured correctly.
My .htaccess file starts with:

RewriteEngine on
RewriteCond %{HTTP_HOST} ^spinnerij.nl
RewriteRule (.*) https://www.spinnerij.nl/$1 [R=301,NE,QSA,L]
DirectoryIndex index.php

Can someone give me the right syntax?
I would like that both www.spinnerij.nl and spinnerij.nl show https://www.spinnerij.nl/ without warnings.

New member

Posts

Joined
Fri Feb 22, 2013 8:33 pm

Post by Cue4cheap » Sat Jun 19, 2021 9:41 pm

ceebeeit wrote:
Sat Jun 19, 2021 9:21 pm
In Microsoft Edge the browser displays a 'not safe sign'.
I have https installed on our domain, but I think the automatic switch to https://www.spinnerij.nl/ is not configured correctly.
My .htaccess file starts with:

RewriteEngine on
RewriteCond %{HTTP_HOST} ^spinnerij.nl
RewriteRule (.*) https://www.spinnerij.nl/$1 [R=301,NE,QSA,L]
DirectoryIndex index.php

Can someone give me the right syntax?
I would like that both www.spinnerij.nl and spinnerij.nl show https://www.spinnerij.nl/ without warnings.
What do you have configured in your config.php files for
// HTTP
define('HTTP_SERVER', ' ');

// HTTPS
define('HTTPS_SERVER', ' ');

Mike

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by Cue4cheap » Sat Jun 19, 2021 10:00 pm

and

RewriteEngine On
RewriteCond %{HTTP_HOST} spinnerij\.nl [NC]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.spinnerij.nl/$1 [R,L]

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by ceebeeit » Sun Jun 20, 2021 8:47 pm

It works.
Thanks a lot.

New member

Posts

Joined
Fri Feb 22, 2013 8:33 pm
Who is online

Users browsing this forum: Bing [Bot], Semrush [Bot] and 100 guests