If a user tries to access a page number that doesn't exist when viewing the results on a table, what should happen?
I'm referring to change the page in the url, example: www.website.com/products?page=100
Imagine I only have 99 pages of results in the table.
What would be the better approach for you?
- Redirect to the first page: Many sites automatically redirect the user back to the first page if they enter a non-existent page number.
- Show an error message: Another approach is to display an error message stating the page is out of range.
- Something else...?