I'm trying to protect URLs like this on my website from being opened IF the user is not logged in.


If a user tries to direct link to this and is not logged in, I'd like the user to be redirected to the main URL.

Any help would be appreciated.

  • 2
    What are those URLs? How are they generated? Is it a post type, a page? How does URL relate to WordPress? Have you tried anything? Are you familiar with PHP and making theme modifications? – Howdy_McGee Aug 21 at 17:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.