Community discussions

MikroTik App
 
ven16
newbie
Topic Author
Posts: 36
Joined: Tue Mar 26, 2013 5:35 pm

company page Open as home page

Mon Mar 10, 2014 4:47 pm

Hi,

how can I configure hotspot, when the users open the web page it must redirect to our company home page automatically?

thank you,


ven
 
TonyJr
Member Candidate
Member Candidate
Posts: 207
Joined: Sat Nov 12, 2011 1:30 am
Location: UK
Contact:

Re: company page Open as home page

Mon Mar 10, 2014 10:25 pm

Edit hotspot login.html to redirect to your company webpage.
 
ven16
newbie
Topic Author
Posts: 36
Joined: Tue Mar 26, 2013 5:35 pm

Re: company page Open as home page

Tue Mar 11, 2014 10:04 am

Edit hotspot login.html to redirect to your company webpage.

hi ,

thank you for your reply, i want after login.

thank you,
Ven
 
User avatar
aacable
Member
Member
Posts: 435
Joined: Wed Sep 17, 2008 11:58 am
Location: ISLAMIC Republic of PAKISTAN
Contact:

Re: company page Open as home page

Wed Mar 12, 2014 6:00 am

Howto Redirect User to your selected site after successful Login
If you want that after successful login to hotspot , user must be redirected to your advertisement web site / any other web, then You will need to replace a variable on the hotspot/login.html document on the mikrotik router.
You must replace $(link-orig) with the url of the website you want them to get after login.

There are two links that you have to replace, and both look like this:
input type=hidden name=dst value=$(link-orig)
Change them to
input type=hidden name=dst value=http://aacable.wordpress.com
Now after successful login, user will automatically redirected to your site, you can also create your customized page showing users details using the variables available.

https://aacable.wordpress.com/tag/hotsp ... -n-tricks/
 
ven16
newbie
Topic Author
Posts: 36
Joined: Tue Mar 26, 2013 5:35 pm

Re: company page Open as home page

Mon Mar 24, 2014 6:49 pm

Howto Redirect User to your selected site after successful Login
If you want that after successful login to hotspot , user must be redirected to your advertisement web site / any other web, then You will need to replace a variable on the hotspot/login.html document on the mikrotik router.
You must replace $(link-orig) with the url of the website you want them to get after login.

There are two links that you have to replace, and both look like this:
input type=hidden name=dst value=$(link-orig)
Change them to
input type=hidden name=dst value=http://aacable.wordpress.com
Now after successful login, user will automatically redirected to your site, you can also create your customized page showing users details using the variables available.

https://aacable.wordpress.com/tag/hotsp ... -n-tricks/

thank you very much...

Who is online

Users browsing this forum: Bing [Bot], mansuramir, VirtualEvan and 164 guests