D
D
Dmitry Kolyada2016-03-26 19:53:21
PHP
Dmitry Kolyada, 2016-03-26 19:53:21

How to set up a 404 response to pages like site.ru/abc.php/sagfguejrgnhb34nfis?

Gentlemen, tell me please, I spent those here. analysis from sape. And found a terrible thing! Pages like site.ru/abc.php/sagfguejrgnhb34nfis/ give me 200 code. With pages like site.ru/sagfguejrgnhb34nfis/ everything is in order, as they should give 404. As I understand it, you need to dig in the direction of .htaccess. But either my shovel is dull or something, I can’t find anything about this, please tell me what to do?

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