I am experiencing issues when I migrate my Development WordPress Multisite to production. Below I have outlined my current process to update my site URL's:
**DEVELOPMENT:** mainsitedev.com site2.mainsitedev.com site3.mainsitedev.com **PRODUCTION:** mainsite.com secondsite.com thirdsite.com
When I do the move from dev to production I export all of dev's database and copy all of the wordpress files into the production web root.
Results for the most part my production site works as it should BUT my users DO NOT remain logged in when they navigate sites (this is sporadic at best). Also if I log out of one site I don't allows log out of others. We use Login-With-Ajax and it when the user logs in their profile info should show where the login for was.
MY QUESTION: Does the following make more sense? Keep the subsites as sub-domains but use domain mapping? And only do one Find & Replace to get the main domain. Are my users not staying logged in because of a cookie creation issue?
DEVELOPMENT: mainsitedev.com site2.mainsitedev.com site3.mainsitedev.com PRODUCTION: mainsite.com site2.mainsite.com site3.mainsite.com WITH DOMAIN MAPPING: mainsite.com site2.mainsite.com BECOMES secondsite.com site3.mainsite.com BECOMES thirdsite.com
I am looking for the most efficient and stable process to migrate from dev to production. Any feedback or recommendations would be very helpful.