1

Topic: Mod_rewrite problem

This is my Rule

RewriteRule ^([a-zA-Z_-]+)\.php$ /projecttest/index.php?id=$1 [L]

I am trying to have the link such as <a href="link-name.php">link</a> Then $1 become "link" without the ".php" extension

I think the problem is  something todo with "\.php" .

Thanks
Jim