I've currently created a registration form for my website. The working procedure of this form is as follows.
User complete the fields and click register button.
An email with a confirmation link will be sent to the email address of the user.
User clicks on that link from his email and then get redirected to the login page.
User enters his username and password, and he will be redirected to the success page.
This form worked perfectly in the beginning. When I introduced more pages and forms to my website and checked the same form, I found the login page is failing to load after confirmation. And it will work when we open a new page and type my URL there.
I don't have much time to find and rectify this error, so I need a PHP expert who can tackle this problem and find a solution immediately. I'll provide more details to the winner. This is a simple task for an expert, so I need this get finished quickly.