redirect a PHP suffix to a controller using Apache mod_rewrite / RewriteRule |
[eluser]bretticus[/eluser]
Instead of using redirect, why not just configure CI to use the php extension? See Adding a URL Suffix If that will not work for you, you might get better mileage with CI's URI Routing. If you prefer a mod_rewrite rule, you might try this (untested.) Code: RewriteRule ^post_here.php$ index.php?/receive/index [L] |
Welcome Guest, Not a member yet? Register Sign In |