WordPress.org

Ready to get started?Download WordPress

Forums

BP Disable Activation
Redirect to last page viewed before registration (1 post)

  1. seelkat
    Member
    Posted 2 years ago #

    When registration & login is complete, I need to redirect to the last page the user viewed before going to the registration page. Can someone help me with the code?

    I've tried the following & in all cases, it sends me to the home page which is incorrect.

    $_SERVER[HTTP_REFERER];
    $_SERVER['REQUEST_URI'];
    $_SERVER['REDIRECT_URL'];

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic