I have modified my .htaccess file to rewrite urls.
My code needs to rewrite .../view_cat.php?cat=1 into .../11klassniki. It works totally fine when it goes right in the end.
However, when another page uses the same part of url in the middle, .htaccess ignores it (correct me if I am wrong).
Here is the example:
.../view_cat.php?cat=1&page=2 works as a valid url, however it supposed to be rewritten by .htaccess as .../11klassniki&page=2, but somehow it doesn't do it.
Here is my code:
RewriteRule ^11klassniki$ /view_cat.php?cat=1$ [L]
RewriteCond %{THE_REQUEST} " /view_cat.php?cat=1 "
RewriteRule ^ /11klassniki? [R=301,L]
