Hot answers tagged 404-error
This is challenging, because showing something would require page not to be private. It is more common to leave page public, but make it produce conditional output depending on if user is logged (is_user_logged_in()) in or other criteria.
You are essentially trying to create a "fake" page without having to create a physical page in the WordPress database and for that, you will need custom re-write rules. For more details see my answer here: Setting a custom sub-path for blog without using pages? Quick overview: step 1: setup your custom rewrite rules add_action('init', ...
Only top voted, non community-wiki answers of a minimum length are eligible