- Joined
- Jun 14, 2004
- Posts
- 11,071
- Reaction score
- 951
Ever wondered how to make an html redirect page?
Here is the HTML Code:
HTML Code Description:
<meta http-equiv="REFRESH" content="0;url=http://www.yourdomain.co.uk"> is the part that actually does the redirecting.
The number preceding the url (in this case zero) tells the browser the number of seconds to wait before redirecting to the new destination URL.
You could set this to 5 and add some optional text to your page - something like: "Please wait while we redirect you to our new site" but you may as well set it to zero and move your visitor to the new site as quickly as possible.
That's it!
Just copy the code, save it (i.e. save as index.html) and your html redirect will work perfectly.
Admin
Here is the HTML Code:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Your Page Title</title>
<meta http-equiv="REFRESH" content="0;url=http://www.[I]yourdomain[/I].co.uk"></HEAD>
<BODY>
Optional page text here.
</BODY>
</HTML>
HTML Code Description:
<meta http-equiv="REFRESH" content="0;url=http://www.yourdomain.co.uk"> is the part that actually does the redirecting.
The number preceding the url (in this case zero) tells the browser the number of seconds to wait before redirecting to the new destination URL.
You could set this to 5 and add some optional text to your page - something like: "Please wait while we redirect you to our new site" but you may as well set it to zero and move your visitor to the new site as quickly as possible.
That's it!
Just copy the code, save it (i.e. save as index.html) and your html redirect will work perfectly.
Admin