aldy120 / self-hosting-wordpress-blog

0 stars 0 forks source link

修改 host name #13

Open aldy120 opened 1 year ago

aldy120 commented 1 year ago

https://docs.bitnami.com/aws/apps/wordpress/administration/configure-domain/ 應該要指定,不要用 host header 。

希望可以讓 jetpack 不要再發 ip 開頭的域名在信件中了。

aldy120 commented 1 year ago

https://wpengine.com/resources/change-domains-wordpress/

加在 .htaccess

#Options +FollowSymLinks
RewriteEngine on
RewriteRule ^(.*)$ http://www.example.COM/$1 [R=301,L]
aldy120 commented 1 year ago

https://support.google.com/webmasters/answer/9370220?hl=en&visit_id=638110668732858175-2052367467&rd=1

aldy120 commented 1 year ago

AIOSEO 可以改 .htaccess。 最好先備份一下,不然弄壞很麻煩。 https://blog.lichi-chen.com/wp-admin/admin.php?page=aioseo-tools#/htaccess-editor