i have problem in htaccess in my localhost not redirecting correctly : my htaccess file contains 
RewriteEngine On
 
RewriteRule ^projects/company/([^/]*)$ projects.php?companyid=$1

it was working fine but suddenly this section not working in my website 
this should redirect to "projects.php?companyid=$firstvariable"
but acttually i don't know why. i tried restarting my pc and delete temp and restart wamp