The MU forums have moved to WordPress.org

ModRewrite exception for subdomains in mu? (6 posts)

  1. seanolsen
    Member
    Posted 17 years ago #

    Is it possible to have wordpress mu modrewitre ability turned off, or not apply, for a certain subdomain, for example images.domain.com? I keep getting the signup for blog link...

    Matt

  2. drmike
    Member
    Posted 17 years ago #

    Been discussed many times:

    http://mu.wordpress.org/forums/topic.php?id=681

    Hope this helps,
    -drmike

  3. seanolsen
    Member
    Posted 17 years ago #

    Wow, thanks. I've been searching for a long time, but I was obviously looking in the wrong place... sunofa..

    Thanks again. :)

  4. drmike
    Member
    Posted 17 years ago #

    *chuckle* One of the reasons why we're bugging Donncha for write access to the Wiki so we can put together a FAQ.

  5. andrea_r
    Moderator
    Posted 17 years ago #

    And again, gettign the search button fixed would help. :-/

  6. myteatro
    Member
    Posted 17 years ago #

    I tried the above topic-id=681 suggestion, however for some reason it doesn't work for me... may be it doesn't work at all with the release-candidate versions...

    being not that skilled in the apache regular expressions syntax I use

    RewriteCond %{HTTP_HOST} ^www\.(.*)
    RewriteRule ^(.*) http://%1/home$1 [R,L]

    RewriteCond %{HTTP_HOST} ^home\.(.*)
    RewriteRule ^(.*) http://%1/home$1 [R,L]

    RewriteCond %{HTTP_HOST} ^forum\.(.*)
    RewriteRule ^(.*) http://%1/forum$1 [R,L]

    RewriteCond %{HTTP_HOST} ^support\.(.*)
    RewriteRule ^(.*) http://%1/forum$1 [R,L]

    I know it's a suboptimal solution. however it works...

About this Topic

  • Started 17 years ago by seanolsen
  • Latest reply from myteatro