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.

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?

3 s
3

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.

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *