How to redirect non-logged users requesting for a specific page/URL to another page/URL and display a message like “for members only”. I know its quite easy to code using !is_user_logged_in() function but i don’t know how to code it because i am a newbie to WordPress. Care to tell me the file to put the code also.