D
D
Danila2016-08-03 18:00:31
htaccess
Danila, 2016-08-03 18:00:31

How to redirect requests containing certain words to a 404 page using .htaccess?

Suppose I have the following requests:
www.site.ru?vint=rint
How can I redirect to the 404th page all requests containing the character sequence "int" ? (the prohibition must be case-insensitive, i.e. requests containing int and Int are blocked

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question