How to leave the current URL with 404 page, but not to break the rules redirects?

Is there a website in .htaccess has a rule for redirects from URLs without "/" in the url with "/" at the end (test.ru/catalog -> test.ru/catalog/ a) This rule applies to a 404 page, that is test.ru/dsadadasda first is a redirect to test.ru/dsadadasda/ , then displays the 404 error page. How to show 404 error page directly, without a redirect, but not to break the rules for other URLs?
March 12th 20 at 08:10
1 answer
March 12th 20 at 08:12
It is necessary to remove redirect missing pages.
Namely, to apply the rule fixes .htaccess in the script the URI of the router and to perform the correction of the url with a closing slash and not to comply with 404.

Find more questions by tags Web Developmenthtaccess