Created
May 13, 2016 20:18
-
-
Save unifispot/2a74660de38b96642162b0290b947ed4 to your computer and use it in GitHub Desktop.
Unifi Portal Redirection Script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE HTML> | |
| <html lang="en-US"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta http-equiv="refresh" content="1;url=http://<SITEADDRES>/guest/s/<SITEID>/?ap=<unifi var="ap_mac" />&id=<unifi var="mac" />&ssid=<unifi var="ssid" />"> | |
| <script type="text/javascript"> | |
| window.location.href = "http://<SITEADDRES>/guest/s/<SITEID>?ap=<unifi var="ap_mac" />&id=<unifi var="mac" />&ssid=<unifi var="ssid" />" | |
| </script> | |
| <title>Page Redirection</title> | |
| </head> | |
| <body> | |
| <!-- Note: don't tell people to `click` the link, just tell them that it is a link. --> | |
| If you are not redirected automatically, follow the <a href='http://<SITEADDRES>/guest/s/<SITEID>/?ap=<unifi var="ap_mac" />&id=<unifi var="mac" />&ssid=<unifi var="ssid" />'>click</a> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment