Make WordPress MU work in a development environment without a domain

October 15, 2008 8:00 am

If you’re trying to get WordPress MU to work on a machine that isn’t on any domain, i.e. doesn’t have a dot in its name, this article by Will Norris leads you down a possible path.

To tie a bow on it, this is what I did to get things to work in a "WordPress MU subdirectory" configuration: In the wp-config.php file, add a line like this

define(‘COOKIE_DOMAIN’, ”);

In a subdomain configuration it probably won’t work.

2 Responses to “Make WordPress MU work in a development environment without a domain”

fishercat wrote a comment on March 4, 2009

Is this EXACTLY how the line should appear

define(’COOKIE_DOMAIN’, ”);

and where should it go?

GeekTieGuy wrote a comment on March 4, 2009

I don’t have the machine right now, but I believe that it’s anywhere in the wp-config.php file, which I believe (can’t verify right now) is a WordPress file.

Care to comment?

%d bloggers like this: