.htaccess - correct format of URL rewrite in php -


I'm asking about the htaccess url rewrite ( mod_rewrite )

Actually I want to change the URL below

http: //localhost/project/cms/edit_item.php? Id = MYc = (Actually this base is 64 encoded)

to

  http: //localhost/project/cms/edit_item.php/id  

I like it on .htaccess file

  RewriteRule ^ ([\ -_ 0- 9A-Za-z] +) $ edit_item.php? Id = $ 1 [L]  

Save it to project folder but url is not modified

Please tell me how to do this

< / Div>

  rivvyte condom% {QUERY_STRING} id = (. +) Rewrite (edit_item.php) $ 1 / id / % 1?  

Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -