Tuesday, October 04, 2005

URL Redirection

Simple way to do page redirection is
<html>
<head>
<meta http-equiv="refresh" content="5; URL=http://my_new_web_address">
</head>
</html>

But user will notice the transition page

For more complicated see a good article about this is at HOWTO: Common URL Redirection Techniques for IIS, Summary

One of ways mention in the article is to use 302 redirect response. See for example:
Working with 301 and 302 Redirects
302 Redirect

No comments: