A

WordPress Multisite non-WWW forwards to Signup Page Problem Fix

If you have enabled WordPress Multisite on your domain and with at name such as www.domain.com then there is a problem that the non-WWW version (domain.com) will take you to a sign up page to add a new site to your Multisite install. This is clearly not what we want and it arises due to […]

If you have enabled WordPress Multisite on your domain and with at name such as www.domain.com then there is a problem that the non-WWW version (domain.com) will take you to a sign up page to add a new site to your Multisite install.

This is clearly not what we want and it arises due to the problem that technically WWW and non-WWW are different and hence this problem occurs.

I have a quite easy fix for this, you just need to edit a value in the database and everything would be fine. The non-WWW version will redirect to the WWW version.
Open your database in phpMyAdmin and go to wp_blogs table (as per what your WordPress table prefix is)

wp-blogs-table

Look for the entry www.domain.com and edit it.

wp-blogs-table

Change it to domain.com from www.domain.com and click on Go to save.

wp-blogs-table

Now when you will try to access the non-WWW version of your domain, it will redirect to the WWW version of the domain. Good for SEO too.
Let me know if you face any issues.

12 responses to “WordPress Multisite non-WWW forwards to Signup Page Problem Fix”

  1. atm says:

    you r very pound thank

  2. Thanks for sharing this great tip.

  3. can’t this be set from the general settings? where you set the blog address? or it’s different with multiblog sites?

  4. The posts like this one makes the Internet worth our time. Thanks

  5. steve says:

    just the answer i was looking for, thnx!

  6. Alex says:

    Amazing, thank you so much. This not only fixed the problem with redirecting non www to www on multisite installation, but also fixed the problem that the subdomains were showing an error page of cannot connect.

    Thanks so much, you fixed two problems in my multisite, with one very simple fix.

    Greetings,
    Alex.

  7. Diego says:

    Thank you!

  8. Geoff Akerlund says:

    Thanks for the fix. This will also forward yourdomain.com/somepost to the www-version. MUCH better than fixing this with .htaccess or redirection plugins.