Skip to content

如何强制全站开启HTTPS #461

Discussion options

You must be logged in to vote

此问题以通常思路来说,为您的程序(Wordpress 或其主题)设置问题,请将为您的程序正确设置 base url 或者使用 protocol-relative link。

我们不推荐让我们的程序来画蛇添足,实为没有必要的举动。

如果您需要我们来为您做这件事,请打开创建 http 重定向并调整到 301,这与 NPM 的 Force SSL 开关 是等价的。

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by fakeboboliu
Comment options

You must be logged in to vote
1 reply
@fakeboboliu
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants