I have tried migrating my multisite with subdomain from some live hosting to local by flywheel, however I encounter too many redirections error, and Warning! This site’s WordPress URL settings do not match the host set in local
Firstly, I have created a local site with multisite with sub-domain on local. Then I have:
Downloaded public_html folder from my hosting provider using FileZilla, database using phpmyadmin.
Dumped “local” database in adminer, then imported the site’s database to it without any issues.
Changed database using following commands, of course changing the values for live and local site for appropriate ones:
UPDATE wp_options SET option_value = replace(option_value, ‘https://www.yoursitename.com’,
‘http://yoursitename.local’) WHERE option_name = ‘home’ OR option_name = ‘siteurl’;
Synced multi-site domains to hosts file in local
Changed wp-config so it looks like this now:
then it redirects me to live website, if I change NOBLOGREDIRECT to http://mapa.local/ it will show the too many redirections error again.
Local version 5.9.8+5191
I’m on Win10
local-lightning.log (504.3 KB)
I would really appreciate helping me with solving the issue. I have tried setting it up on XAMPP for several days as well, to no avail.