【发布时间】:2019-02-25 05:59:23
【问题描述】:
我在 mmy 网站 roundabouttech.com 上完成了 ssl。但问题是当我输入完整的“https://roundabouttech.com”时,它会以 https 打开。但是当我只输入“roundabouttech.com”时,默认情况下它需要http。我该如何解决这个问题。我的网站在 wordpress 中。
【问题讨论】:
-
你能贴出你的htaccess代码吗?
-
在这里公开发布是否安全。
-
是的。您可以在此处发布 htaccess 代码。
-
RewriteBase / RewriteRule 上的 RewriteEngine ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule 。 /index.php [L]