WordPress.org

Ready to get started?Download WordPress

Forums

WordPress multisite non www gives no registration error should redirect to www. (6 posts)

  1. Pete
    Member
    Posted 2 years ago #

    I'm running wordpress multisite, and when I connect to my domain at domain.com I get the error "Greetings Site Administrator! You are currently allowing “none” registrations. To change or disable registration go to your Options page."

    Should I create a 301 redirect from non www to http://www.domain.com or is there a way to configure multisite to handle this redirect?

    Thanks

  2. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    an a record update with your domain registrar creates the www ...alos, review if you used www in wp-config.php or your MySQL db.

  3. Pete
    Member
    Posted 2 years ago #

    I have two A records one going to domain.com the other to http://www.domain.com. I am not using wildcards with this multisite I point A records to each subdomain I create. And my wp-config is setup with www

  4. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    Both are at same IP address?

  5. Pete
    Member
    Posted 2 years ago #

    Yes they both point to the same IP.

    I just found I can add this to wp-config define( 'NOBLOGREDIRECT', 'http://www.domain.com/' );

    It seems to redirect non www to http://www.domain.com while not having any affect on arbitrary sub-domains entered which I thought it would, but since I have no wild card setup it's working out as needed.

  6. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    Or...clear ur browser and DNS as one has sites set and one not apparently.

Topic Closed

This topic has been closed to new replies.

About this Topic