• Resolved masterx81

    (@masterx81)


    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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter masterx81

    (@masterx81)

    Sorry, can’t edit the message, this is the code that i’ve used

    [wpmem_logged_in]<a href="/download/712/">[/wpmem_logged_in]
    [wpmem_logged_out]</a><a href="/index.php/accedi/?redirect_to=/index.php/condotte/">[/wpmem_logged_out]
    Download it now!</a>

    Hello,

    Thank you for sharing all the details.

    Our plugin does not offer any login mechanism as you are already aware and there is no feature to manage the redirection automatically. So I regret to say you will need to continue using your current method or develop a custom solution.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Shortcodes and redirect to login page’ is closed to new replies.