Last active
December 16, 2015 12:19
-
-
Save fedir/5433429 to your computer and use it in GitHub Desktop.
HTML redirection with both meta refresh and JavaScript ref:http://stackoverflow.com/questions/5411538/how-to-redirect-from-html-page
This file contains 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="fr-FR"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="refresh" content="0;url=http://example.com"> | |
<script type="text/javascript"> | |
window.location.href = "http://example.com" | |
</script> | |
<title>Page Redirection</title> | |
</head> | |
<body> | |
If you are not redirected automatically, follow the <a href="http://example.com">link</a> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment