How to change from localhost to localhost.local (to get wp subdomains)
-
Hi, I recently got over a pretty great obstacle setting up multisites… I’d completely forgotten I had to enter the Tools submenu in order to only then start rewriting htaccess and wpconfig. Imagine spending hours upon hours because of that silly error.
So now I find yet another obstacle. I can’t get localhost to redirect to localhost.local, which is required in order to setup subdomains
Because you are using localhost, the sites in your WordPress network must use sub-directories. Consider using localhost.localdomain if you wish to use sub-domains.
I realise this may be more a WAMP problem than a WordPress problem, but who knows.
I’ve tried modifying the DB_HOST in wp-config to localhost.local, but that’s obviously not it.
I’ve tried changing the hosts entry in Windows drivers etc folder from 127.0.0.1 localhost to 127.0.0.1 localhost.local.
And that way I can get my site on localhost.local. However, whenever I try to get into my wordpress admin area it redirects to localhost. So maybe it is just a wordpress issue. Localhost.local is fine when I try to enter phpmyadmin.
- The topic ‘How to change from localhost to localhost.local (to get wp subdomains)’ is closed to new replies.