.htaccess rewrite rule for forcefully redirect https to http

后端 未结 2 701
猫巷女王i
猫巷女王i 2021-01-23 12:39

I have a primary domain https://www.domain.com or https://domain.com and a wildcard DNS like https://domain.com/index.php?name=abcd redire

2条回答
  •  忘了有多久
    2021-01-23 12:56

    try this :

    RewriteEngine On
    RewriteCond %{HTTPS} on
    RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI}
    

提交回复
热议问题