I'm currently working on a webpage whose links work as
However, I stopped for a second, and thought: what if someone changes it? (
?do=idontexist) What should I do?
- Just ignore the change, and display the default (main/index) page
- Show a [generic] 404 page
- Throw a custom error:
Which of these is the best choice?