If the link is in the index page and if i click the link it should go to demo login.If I directly type the url in the address bar it should not go.

How to do this?