开发者

Wordpress 3.0.3. How To Change Main Site

I have moved a WPMu s开发者_StackOverflow中文版ite to a new host, and upgraded to WP 3.0.3. Things are going pretty easy, except the previous website had a different URL as the main website installation. Now that I have moved the install, I don't need the previous URL as the main site but need to make a new URl as the main site. Where do I go about changing this? I've changed the entire database by changing the previous URL to the new URL, and the wp-config is set up correctly with new URL and htaccess has no mention of it. I'm running out of places to look on where to change the URL.

Any advice/help would be greatly appreciated.


Steps to change site URL in Wordpress

  1. Replace new site url with old site url in exported database sql file (use Notepad++ for fast search and replace)
  2. Change site url in wp-config file
  3. Change database information (db name, host, username, password) in wp-config file
  4. Change site url in .htaccess file
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜