Skip to content

Instantly share code, notes, and snippets.

@unifispot
Last active February 21, 2018 08:27
Show Gist options
  • Select an option

  • Save unifispot/e5b8012a24b42b3a01cc189e5b4012b2 to your computer and use it in GitHub Desktop.

Select an option

Save unifispot/e5b8012a24b42b3a01cc189e5b4012b2 to your computer and use it in GitHub Desktop.
auto direct guest to site after login
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="1;url=http://<SITEADDRES>">
<script type="text/javascript">
window.location.href = "http://<SITEADDRES>"
</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>'>click</a>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment