I wanted to do so. From this:
http://localhost/site/f2.php?fa=5
receive
http://localhost/site/red (т.е. red имеет fa=5 )
In the usual way through regular expressions I don’t come out and I did it in a perverse way:
RewriteEngine On RewriteRule red f2.php?fa=5 RewriteRule blue f2.php?fa=6 RewriteRule white f2.php?fa=2 (и т.д. у меня может получиться сотни таких строк) ..........
I understand that this is a madhouse and nobody does it ... but if it works and if the speed of the site is not affected then why not .. I wanted to find out if I have about 500 such lines in htaccess, it will affect the speed of the site or something else?
I just really need a person to type a short address in the address bar and find what he needs ... and I also understand that if he clicks in the usual way, it will still be in addr. the line will be written http://localhost/site/f2.php?fa=5
... well, let it, but it can enter a shorter and get there ... what do you think about this? thank! введите код здесь