I just launched a Laravel application replacing an existing site.
The problem is that Google has a lot of pages indexed from the old site with urls like: "/results.php?id=3".
And when I click the link I go to the new website but the "No input file specified" error appears.
How can I show a 404 error page instead or handle this error to redirect to the new page?
Thanks in advance!