Answer the question
In order to leave comments, you need to log in
How to set up a redirect with a url that contains special characters?
A url of the form https://site.ru/section/%20target=/ appeared on the site, it needs to be redirected to https://site.ru/section/
A simple redirect does not work, since the string contains special characters. I tried to escape with a backslash, https://site.ru/section/\%20target\=/ doesn't work either. Oddly enough, there is very little information on the Internet about this, has anyone really come across it?
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