我有一个网站和域名就像https://example.com。现在我的域名是http://example.com。我不想删除SSL证书,我将在4-5天后续订它。那么,在此之前,我如何将用户从我的https重定向到http?
我在htaccess中尝试了一些代码,但它不起作用。我正在使用GoDaddy托管。
RewriteEngine On
RewriteCond %{HTTPS} on
RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI}发布于 2019-06-04 11:58:32
RewriteEngine On
RewriteCond %{HTTPS} on
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]https://stackoverflow.com/questions/53388587
复制相似问题