如何在WordPress中强制https时修复IE 11错误

时间:2016-03-16 21:34:38

标签: wordpress .htaccess

我最近使用htaccess将所有流量从http重定向到https。我也在Admin>中将其设置为https://www.example.com/设置。

在Chrome和Firefox上,一切运行良好,但在IE11 / Win8.1上,我得到一个"此页面无法显示"。

这是我的.htaccess:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /

# force https
RewriteCond %{HTTPS} !=on
RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]

RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

有人有同样的问题吗?

0 个答案:

没有答案