Support / Knowledge Base / How to edit the Splashpage for WI-FI Hotspot to get the user redirected to a specific WEB site

How to edit the Splashpage for WI-FI Hotspot to get the user redirected to a specific WEB site

When using a TransPort router as a Wi-Fi Hopspot, you may need to customize the splashpage in order to have a user redirected to a specific WEB site (not the default set on User browser).
In order to do it, follow the instruction below (please note that we assume that the device is already configured to act as a Wi-Fi hotspot):

1) Download the sample Hotspot.asp file.
As Active Server Pages (ASP) are pages upon which the web server will execute code whilst serving, the ASP file cannot be download from the router in order to edit it, the web server will execute the code so you will not end up with the original file.
So, you can go to:
http://ftp1.digi.com/support/firmware/transport/utils/hotspot/hotspot.zip
and download the “hotspot.asp” file, that can be edited to meet your requirements.

2) Set the specific website to be redirected to
Open the  asp file either with an html editor (Notepad works fine), and go to line 12-14, you should see:
 
<!--
  <input type=hidden name="hotspot_url" value="http://www.digi.com">
-->

You need to remove the comment symbols in order to have the line processed:
<input type=hidden name="hotspot_url" value="http://www.digi.com">
At this point you can change the =”http://www.digi.com” with =”http://www.yourwebsite.com “. In this example the digi.com website will be used.
 
Save the file with another name (please note that  Digi TransPort file system file names must be typically in 8.3 format).

3) Upload the file to the TransPort:
Connect via an FTP client to the TransPort and upload the file, then go to Configuration - Network > Interfaces > Wi-Fi > Global Wi-Fi Settings > Wi-Fi Hotspot and change the Splashscreen filename to the one of your just uploaded file, the click apply:

User-added image

4) Connect to the Digi Hotspot with a Wi-Fi client

Once the client is connected, the splashscreen will be shown:

User-added image

Now, if you click on “I Accept”, you will be redirected to the website specified in the .asp file (and not to the default web page set on the client browser), so in that example, to digi.com:
User-added image


 
Last updated: Aug 08, 2017

Recently Viewed Articles

No recently viewed articles
Contact a Digi expert and get started today! Contact Us