redirect not-logged-in users
-
hi wpdm,
non-logged in users are currently shown a ‘please log in to download’ message on either the /user/ page (all their files) or the /user/single-file page. the redirect to the wpdm login page, and redirect back works as expected. but can you help me with a functions snippet that would redirect not logged in users directly to the login page, without exception, before allowing them on to the downloads page? i don’t want them to see either the /user/ page or the single-file page at all if they’re not logged in.
you helped me with a functions.php redirect a few months ago that diverted logging in users to my own custom page rather than the wpdm dashboard. i hope you can help me with this again.
thanks in advance,
andrew
- The topic ‘redirect not-logged-in users’ is closed to new replies.