Support » Fixing WordPress » Domain Mapping for "Site 1"

  • Resolved DomenLo

    (@domenlo)


    Hello. I have a network of sites set up and use the domain mapping plugin to get domains out of them.

    How is it possible to “catch” the original domain without the www to not redirect to the wp-signup page?

    http://www.originaldomain.com works
    originaldomain.com goes to signup

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Guess I’ll be answering my own question if anyone else wants to know:

    add this at the start for the main domain in the network

    RewriteCond %{HTTP_HOST} !^www.domain.com$ [NC]
    RewriteRule ^(.*)$ http://www.domain.com/$1 [L,R=301]

    Moderator Kathryn

    (@zoonini)

    Automattic Happiness Engineer

    Glad you solved it. You’ll likely have better luck next time posting in the Multisite forum.

    If you would please mark this thread as “resolved” it would be appreciated. Helps everyone keep better track of whose issues are still outstanding. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Domain Mapping for "Site 1"’ is closed to new replies.