• Hey guys,

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    When you created your site, you did it as https://www.fightify.com instead of fightify.com

    If it’s brand new, I’d scrub it and start over, creating it WITHOUT the www in the front.

    Thread Starter testing365

    (@ee0u3142)

    Yes, you’re exactly right.

    I should have mentioned that before but, I created with the “www.”, because if I didnt, wordpress multisite would removed it anyway by default.

    Is there anyway to force the “www.” prefix after I enable wordpress multisite per your instructions?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    If you set your site up WITHOUT the www it’ll just redirect https://www.yoursite to the non-www version. So everyone’ll get in fine.

    If you want to keep www put this in your .htaccess ABOVE the wordpress calls:

    RewriteCond %{HTTP_HOST} !^fightify.com$
    RewriteRule ^(.*)$ https://www.fightify.com/$1 [R=301]

    because if I didnt, wordpress multisite would removed it anyway by default.

    No, it won’t. After 3.0, it no longer strips out the www.

    adetaylor76

    (@adetaylor76)

    Great, I had the same problem and removing the WWW in the site config page has resolved the problem.

    The only issue is that I would like the www. to remain and tried the .htaccess hack to no avail.

    RewriteCond %{HTTP_HOST} !^portraits.adetaylor.co.uk$
    RewriteRule ^(.*)$ https://www.portraits.adetaylor.co.uk/$1 [R=301]

    It’s not redirecting back.

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Homepage redirects to signup page’ is closed to new replies.