Well, I guess that the link is going to an other domain. You need to add all external domain names to the uamallowed list, which is the list of domains that the user is allowed to visit before he/she logs in to the hotspot. All other pages which is not in the list redirect back the user to the start page.