url rewriting - Apache Mod rewrite help -
url rewriting - Apache Mod rewrite help - i've been working on solution several hours & figured if doesn't mind helping me out, might save me time. question regards apache mod_rewrite; of course of study there tons of documentation out there, nil specific requirements are: to take url in format: language/pagename.php (language either 'english' or 'french', write separate rule each. [only need illustration 1 though]. page name word character (w+) . urls have .php extension). and rewrite url doesn't alter in users browser, php receive in format: language/page.php?slug=pagename e.g. $_get['slug'] homecoming value pagename , , requests handled page.php. so far best guess is rewriteengine on rewritebase / rewriterule ^english/(\w+).php$ english/page.php?slug=$1 however create php tell me slug=page url illustration english/financial.php ; rather financial . have tried bunch of other regex conventions (.) inst...