Hello,
to force http to https I've used inside .htaccess
Force non-www:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.nanochimica.it [NC]
RewriteRule ^(.)$ http://nanochimica.it/$1 [L,R=301]
RewriteEngine On
RewriteCond %{HTTPS} !on
RewriteCond %{REQUEST_URI} !^/[0-9]+..+.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/.well-known/pki-validation/[A-F0-9]{32}.txt(?:\ Comodo\ DCV)?$
RewriteRule (.) https://%{HTTP_HOST}%{REQUEST_URI}
The problem is that /index.php doesn't seem to work
I've noticed that also https://nanochimica.it/index.php doesn't work
How can I solve the problem?
fp