How to change my wordpress domain name?

半城伤御伤魂 提交于 2021-01-28 14:21:48

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!