admin管理员组

文章数量:1302349

So I just setup my website fightify 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 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?

So I just setup my website fightify 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 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?

Share Improve this question asked Oct 27, 2010 at 13:41 marketer365marketer365
Add a comment  | 

3 Answers 3

Reset to default 14

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

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

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

本文标签: My wordpress multisite homepage redirects to signup page