Hi, I am building a php site(raw coding). I want to modify the url. i think htaccess is the solution. but i am weak is this. can u people help me about this? my urls are like these:
- www.site.com/index.php
- www.site.com/invoice_details.php?invoice_id=100
- www.site.com/user.php?uid=20&type=1
- www.site.com/client_details.php?cid=10&status=active
I want these to be like:(1st choice)
- www.site.com
- www.site.com/invoice-details/100
- www.site.com/user/20/1
- www.site.com/client-details/10/active
Or may be just add "slash" and replace the "_" with "-"(2nd choice)