This redirects visitors to a new URL using a 301 redirect. Using a 301 redirect is the safest way to let search engines like Google, Yahoo!, Live and Ask know your address has changed.
- response.setHeader( "Location", "http://www.domain.com/" );
- response.setHeader( "Connection", "close" );
CommentsSubscribe to comments
You need to login to post a comment.