• Resolved deltaalphavicotr

    (@deltaalphavicotr)


    I have the premium version of this plugin. If I send a user a link to a password protected page within my site, it redirects the user to the login page. After the user logs in, they are redirected to home page of the site instead of the URL that they were originally sent to.

    From there, they have to manually click through the site to find the page or they have to go back to the email to click the link again. If they do this after logging in, they are taken to the correct spot but I would like to eliminate this step

    I am using the short code of [login] on the login page and no additional perimeters.

    Is there a setting I can activate that will send the user to the original URL after login?

Viewing 1 replies (of 1 total)
  • Plugin Contributor etoilewebdesign

    (@etoilewebdesign)

    Hi delta,

    Just to make sure, you’re including the login_page attribute in the restricted shortcode, and that’s how people are getting to the login page from the restricted page, right? I ask because there is no option in the plugin to have it automatically redirect a restricted page to the login page.

    That being said, there’s no saving of history or anything like that, so there would be no way for the plugin to know what page someone was on before they went to the login page. What you can do instead is make use of the redirect_page attribute in the login shortcode to send people to a specific page after they log in. For example:

    [login redirect_page="https://your-site.com/your-page/"]
    
Viewing 1 replies (of 1 total)
  • The topic ‘Redirect Users to Original URL’ is closed to new replies.