Thank you Guust for the reply,
I found something interesting
When I press the login button, it will redirect me to below
http://www.xyz.com/gd-login/
However the above page doesn’t exist. But the correct page exists if I use the below link.
http://www.xyz.com/index.php/gd-login/
Now how can I fix this in order to make sure that I redirect to the correct page