Using “user role editor” Or custom plugin/hook.. is it possible/the right way to redirect users to the login page, with the wp_login.php?redirect_to={current_page_url} so they don’t just see “you are not authorized to see this content etc.. ” even before they are prompted to login. It’s quite a basic requirement so wondering what are the common approaches to handling this ?
User Role Editor does not offer a redirection option currently. Look at redirection plugins from wordpress.org/plugins repository.
Thanks for suggestion. As you are not the 1st person who asked about a redirection feature instead of HTTP 404 or simple access error message, I will consider to add it to one of a future updates.