Localhost subdomain multisite redirects to production domain
-
I have 45 sites set up under one multisite install. In an attempt to create a proper dev environment I did the following:
- Dumped the production db
- Created new db on dev server and imported dump file
- Downloaded fresh WordPress install
- Replaced /wp-content folder with a copy from the production site
- Setup bindings in IIS on dev server
- Entered my localhost subdomains in the hosts file
- Edited wp_blogs, wp_options, wp_site, wp_sitemeta to include the new domains
- Edited the wp-config file to make sure it’s pointing to the localhost primary site
- I copied the settings from Network Settings into wp-config and web.config
I am able to access the main site where the network is installed. I updated permalinks from the Dashboard on the main site as well. My issue is that every other site redirects to the production site. I can get to the login page of each site, however, upon logging in it redirects to the login page of that particular production site. I’ve also double checked the network domain to verify I don’t have anything set to redirect. I’m not sure what else to check – any thoughts?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Localhost subdomain multisite redirects to production domain’ is closed to new replies.