Responsive-Mikrotik-Template icon indicating copy to clipboard operation
Responsive-Mikrotik-Template copied to clipboard

redirect

Open gvs6 opened this issue 3 years ago • 2 comments

Greetings, where could I change the page where it redirects me to msn.com/es ... I would like to validate in which file it is modified. Thanks.

gvs6 avatar Nov 29 '21 13:11 gvs6

Greetings, where could I change the page where it redirects me to msn.com/es ... I would like to validate in which file it is modified. Thanks.

hello @gvs6 , You will need to replace a variable on the hotspot/login.html document on the router. You must replace $(link-orig) with the url of the website you want them to get after login. There are two, and both look like this: <input type="hidden" name="dst" value="$(link-orig)">

Change them to <input type="hidden" name="dst" value="http://www.mysite.com">

For more, see the docs here: https://wiki.mikrotik.com/wiki/Manual:Customizing_Hotspot

Please let me know if it works or not 😃

teguhrianto avatar Nov 29 '21 14:11 teguhrianto

Thank you very much, it was very useful and your recommendation worked perfectly.

gvs6 avatar Dec 02 '21 14:12 gvs6