I'm using WordPress. I'm setting up various directory pages for registered users at URLs like
mysite.org/directory. If a user is not logged in and navigates to that address they'll get:
This message is not useful to users. I would like instead for something like an automatic redirect of anonymous visitors to
wp-login.php. Or failing that, simply change the link "Return to home page" with a link to the user login page.
More Info: Using a plugin to restrict access to profiles to logged-in users does not work as the Civi error overrides any page permissions. This is true regardless of the hijack content option.
Also checked out the page redirect extention but it doesn't appear to be for WP.