logo

Black Friday
Sale

  •  99.9% 在线时间
  •  免费 SSL 证书
  •  24/7 在线支持
  •  30天退款保证
立即开始

高达

91

%

OFF

02
13
03
20
黑色星期五促销!: 虚拟主机
低至 4.75CNH /月!
查看所有优惠
×

知识库

查找有关信息功能,故障排除指南,
以及与虚拟主机相关的其他技术信息的文章。

HTTPS does not work for my WordPress website!

引用:

So You've installed recently installed an SSL certificate but your WordPress website is still not loading through HTTPS? Or maybe it loads and your website seems all "messed up" and "broken"? This means, that your WordPress site requires additional settings first.

Access your WordPress website's Admin Area and search for the Settings menu on your Dashboard and click on it.

Your General settings will open up. Notice the URL settings of your WordPress site (WordPress Address and Site Address settings). By default, your URL settings will use HTTP (the very begging of your website's address will contain http:// instead of https://). Change your URL settings to use HTTPS (by changing the begging of the link to https://) for BOTH links and click Save Changes at the bottom of the page.

IMPORTANT! Do not add these changes if your website does not have an active SSL certificate as your website and Admin Area could become inaccessible.

Notes:

  • You can also make your website force HTTPS with the help of the .htaccess file.
  • As an alternative, you can make this changes with the help of a Plugin such as Easy HTTPS Redirection (this plugin will also re-direct your website to HTTPS by default)

You can find more WordPress tutorials at https://www.hostinger.com/tutorials/wordpress/