Multisite redirecting wrong when without WWW

Our Multisite WordPress installation has 3 subdomains:

    www.website.com
    www.website.com/en/
    www.website.com/es/

But when some URL without WWW is typed, the user is always redirected to www.website.com. For example:

Read More
    Typing:                         Leads to:
    website.com/                    www.website.com
    website.com/en/                 www.website.com
    website.com/es/                 www.website.com
    website.com/wp-admin/           www.website.com
    website.com/en/wp-admin/        www.website.com
    website.com/es/wp-admin/        www.website.com
    [...]                           [...]

We have tried:

  • Forcing WWW with .htaccess
  • Changing configuration on Domain Network Dashboard

But none of that solved the problem.

We have not tried any plugin yet because we don’t know exactly what our problem is.

What can be happening?

Related posts