• Hi to all,

    I have recently setup a multisite WP and all is working fine…

    However it was brought to my attention that the sites I have setup, whilst working with the https://www.domain.com url, when using the domain without the www (ie. https://domain.com instead of https://www.domain.com) the response would go to the parent WP installation.

    How can this be resolved? Is it a DNS issue or a WP MUI issue?

    Should all my sites be setup to use the non-www domain?

    Thanks,
    Jim

Viewing 1 replies (of 1 total)
  • I always use non-www, so I never had similar problems, but maybe try adding this code (source) to the .htaccess and see how everything works (it is for non-https):
    RewriteEngine On
    RewriteCond %{HTTP_HOST} !^www\. [NC]
    RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]

    Or you can try adding dns A record for both www and non-www when you map the domain.

Viewing 1 replies (of 1 total)
  • The topic ‘Multisite Redirect Problem (domain.com to www.domain.com)’ is closed to new replies.