WordPress.org

Support

Support » Multisite » www only redirects to root instead of actual page

www only redirects to root instead of actual page

  • 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!

Viewing 1 replies (of 1 total)
  • 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.

Viewing 1 replies (of 1 total)
  • The topic ‘www only redirects to root instead of actual page’ is closed to new replies.
Skip to toolbar