问题原文
原帖链接 · dantosso · CC BY-SA 3.0
I have a main domain where I added a private SSL. I also use cloudflare protection with their ssl, full strict, but I added a new subdomain in where I don't want ssl enabled. It seems to be the case even if I didn't add anything.
So please can someone tell me how to disable ssl on my new subdomain in which i installed wordpress?
Thanks
已采纳解答
原帖链接 · Steve · CC BY-SA 3.0
Just because you have an SSL certificate, you don't have to use it. By using http:// instead of https:// you will not be using SSL.
If you want to force people to not use SSL you can add the following to your .htaccess
RewriteEngine On
RewriteCond %{HTTPS} on
RewriteRule ^ http://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
But be aware, non SSL sites are now being marked insecure by browsers and also there appears to be a search engine ranking penalty.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
