Answer the question
In order to leave comments, you need to log in
How to write a 301 redirect correctly?
Friends, welcome.
Help me build the right redirect
The bottom line
is there is a search page that crashes with a 404 error
mysite.com/aaa.html?keyword=625852&search=true&vie...
you need to redirect to
mysite.com/component/virtuemart/search.html?keywor...
how replace aaa.html? at component/virtuemart/search.html?
Tried
RedirectMatch 301 ^(.*)/aaa.html?keyword$ ^(.*)/component/virtuemart/search.html?keyword$
doesn't work :(
Thanks in advance
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