Changed Primary Site and now previous main site redirects to new primary
-
I have a network site where the old primary site will eventually go away to live on its own, but right now just changed the Primary Site and now when I try to visit the old primary site it redirects to the new primary when visited.
But, I can get to the site when navigating to it when logged in and navigate to it.
Also, most of the images are missing on the old primary site. Not all, but most images.OLD Primary site: https://www.abcitseasy.com
NEW Primary site: websites.abettercopy.comAll sub sites have their own domain
New sub sites created do appear under the new primary: websites.abettercopy.com/site_name
Network Admin as well.Steps I followed:
The last post on this link by Andi,
https://premium.wpmudev.org/forums/topic/how-do-i-change-the-primary-site-on-my-multi-site-network/I did not use the velvet blue updater because each site has it’s own domain name.
- I changed the Primary Site under “My Sites” to the new domain.
- I updated wp-config to this:
/** * Multi-site * */ define('MULTISITE', true); define('SUBDOMAIN_INSTALL', false); $base = '/'; define('DOMAIN_CURRENT_SITE', 'websites.abettercopy.com'); define('PATH_CURRENT_SITE', '/'); define('SITE_ID_CURRENT_SITE', 1); define('BLOG_ID_CURRENT_SITE', 13);
The page I need help with: [log in to see the link]
- The topic ‘Changed Primary Site and now previous main site redirects to new primary’ is closed to new replies.