The MU forums have moved to WordPress.org

differentiate btwn blogs.example.com vs example.com (5 posts)

  1. grassie
    Member
    Posted 13 years ago #

    I wish to have users who use the blogs.example.com format to be directed to index.php, and others who connect to example.com to be directed to index.html. Can it be done?
    Please limit your answers to less than 10000 words ... my brain hurts.

  2. cafespain
    Member
    Posted 13 years ago #

    Yes if they are separate sites (in apache, or whatever web server you are using) or you know how to do rewrites in .htaccess

    But don't ask me what you have to do, because my brain hurts to.

  3. grassie
    Member
    Posted 13 years ago #

    Thanks for replying. I am mulling it over.
    regards, grassie.

    PS Get a large hammer and ask a close friend to whack you
    on the shins with it. It will help take your mind off your
    brain-pain.

  4. Ovidiu
    Member
    Posted 13 years ago #

    so basically what you want to do is run wpmu but not use it on the main side, I fear that is not as easily possible.

    what cafespain told you is right, but if your blogs.example.com is powered by wpmu installed in example.com this isn't easy. I rememebr it being asked here a couple of times already but can't remember more specifics :-9

  5. andrea_r
    Moderator
    Posted 13 years ago #

    "Can it be done?"

    I am going to say no or not easily.

    And sheesh, I'm gonna need more caffeine now... ow...

    On a more technical note, *everything* gets run through index,.php - even the stuff off sub.domain.com. So placing an index.html in the root will always get picked up by the subs.

About this Topic

  • Started 13 years ago by grassie
  • Latest reply from andrea_r