Yesterday I moved a website from a multisite to a different server. It wasn't the 'main' website of this multisite setup but it had blogid 2.
Here is what I did:
- Copied all the files to the new server
- Removed multisite stuff from wp-config.php
- Removed the sunrise.php files and more multisite stuff
- Copied the original database
- Removed all the tables I didn't need (from other blogs)
- Replaced the old URL with the new URL in the DB
- Replaced the path of the uploads in the DB and placed the uploads in the normals /uploads directory in stead of the blogs.dir..
- Importered the database
- Voila! WordPress whas running fine
And now everything is working, the frontend is good, backend is good but... If I go to /wp-admin it keeps redirecting me to the old domainname!
Trust me:
- The name isn't in the database anymore
- The domainname isn't hardcoded in any file
So I can login with /wp-login.php so I can access the backend but it's just strange!
Off course I tried to clear my cache and tried to use another browser. No success.
Can anyone help me with this issue?