I want to rewrite
/cat80
to
/index.php?catid=80
Here is my rules in my .htaccess file.
Options Indexes FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteRule ^cat(.+)$ index.php?catid=$1 [L]
I checked many and many times, but can't figure out, it continue sas "404 erro, pagecn't can't been found"
I looks like it doesn't support directory rewrite,
I can access index.php
so I tested with a rule
RewriteRule ^home$ index.php [L]
it can't work either when I try to enter /home to access /index.php
but if I write
RewriteRule ^home/$ index.php [L]
it works file, I can access /index.php using /home/
Anybody can help me out one this problem, I have read hundreds of document try to figure out it, but failed.