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:
download bmml source – Wireframes created with Balsamiq Mockups
Which of these is the best choice?