By default, it doesn't go to 404 page and stays at the incorrect page showing the message that it doesn't exist

I'll create a task of it to consider redirecting to the 404 page

Thanks