The MU forums have moved to WordPress.org

parked domains vs htaccess (3 posts)

  1. Bike
    Member
    Posted 16 years ago #

    Hi there, there are many posts about how to incorporate extra domains on an install, but after searching could not find this:

    - I have a WPMU with subdirectories on http://www.domain1.com
    - I have about a dozen domains including http://www.domain2.com & http://www.domain1.net/org etc. They are currently parked on top of domain1.com

    I do not need the extra domains per se, but they cover easily made misspellings. Of course I would like that blog1.domain2.com is working even if it the URL should be blog1.domain1.com. (I have no interest in having 2 different domains up with identical sub domains, so blog1.domain1.com & blog1.domain2.com do/should not be different blogs.)

    Logically (maybe not practically :) I see two variations:

    1): Redirect: blog1.domain2.com just redirects to blog1.domain1.com (so not just to http://www.domain1.com) I assume this can be done with .htaccess, but am not sure if any rewrite rules will mess with the ones already there for WMPU?

    2): all variations work/resolve: blog1.domain2.com/net etc will just show the actual blog that is on blog1.domain1.com.
    Not sure if this is possible, if so where this should be changed/added?

    My questions:
    - Which of the 2 above would be better,
    - how could they be set up: on the http.conf (I have access), via .htaccess or different?
    - If on .htaccess, how to prevent interference (order of statements?) and does it matter if .htaccess will get 30-40 lines?

    Thanks for your time

  2. Bike
    Member
    Posted 16 years ago #

    Hmm, is it allowed to *bump* after 5 days?
    Any help is still very welcome. My specific problem is that Traveller is written Traveler (one 'l') in US english, therefore I want to have http://www.biketravelers.com resolve to http://www.biketravellers.com, my current WPMU.

    - I do not need extra subdomains (blog1.biketravellers.com should be the same as blog1.biketravelers.com )
    - Preferably the two (and some more .org variations) shoudl resolve.

    I tried multisite manager, but that does not seem to work for what I want, and all the Parked domains/Domain mapping threads either are dead ends or are about other issues.

    Thanks in advance for any help

  3. nodblogcom
    Member
    Posted 16 years ago #

    Idea:
    1) set apache to display eg. /index2.php instead of /index.php on the main page.
    2) edit index2.php and display the appropriate page/domain.

    I'd go with the 301 redirect option, it's better for search engines.

About this Topic