WordPress by default redirects all non-logged users to 404 page when they follow private post or private page link.
Instead of showing 404 page, this plugin redirects those users to the login page.
After login, it redirects users with private content access to the private content link they followed..
Note If you post private content and want to get more subscribers to read your private content, I developed Free plugin for that too.
Download The Private Content Login Redirect package file, extract the directory from ZIP file, upload it to WordPress Plugins directory wp-content plugins or install plugin from Plugin panel WordPress Dashboard..
Redirect to login but no back redirection even we guess the wp-login url look like to indicate future redirection..
Utilizes the in wordpress private page status.
I've been searching for little while for plug-in doing simple thing -that IMHO should be part of base WordPress capabilities- redirect visitor to login page when he she tries to access restricted page..
Browse the code, check out SVN repository, or subscribe to the development log by RSS...
Solved Issue When Fails to redirect if redirect canonical finds match..
Read more