Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

redirect #2

Open
gvs6 opened this issue Nov 29, 2021 · 2 comments
Open

redirect #2

gvs6 opened this issue Nov 29, 2021 · 2 comments

Comments

@gvs6
Copy link

gvs6 commented Nov 29, 2021

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.

@teguhrianto
Copy link
Owner

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 😃

@gvs6
Copy link
Author

gvs6 commented Dec 2, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants