通过.htaccess将https跳转到http

通过.htaccess可以将https跳转到http,对,你没有看错,是把https跳转到http,不是http跳转到https,http跳转到https方法已很常见。 直接上方法: <IfModule mod_rewrite.c>RewriteEngine onRewriteCond %{SERVER_PORT} =443RewriteCond %{HTTP_HOST} ^ldhost.cn$ [NC]RewriteRule ^(.*)$ http://www.ldhost.cn/$1 [L,R=301]</IfModule> 你的主机必须是linux主机,支持.htaccess… 阅读全文通过.htaccess将https跳转到http