Hello. In .htaccess I have a rule:
RewriteRule ^ category /(.+)$ modules / category.php? Id = $ 1
Thanks to him, I get links like / category / 5 , where 5 is the id of the section I need from the database, I then get it from $_GET['id'] and I select it from the database.
The question is, how can I make links so that they look like / gorod / name , where gorod and name would be $ _GET values, that is, if without NC, then this link is modules/category.php?id=gorod&pod=name
I would be grateful for any useful information.