My subject is different from the deprecated one, all I need is to get a string as URL without showing the PHP filename. I have items to click and to go to edit.php page I am trying to get a clicked string as URL.
e.g. if I click 'abc' , I want to go to the page edit.php and the browser displays :
http://localhost/abc
not to
http://localhost/edit.php?item=abc
It's something like the routing in Symfony.
/edit/abcwould take you toedit.php?item=abcwhile/abcmight tack you toshow.php?item=abc. In any event if you have more than a couple types of actions you are probably going to want to use a router on the PHP side instead of jsut htaccess only. Depending on how far along on your poject you are you might jsut want to use a micro framework like Silex or Slim. It will most likely save you time and headache.