Redirection plug in help please
- 
		Hi all Found this excellent and useful plugin for redirecting to profile after login: <?php function oci_login_redirect($redirect_to, $set_for, $user){ $redirect_to = “http://IP_address/account/members/$user/profile”; return $redirect_to; } add_filter(‘login_redirect’, ‘oci_login_redirect’, 10, 3); ?> However, trying to change redirect_to at the moment to the profile in a not-so-standard way due to the fact I have no domain name attached to the account. Can someone take a look at the code above and see if there is anyway of getting ‘$user’ in there so that it recognises the user on login and directs to their profile page? Unfortunately no domain name is being applied for a while so it has to be like this temporarily! Thanks in advance. DW 
- The topic ‘Redirection plug in help please’ is closed to new replies.
