Kenjun

November 16, 2007

HTML Meta Redirect

Filed under: html — kenjun @ 3:20 am

To redirect to a new page

<meta http-equiv=”refresh” content=”3;url=http://www.kenjun.com/blog”>

In the content attribute, we have “3;url=http://www.kenjun.com/blog”

the number is the time, in seconds, before the page is redirected. Then, separated by a semi-colon (;) is the URL to be loaded.

Meta refresh tags usability problems

  • If the redirect happens quickly (less than 2-3 seconds), readers with older browsers can’t hit the “Back” button.
  • If the redirect happens quickly and goes to a non-existent page, your readers won’t be able to hit the “Back” button.
Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: