WordPress.org

Support

Support » Multisite » [Resolved] adding www to url routes me to home page

[Resolved] adding www to url routes me to home page

Viewing 1 replies (of 1 total)
  • Solved, one of the core developers was really kind in helping me out, I placed this at the top of the htaccess file:

    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^www.example.com$ [NC]
    RewriteRule ^(.*)$ http://example.com/$1 [R=301,QSA,L]
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] adding www to url routes me to home page’ is closed to new replies.