Viewing 9 replies - 1 through 9 (of 9 total)
  • It is just morning here now, so I am just seeing this.

    I’ll need some time to do some research and testing to figure out the answer to this.

    Thank you for your patience.

    I just verified what I thought should work: the plugin’s Settings in the Landing Location section also apply to the URL that is e-mailed to a newly-registered User.

    You can verify that it is working properly by looking at the link in the e-mail. It should have a redirect_to= query that has the URL (encoded) of where you want the person to be directed after they login.

    Please let me know if you need any further information or if it is not working for you.

    Thread Starter bendthelimits

    (@bendthelimits)

    Thanks for your quick reply!!

    I’m sorry I don’t get the expected result…
    This is the scenario:
    Plugin setting: Return to same url

    Menu item on the site with this URL: http://albertobrusa.com/welcome
    The plugin redirects the unregistered user to the wp-login page, and on that page the user has to click on the register link (standard wordpress login page). This sends the user to http://albertobrusa.com/wp-login.php?action=register
    The e-mail sent by wp contains the following link: http://albertobrusa.com/wp-login.php?redirect_to=http%3A%2F%2Falbertobrusa.com%2Fwp-login.php%3Faction%3Dregister
    which sends the user away from the welcome page…

    You will need to use Go to specific URL

    Details in 2 hours when I am back in the office.

    Sorry, but I don’t type well on mobile devices’ touch screens.

    The problem you are having is because, when you choose “Return to same URL” as your Landing Location, for Registration, that would mean returning to the Registration page. I doubt that I can make the behaviour different in the special case of the Registration e-mail, but I will look at that possibility in the not too distant future.

    For now though, you can choose from the other choices for “Where to after Login?”. For example, you could choose “Go to Specific URL” and specify http://albertobrusa.com/welcome

    Please let me know if any of these alternatives will solve your problem. If not, I’ll look into the possibility of changing how ” Return to same URL” works for Registration e-mails.

    When my user logs in they are directed to the WordPress Dashboard. When they hit “visit site” at the top it takes them to the home page of the site, but isn’t showing the protected content (it’s like they never logged in). Refreshing the page will then pull in the private site content.

    Any ideas?

    Yes, that is most likely a Browser Caching issue. In other words, their browser has “seen that URL before”, so presents the same content as last time, not realizing that it has changed.

    The “Refreshing works” is the strong indication that it is the Browser’s Caching at fault….

    Weird. Yes, I tried clearing Cache, going directly to the login page (not home page) and then hit “visit site” and it works just fine. It’s just strange that it’s happening in all browsers on my Mac (Safari, Chrome, Firefox).

    Do you have any suggestions on how to fix?

    I haven’t tested this, but my first inclination would be to change the URL slightly for the “Visit Site” link, so that it differs from the URL they would have visited before they logged on.

    Since this is the home page, you might try its alternate URL and see if that works. For example, if your home page is a WordPress Page with a slug of /abc/ then try http://example.com/abc instead of http://example.com

    If that doesn’t solve the problem, try adding a meaningless query, like http://example.com?logged=in

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Register email wrong redirect’ is closed to new replies.