I am trying to move a wordpress multi install to a different vhost on the same server and a different domain. Currently we are testing the process by copying everything to a new vhost, with a new database to try out the process before we move the production sites.
I can visit the new domain and see the sites we moved. The internal links have updated to use the new domain. Unfortunately the menu links all point to the old domain and I cannot find any reference to that domain in the database. I also cannot log into wordpress. I go to http://newdomain/wp-login.php and log in with the admin user. I am redirected to and logged into the dashboard at olddomain.com.
- Do a mysql dump of current site
- Create new database, dbuser
- import mysql dump into new database
- copy entire vhost with wordpress install over to new virtual host
- update wp-config with new database name, dbuser, password, and siteurl
- searched through all files in vhost (theme files, everything) for the old domain and replaced with new domain
- create an apache entry for the site
- updated fields in wp_(x)_posts, wp_site, wp_blogs, wp_sitemeta
- when updating the fields in the database above still did not resolve the issue
- Used the search and replace tool (http://interconnectit.com/124/search-and-replace-for-wordpress-databases/) recommended by the codex (http://codex.wordpress.org/Moving_WordPress#Moving_WordPress_Multisite)
- searched a dump of the entire database and still failed to find a reference to the old url
I tried following the documentation I found and none of these seemed to resolve my issues: - http://codex.wordpress.org/Moving_WordPress#Moving_WordPress_Multisite - https://interconnectit.com/products/search-and-replace-for-wordpress-databases/ - http://tech.ipstenu.org/2012/moving-wordpress-multisite/
Any suggestions would be greatly appreciated.