Tuesday 13 January 2009

301 Moved Permanently

Use the 301 status code when:
  1. You know the the URI requested is never going to be available again
  2. You know where the replacement URI can be found
Example response message:

301 Moved Permanently
Location: http://example.com/new-location
Cache-Control: public
Expires: {Now + 1 year}

No comments:

Post a Comment

Followers

Contributors