WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

After enabling SuperAdmin and multisite functionality in WP3 many users are getting redirected to a sign-up url. I do not have account sign-up enabled, how do I turn this off? It seems to happen when any invalid subdomain is used including my-domain.com instead of www.my-domain.com.

How do I fix?

share|improve this question
up vote 1 down vote accepted

I am answering my own question so others can find it in the future.

defining NOBLOGREDIRECT in wp-config.php to point to the url of your choice will correct this problem.

Sample:

define('NOBLOGREDIRECT', 'http://www.my-domain.com');
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.