问题
I have my WordPress site hosted on WordPress server. Now, I have registered a new domain name say example.ml
. How can I change the WordPress URL to new domain name?
Do I need to completely move my files to a new host to do this? Is it possible to add URL to a site hosted on WordPress.
Any help is entertained.
回答1:
Well, you could at least check the Wordpress Codex site. here
You need to edit the WP-config.php
define('WP_HOME','http://yournewdomain.com'); define('WP_SITEURL','http://yournewdomain.com');
来源:https://stackoverflow.com/questions/30523134/how-to-change-my-wordpress-domain-name