我想修改我的.htacess文件来强制https,但因为我已经有一些规则,我似乎打破了它。任何人都可以帮助建议我吗?htaccess文件重定向到强制https
DirectoryIndex index.php
RewriteEngine on
RewriteCond $1 !^(index\.php| (.*)\.swf|forums|images|css|downloads|jquery|js|robots\.txt|favicon\.ico)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ ./index.php?$1 [L,QSA]
可能重复[htaccess重定向到https:// www](https://stackoverflow.com/questions/13977851/htaccess-redirect-to-https-www) – localheinz