Shortcodes and redirect to login page
-
Hi! I’m trying to protect some files using the “Download monitor” plugin. I’ve configured the login page in the settings, then i’ve created a page with a shortcode to a protected download. When a not logged user try to open the link, it’s redirected to the login page, but after the login, the browser not redirect back to the download page.
By now i’ve solved the problem using the contitional tags in this way:[wpmem_logged_in][/wpmem_logged_in]
[wpmem_logged_out][/wpmem_logged_out]
Download it now!But i’ll have to write a lot of code in the pages for every link.
So, few questions:
– There is a way to specify a different login page for different languages?
– There is a way to use the shortcode so that it can redirect to the previous page after the login is successful?Thanks!
- The topic ‘Shortcodes and redirect to login page’ is closed to new replies.