Ok I have spent the last day trying to figure this out and triple checked the install and how I have things set up. I have also re-read through almost every one of the previous support requests looking for hints or answers.
Both network domain names point to the root install of wordpress – I am pretty sure this is correct?
I have a dedicated IP for my hosting and a wildcard configured in the A record for the first network domain – not sure if this is needed for your plugin but thought I’d mention it to be thorough.
I found that I did not have the DEFINE_CURRENT_SITE properly commented out in the wp-config file so corrected this.
The result:
Now you can view my two network’s main domains with no redirection happening so long as you type the address WITH the www.
But…
If you type the address WITHOUT the www still have an issue – I now get the following error:
No site defined on this host. If you are the owner of this site, please check Debugging a WordPress Network for help.
Also, I have 301 redirects for alternate domains (e.g. parkquip.net, parkquip.com) to go to my the main site https://www.parkquip.com.au. These redirects worked just fine previously (before I fixed the commenting out in the wp-config file) but now none of these redirects work and return the same error as above.
Is this an issue with setting up the networks originally using the www in address? Or an issue with my .htaccess file? The 301 redirects are set up using my host account (I use GoDaddy). I have not added the redirects to my .htaccess file as they previously created a conflict there but seemed to work when set up directly on the host.
This is what is in my current .htaccess file:
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
# uploaded files
RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule . index.php [L]
Would really like to get this working properly as I have a number of networks still to add and much work to do with a client on my back ?? Very much appreciate some help.