There is an expression
RewriteRule /?([A-Za-z0-9_-]+)/?$ index.php?id=$1 [QSA,L] It accordingly changes the query in the form localhost/solutions to localhost/index.php?id=solutions
I need a link like localhost/solutions.php?e=20132009 change to localhost/index.php?id=solutions&post=20132009
Those. As far as I understand, we must also use the $2 variable through the second regular schedule. How to describe it?
The initial one, as I understand it, needs to be changed to /([A-Za-z0-9_-]+.php)/ , so that only files with the extension .php included, but how to stuff it into a variable? Thank you in advance!
/?(solution.php?e=)/?$or change it for this. so that the user is going there, just clickindex.php?id=solutions&post=question is how to pull the values after e into variable 1? - rusbaron/(solutions.php[?][e][=][0-9]+)/precisely this, the past does not work - rusbaron