Hello!
The site has pages like site.ru/page.php
The problem is that if you add something after .php with a slash, for example, site.ru/page.php/smth, the page will not change, but you need to return 404.
Question: how to do it? I'm trying to solve using htaccess redirect to 404, until it works out.