Tuesday, February 9, 2010

meta refresh that IE can use

I'm constantly forgetting this. IE needs the "URL=" in the meta-refresh tag, else it chokes on it.

<meta http-equiv="refresh" content="0;URL=http://www.example.com" />

Also, as this Stack Overflow thread notes, IE may disable meta refresh entirely in its security settings.

For this and many other reasons, it's best to use an Apache (or whatever webserver you're using) redirect.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.