Members Zone

Username

Password

Remember me
Password Reminder
No account yet? Create one

Who's Online

We have 2 guests online
Banner
 
SiteGround web hosting SiteGround web hosting
 
PlugSocket
 
AboutUS
 
Valid XHTML 1.0 Transitional
 

How to make an HTML redirect page

To create a redirect page you need to use a META REFRESH tag. There are two ways to set up the META REFRESH tag, one way allows Google to only index the page that the visitor is directed to and the other allows Google to index both pages.

Below is the the code for a complete redirect page.

HTML Snippet
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  2. <html>
  3. <head>
  4. <title>Your Page Title</title>
  5. <meta http-equiv="refresh" content="0;url=http://www.example.com">
  6. </head>
  7. <body>
  8. Optional page text here.
  9. </body>
  10. </html>
 

The number preceding the url (in this case zero) tells the browser the number of seconds to delay before redirecting to the new url. If the delay is 0, 1 or 2 seconds then Google will not index the redirect page, only the directed to page. If the delay is 3 seconds or more then Google will index both pages.

In case the redirect fails provide the visitor with a message and a link to the directed to page so they can manually follow the link.


User Comments

Please login or register to add comments

Last Updated ( May 31, 2009 at 02:17 PM )

 

Banner
your god was nailed to a cross