I want to set restriction in wordpress for specific page. If some one (logout user) come to that page. this visitor will be redirect login page. For example

if some one (logout user) come to this url www.mywebsite.com/my-profile [ They can't see anything] They (logout user) will be redirect to www.mywebsite.com/log-in

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.