Enabling multisite with edited hosts file
-
Hi everyone,
I’ve read various threads concerning issues with multisite and being redirected but none of them are specific to my case it seems so hopefully someone can nudge me in the right direction.
As soon as I put:
define(‘MULTISITE’, false);
in wp-config.php I can no longer access admin pages on my non-www site as it automatically keeps redirecting me to the login page for the www version of it.
Now this is why my case is a bit unique. I’m running multisite on a dev copy at the moment where to access it I have an edited hosts file in Windows that has:
(Ip Address of webhost) domainname.com
This is so I can access the live version of the site at http://www.domainname.com and then access the dev version at domainname.com to work on.
Is it possible to get multi-site working while I have a modified hosts file?
The topic ‘Enabling multisite with edited hosts file’ is closed to new replies.