this is the htaccess code for PHP MVC Program
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?url=$1 [L]
! Please read properly !
what i want is :
- Force https
- then go to index.php file and send url data
! Please read properly !
i added new htaccess file like this
RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteCond %{HTTPS} off
RewriteCond %{HTTP:CF-Visitor} !{"scheme":"https"}
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
in the parent dir
but, it still doesnt make force HTTPS
please answer this and
Read properly
sorry for my bad english