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?
Yes, I’ve dealt with this before. You have to specify a
NOBLOGREDIRECT
in yourwp-config.php
file: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.
I handle this issue with the WordPress MU Domain Mapping plugin.
I run my WP3 Network in subdirectory mode, and just assign domain names via the plugin, including any alternate domains. It’s worked well for me, thus far.
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