Welcome Guest, Not a member yet? Register   Sign In
redirect a PHP suffix to a controller using Apache mod_rewrite / RewriteRule
#6

[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]


Messages In This Thread
redirect a PHP suffix to a controller using Apache mod_rewrite / RewriteRule - by El Forum - 09-23-2009, 10:10 AM



Theme © iAndrew 2016 - Forum software by © MyBB