correct format of URL rewrite in php

GreasyTony

New Member
i'm asking about htaccess url rewrite ( \[code\]mod_rewrite\[/code\] )actually i want to change below URL\[code\]http://localhost/project/cms/edit_item.php?id=MYc=\[/code\] ( actually this is base 64 encoded)to\[code\]http://localhost/project/cms/edit_item.php/id/MYc=\[/code\]i do it like this on .htaccess file\[code\]RewriteEngine onRewriteRule ^([\-_0-9A-Za-z]+)$ edit_item.php?id=$1 [L]\[/code\]and save this on project folderbut URL didn't modifiedplease suggest me how to do it
 
Back
Top