.htaccess modrewrite (push directory files upward?)

Discussion in 'Apache' started by SimThePhpCoder, Aug 22, 2011.

  1. #1
    I have all my files in the root.. say
    wikihoster.com/wiki.php?what=



    People can create there own subspace such as (this directory doesn't exist) I just want to make it seem like it does
    wikihoster.com/final_fantasy/


    Now how could I make a rewrite rule to allow my wiki.php file to work at the location
    wikihoster.com/final_fantasy/wiki.php?what=characters

    I know this should be pretty simple. Any suggestions?
     
    SimThePhpCoder, Aug 22, 2011 IP