使用AWS lightsail + 自有網址 + wordpress

0

申請好的網址已在light DNS Zone已指向A record,且安裝好https,但是在wordpress後台的設定上,位址仍是http且為IP數字,而非網域名稱,請問該如何設定?

asked a year ago592 views
1 Answer
0

您好:

您可以修改 WordPress 的設定檔案 wp-config.php 來調整後台中顯示的位址。

define( 'WP_HOME', 'http://example.com' );

define( 'WP_SITEURL', 'http://example.com' );

更多詳細內容,您可以參考 WordPress 官方文件 https://wordpress.org/support/article/changing-the-site-url/

AWS
MODERATOR
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions