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 marketer365marketer3653 Answers
Reset to default 14Yes, 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
版权声明:本文标题:My wordpress multisite homepage redirects to signup page 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741692977a2392839.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论