I have a page like mysite.com/contacts/ If I enter non-existent urls like:
mysite.com/contacts--/
mysite.com/contacts%20/
i get status 200 and the page opens mysite.com/contacts/ although if I enter:
mysite.com/contacts1/
As expected, I am getting a 404 error.
How can I implement error handling at the CMS level so that non-existent pages return a page with a 404 error template? There may be some plugin that implements URL management?