Simple HTML Redirect Page Code

This code may be used to redirect from source domain to any target domain.

Most useful is to name it as index.html and put it to main folder to domain hosting of source domain.

 

HTML Redirect code

Filename: index.html

  • Source domain (original domain) is where is placed this file index.html
  • Redirect timer: 3 seconds
    • Timer noted in: ...content = "3; ...
  • Target domain: www.21wiki.com (Redirect to)
    • Target domain is noted in ... url=https://www.21wiki.com"

HTML Source code

<!DOCTYPE html>
<html>
<head>
	<title>Redirect</title>
	<meta http-equiv="refresh" content="3;url=https://www.21wiki.com">
</head>
<body>
	In 3 seconds you will be redirected to Bluenumbers.sk.
</body>
</html>

Usual mistakes:

  • You name the domain with wrong filename like:
    • filename Index.html instead index.html
    • filename index.txt (or else) instead of index.html
  • You make mistakes in "" characters
  • You erase one or more <> or other characters and the code won't be valid

Usefull links

  • Back to Page List Menu