Recently, I installed WordPress multisite for one of my clients. With a WordPress multisite, the client is able to have multiple blogs under the same domain name.
However, after installed multisite, I realized that when a person typed the domain name, e.g. icozens.com, they got the following message:
How do you prevent WordPress multisite homepage from throwing up the “Registration has been disabled” error?
Well, to solve this problem, you need to add a line of code in your WordPress installation’s wp-config.php file.
Open the file using and FTP software like FileZilla or open it through your cPanel (or any other web file management software that you use.
Then, find this line: /* That’s all, stop editing! Happy publishing. */”and add the following code:
define( 'NOBLOGREDIRECT', 'https://www.yourdomain.com' );
Make sure you replace “https://www.yourdomain.com” with your website domain.
And that, ladies and gentlemen, is how you prevent WordPress multisite homepage from throwing up that “Registration has been disabled” error.