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
- Replace new site url with old site url in exported database sql file (use Notepad++ for fast search and replace)
- Change site url in
wp-config
file - Change database information (db name, host, username, password) in
wp-config
file - Change site url in
.htaccess
file
精彩评论