Answer the question
In order to leave comments, you need to log in
How to make a redirect by removing one get request?
Good afternoon
There is a link site.ru/catalog?page=1&sort=ASC
It is
necessary that there be a redirect only without page=1
site.ru/catalog?&sort=ASC
I'm trying to record it like this RedirectMatch ^([^page=1]*)page=1(.*)$ $1$2
But nothing happens
What's wrong?
Thanks
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question