Is there a way to block user from accessing pagination that are not available?
Example, I have only 3 pages and the third page is the last page. But there are some user accessing page 10 by changing the value from the address bar such as example.com/entry/P10.
How to set the not available page as no result or not found?