【发布时间】:2013-11-20 11:51:22
【问题描述】:
我有一个域 example.com 并为 www.example.com 安装了 SSL。我想为以下规则创建一个 htaccess 文件:
Redirect all traffic from http://example.com to https://www.example.com
Redirect all traffic from http://www.example.com to https://www.example.com
【问题讨论】:
-
您好,请始终记得先使用 Google。搜索
Redirect to ssl site using htaccess应该会为您提供所需的一切。谢谢!