https

问题描述

这个没有明显的解决方案!这是Bitnami的AWS Lightsail wordpress

问题:将此WordPress网站加载到HTTPS: http://morrisdigital.studio/-> https://morrisdigital.studio/(以及所有CSS等)

数据库用户界面不匹配!

数据库中,我们有:

enter image description here

哪个与用户界面不匹配

enter image description here

我尝试过:将siteurl和home更新到https://morrisdigital.studio/,然后重新启动服务器。 发生了什么:没事,所以我将其改回了http://127.0.0.1/wordpress/

那么,实际在哪里更新数据库中的链接

enter image description here

解决方法

Bitnami工程师在这里

您可以在WordPress的配置文件(opt / bitnami / apps / wordpress / htdocs / wp-config.php)中设置WordPress的首页和站点网址

define('WP_SITEURL','https://morrisdigital.studio/ ');
define('WP_HOME','https://morrisdigital.studio/');

该更改将更新应用程序中的所有链接。您可以在此处找到更多信息:

https://docs.bitnami.com/aws/apps/wordpress/administration/configure-domain/