My wordpress multisite homepage redirects to signup page

So I just setup my website fightify.com and as you will see, visitors are automatically redirected to a signup page, which shouldnt be happening.

This only occurs if the domain is typed without the www. prefix. www.fightify.com yields no errors.

Read More

I have a feeling that it has something to do with the .htaccess file, but I’m no coder, and have no idea how to fix it.

Has anybody seen this happen before?

Related posts

Leave a Reply

3 comments

  1. Yes, I’ve dealt with this before. You have to specify a NOBLOGREDIRECT in your wp-config.php file:

    define( 'NOBLOGREDIRECT', 'http://www.fightify.com' );
    

    If there’s no site, WP has to redirect visitors somewhere. By default, that’s the signup page. Adding that constant tells it where to go.

  2. If you have moved your site recently, search in your database for any references to the old site and update accordingly. If you’re using multisite, this can sometimes be in a few places in the database