Wednesday, October 18, 2006

Create 302 response after moving page

After moving a webpage to another location on your webserver, search engines try to search this page a several times. To avoid this you have to tell the robot that the location is changed, by creating a 302 response:

Response.StatusCode = 302
Response.RedirectLocation = url

Thats all, problem solved.

No comments: