Skip to:
Content
Pages
Categories
Search
Top
Bottom

Redirect to previous page after logging in

  • @emgb_520

    Participant

    When a user goes to our forums, views a topic, clicks “LOGIN” above the forums, and logs in, they are redirected to the site home page, not back to the topic they were looking at.

    Is there a way to have them go back to the page they were on?

    Seems like there should be a simple solution for this, but I can’t find anything relevant.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • @emgb_520

    Participant

    I forgot to include that I have tried editing the code without any luck.

    The file I have tried editing is /wp-content/plugins/bbpress-login-register-links-on-forum-topic-pages/bbpress-login-register-links-on-forum-topic-page.php

    Lines 26-72

    The LOGOUT link redirects to the page the user was previously on, but the LOGIN link does not.

    Please help!

    @emgb_520

    Participant

    Anyone have any suggestions here?

    Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar