Global outage event
If you're experiencing issues with your AWS services, then please refer to the AWS Health Dashboard. You can find the overall status of ongoing outages, the health of AWS services, and the latest updates from AWS engineers.
我想在 Amazon Lightsail 中更新 Bitnami WordPress 网站的站点和主页 URL。
要更新 Bitnami WordPress 网站的站点和主页 URL,请完成以下步骤:
使用 SSH 连接到 Lightsail。
从主应用程序配置目录中打开 wp-config.php 文件:
vi /opt/bitnami/wordpress/wp-config.php
找到 WP_SITEURL 和 WP_HOME 定义:
define('WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST'] . '/'); define('WP_HOME', 'http://' . $_SERVER['HTTP_HOST'] . '/');
编辑 WP_SITEURL 和 WP_HOME 定义中的域名: **注意:**将 example_domain_name 替换为更新后的 URL。
define('WP_SITEURL', 'http://example_domain_name/'); define('WP_HOME', 'http://example_domain_name/');\
保存文件。
要验证所做的更改,请使用更新后的 URL 打开网站。如果网站成功打开,则表明 URL 已更新。