Mod Rewrite
From LinuxReviews
Jump to navigationJump to searchMod Rewrite allows you to rewrite the URLs.
help for oliver
- 23:53 < oliver> I just want foo.php to be foo/
- 23:54 < oliver> in a general sense, so a new bar.php turns into bar/ as well
- 23:54 < oliver> GET params stay unchanged
- 23:55 < oliver> I just want *.php? turn into */?
- 23:56 <@thrasher7> RewriteRule ^([^/\.]+)/?$ $1.php [L]