Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

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.