Change Redirect? (3 posts)

  1. cschondel
    Posted 2 years ago #

    I am interested in getting both the login and register links to redirect to another page. I am using themed pages for both. Is there a simple way to accomplish this? the login page is simply the URL/login, and the register page is the URL/register. I can see the code within the plugin's PHP file but don't know the proper syntax to pull it off.

    // User _NOT_ Logged In
    	if ( $options['hide_register'] != 1 ) $code[] = "<a href=\"".get_bloginfo('wpurl')."/wp-login.php?action=register&redirect_to=".$_SERVER['REQUEST_URI']."\" title=\"".__('Register','hypervisor-login-logout')."\">".__('Register','hypervisor-login-logout')."</a>&nbsp;&nbsp;|&nbsp;&nbsp;";
    	$code[] = "<a href=\"".get_bloginfo('wpurl')."/wp-login.php?action=login&redirect_to=".$_SERVER['REQUEST_URI']."\" title=\"".__('Login','hypervisor-login-logout')."\">".__('Login','hypervisor-login-logout')."</a>";
    	$code[] = $after_html;
       foreach ( $code as $snip ) {
       echo "<!--Hypervisor Login Logout end-->";
       return $code;

    Any help would be appreciated.


  2. rabbitshavefangs
    Posted 2 years ago #

    I have this EXACT same question.

    I love your plugin and have fully integrated it into my site... but I want the option to REDIRECT ALL USERS to a specific WELCOME PAGE. Without the welcome page the users are not updated on our site which is very important for us.

    Please let me know if this functionality will be added in the NEAR future. I would gladly make a generous donation if it is. A check box with a spot to put your URL would be perfect.

    Thank you!

  3. esbexpenses
    Posted 2 years ago #

    I also have the exact same need. Just chiming in to keep focus on this. Great plug-in, BTW.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Login-Logout
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic