Cloudflare doesn´t redirect to non www

Hi

When i open https://www.mydomain.com i should be redirected to https://mydomain.com but it doesn´t.
My settings :slight_smile:
-SSL Flexible

  • A record to my ip with @
  • A record www to my ip

Rewrite all to https is on

RewriteEngine On
RewriteRule ^(.+.php)/.*$ http://%{HTTP_HOST}/$1 [R=301,L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^/?secure/(.*) https://mydomain.com$1 [R,L]

Permanent URL redirect-

RewriteEngine on
ErrorDocument 404 https://mydomain.com

I used this tutorial todo www to non www with https but it doesn´t work!

When a guest opens www.mydomain.com it loads https://www.mydomain.com
and my browser shows DNS_PROBE_FINISHED_NXDOMAIN

Any suggestions ?

You currently have a security issue.

Never got a warning.
Nopayment is beeing processed on my sites.

Configure a proper certificate on your server and switch to “Full Strict”.

I fixed it.
No need full strickt.

You always need Full Strict to have a secure site.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.