add page number details to 404 errors