www only redirects to root instead of actual page (2 posts)

  1. thomasplevy
    Posted 3 years ago #

    Hey All,

    I recently migrated a WP to multisite and I realized about a week after the migration that when any url is entered with http://www., it always redirects to the root, eg:

    http://www.domain.com/whatever -> domain.com

    I haven't made any changes to the core settings or htaccess file but I can't find the reason why this is happening. It also happens on all pages on the site when entered with www.

    Alsn of note, perhaps, is that domain.com/whatever works fine

    I've spent a bit of time trying to find a similar issue on the forms and google and various places with no luck. any help greatly appreciated!

  2. Generally it happens when your server doesn't redirect www correctly.

    The easiest way would be to use a .htaccess rule to redirect before it gets to WP, and force the non-www.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.