How to make a directory not show up for the end user?

But you would still like to access them as an admin?
Or making these directories/pages completely inaccessible?