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/

相关问答

依赖报错 idea导入项目后依赖报错,解决方案:https://blog....
错误1:代码生成器依赖和mybatis依赖冲突 启动项目时报错如下...
错误1:gradle项目控制台输出为乱码 # 解决方案:https://bl...
错误还原:在查询的过程中,传入的workType为0时,该条件不起...
报错如下,gcc版本太低 ^ server.c:5346:31: 错误:‘struct...