I am trying to rewrite the url using .htaccess . I tried couple of solutions to reach to the desired url but not able to figure out . Can anyone please help .
Original URL
http://localhost/view_retailer.php?id=<storename>
Rewritten url using .htaccess
http://localhost/view_retailer?id=<storename>
Desired url
http://localhost/store/<storename>