I used the suggested [internal] URL format and it worked as expected. Thank you for helping determine the issue.

Perhaps details.php could benefit from an isLoggedIn() function equivalent and redirect the user to the respective internal URL format.