大网数据广告活动
网站运营与故障问答

Disable ssl on subdomains

· 52CE 我爱测

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.…

问题原文

原帖链接 · 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.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2017-02-02)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。