hello, I am facing a problem here.. my htacess file : # Rewrite URLs <ifmodule mod_rewrite.c> RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(search)\/(.*)$ index.php?act=$1&keyword=$2 [L,QSA] </ifmodule> it works fine when I use "http://localhost/search/" or "http://localhost/search/john", but not when i use "http://localhost/search", notice the tailing slash gone, it gives a 404 error. Please help me ! I really need help! Thanks
Add another rule below the first one, that will look something like this: RewriteRule ^search$ index.php?blahblah [L] Code (markup):