I was struggling to find a solution for redirecting users after registration. Read few threads, found a $99 solospace plugin too..ouch!
Then finally made a small change in a core file and bingo!
Not sure if someone has already done this, but if not, you may find it useful.
Making this small change in one of the core file allows you to redirect user to immediately after registration to any page you desire.
Open the file “system\expressionengine\modules\member\mod.member_register.php
Search for this line:
'content' => $this->EE->lang->line('mbr_registration_completed')."\n\n".$message,Just below this line, you will see a line as:
'redirect' => '',Change it to this:
'redirect' => $this->EE->db->escape_str($_POST['RET']),Now, in your EE registration form template,
<form id='register_member_form' method="post" action="http://yoururl.com/anytemplate" >
<input type="hidden" name="XID" value="{XID_HASH}" />
<input type="hidden" name="ACT" value="7" />
<input type="hidden" name="RET" value="http://yoururl.com/anytemplate" />
<input type="hidden" name="FROM" value="" />In the RET field, give any URL where you want to redirect the user to.
Hope this helps.
Thanks.