AddDefaultCharset utf-8 RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
How to translate these parameters to https?
Add another redirect:
AddDefaultCharset utf-8 RewriteCond %{HTTP:SSL} !=1 [NC] RewriteRule ^(.*) https://саййт.com/$1 [L,R=301] RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
Source: https://ru.stackoverflow.com/questions/571755/More articles:How to change the way the toggle () text appearsRestriction of memory consumed by the process [closed]Migration of users from AD Win2008R2 Server to Zentyal 4.2 without replicationdiv 100% height inside another divHow to set QVBoxLayout sizeQt signals and slotsReturning the value of two selects in node jsHow to use unique_ptr as RAII-lock for objectsHow does Google manage to remember the data?When turning, the countdown timer is reset.All Articles