WordPress.org

Ready to get started?Download WordPress

Forums

WordPress MU Domain Mapping
www and non-www and aliasses (4 posts)

  1. himynameiserik
    Member
    Posted 1 year ago #

    Hi,

    I've setup a nice multisite with multiple domains. The only problem is that I want to use alias domains and only www domains.

    Now i tried:

    RewriteCond %{HTTP_HOST} !^www\.
    RewriteRule ^ http://www.* [R=301,L]

    this did not work.

    Then I would like to redirect alias domains to the right domains...

    something like:
    domains.co.uk/page1/
    links to:
    domain.com/page1/

    please help me!

    http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/

  2. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 1 year ago #

    Try

    RewriteCond %{HTTP_HOST} !^www\.(.*)$
    RewriteRule ^ http://www.%1 [R=301,L]
  3. himynameiserik
    Member
    Posted 1 year ago #

    nothing happend :(

  4. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 1 year ago #

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic