If users use the registration form to register, by going directly to the registration page http://www.studyhood.com/english/register.php, then they receive an e-mail with an activation link (http://www.studyhood.com/english/activate.php?kt_login_id=4014&kt_login_random=3199a254b723272c19805e2f7fc168bc), and when they click on it, the index page of the logged-in section is loaded (http://www.studyhood.com/english/indexglogin.php). This works fine.
But in the case where the (non-registered) user goes to the registration page by clicking a link to a restricted page (http://studyhood.com/english/translation_second.php?tr_price=50&tr_days=3&tr_words=500&tr_fr=Arabic&tr_it=English&tr_type=Regular), the e-mail activation link redirects to http://www.studyhood.com/http:/www.studyhood.com/english/translation_second.php?r_price=28&tr_days=3&tr_words=56&tr_fr=Azerbaijani&tr_it=English&tr_type=Regular.
Because of that additional http://www.studyhood.com inserted at the beginning of the URL, the browser returns an error message.
Finally, if the user logs in (not registers) after clicking on the link to the restricted page, everything is again fine, since she is taken to translation_second.php without any problem.
I look forward to your assistance,