The MU forums have moved to WordPress.org

htaccess pass through (16 posts)

  1. andrewbillits
    Member
    Posted 18 years ago #

    I need to be able to pass several folders through without wpmu trying to find the blog. basically I need http://whatever.com/support/ to actually pass through to /support/ instead of trying to find the blog. i've been playing with the .htaccess for over an hour and no luck yet.

  2. donncha
    Key Master
    Posted 18 years ago #

  3. andrewbillits
    Member
    Posted 18 years ago #

    still no luck. Any idea why it's not working?

  4. partypageusa
    Member
    Posted 18 years ago #

    Thanks it works for me. Had to do this for 10 folders.

  5. andrewbillits
    Member
    Posted 18 years ago #

    party, could you send me your htaccess that you used to get the folders working. I must be doing something wrong.

    email: andrew AT idtstudios DOT com

    thanks

  6. partypageusa
    Member
    Posted 18 years ago #

    On the .htaccess file I only have the following 2 lines.

    #######################
    ###### Line Below #####
    #######################

    indexignore *
    rewriteengine off

  7. andrewbillits
    Member
    Posted 18 years ago #

    "indexignore *" fixed it for me. Thanks party

  8. inertia
    Member
    Posted 18 years ago #

    Yeah, thanks guys that worked for me too but still my index.html can't be acccessed. Is there any way to serve index.html first before mu's index.php?

    Thank you.

  9. andrewbillits
    Member
    Posted 18 years ago #

    i'm afraid you're gonna be out of luck on that one inertia.

    Although you might try setting your server setting to call .htm, .html extensions before .php.

  10. inertia
    Member
    Posted 18 years ago #

    How can I do that?

    thanks.

  11. TomK32
    Member
    Posted 18 years ago #

    read about excluding some subdirs from the mod_rewrite stuff http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html#rewritecond

    untested:
    RewriteCond %{REQUEST_URI} !^/support/

  12. Ste_000
    Member
    Posted 18 years ago #

    hi to all....i want to exclude some pages and only directories from the rewrite rules...for example i must exclude the page faq.php....how can i do that?

  13. jaseone
    Inactive
    Posted 18 years ago #

    Just rewrite the pages to themselves or do they need to do different things for each blog? For directories just put in a .htaccess that turns the rewrite engine off.

  14. Ste_000
    Member
    Posted 18 years ago #

    no, i have some pages called for example faq.php at the same level of wpmu's pages ....how can i exclude my pages from rewrite?

  15. gappiah
    Member
    Posted 18 years ago #

    Hmmm this doesn't seem to work for me, or at least the way I want it to work.

    I created a .htaccess file and dumped in ...

    indexignore *
    rewriteengine off

    But only doman.com/subdomain works ... http://subdomain.domain.com still says there's no blog here bra bra bra.

    What do I do?

  16. itdamager
    Member
    Posted 18 years ago #

    The answer you seek for subdomain passthru is in this thread.

About this Topic

  • Started 18 years ago by andrewbillits
  • Latest reply from itdamager