In my php web site, I need to display my urn in a specific manner
I need to hide the query string parameters and just want to display the value in the URL
i.e.
mydomain.com/city.php?place='usa'&id=2
I need to display
my domain.com/city-2/usa
Is it possible?
Please help me. I am in a serious situation.
Thanks in advance
Yes, it is possible:
You need to put it into the
.htaccessplaced in the web root of your site. To get it worked you need to have.htaccessparsing enabled andmod_rewriteapache module (assuming you have apache as a web server) enabled as well.More in official documentation