Make WordPress MU work in a development environment without a domain

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 Comments

  1. fishercat

    Is this EXACTLY how the line should appear

    define(’COOKIE_DOMAIN’, ”);

    and where should it go?

  2. 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.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.