HTTP Status Codes

HTTP 301 Moved Permanently

By Error Admin in 3xx Redirection Error Code, HTTP Status Codes

The HTTP 301 Moved Permanently status code means that the user requested location has been moved permanently to a new location. Further requests to the URL ought to be redirected to the new or enclosed URL. The 301 Status Code tells the client to use the new URL next time it wants to fetch the location.

HTTP 301 Moved Permanently

HTTP 301 Moved Permanently

If the 301 Status Code is received in response to a request other than the type GET or HEAD, then the client must ask the user before redirecting. For historical reasons, the user agent may change the request method from POST to GET for consecutive requests.

Fix 301 Error Code

The following methods may help you in fixing 301 Error Code

  • Clients with link editing capabilities should automatically re-link references to the assigned request URL to the new references sent by the server.
  • The server should generate a location header field in response to the request URL to the newly assigned URL. The user may use the Location field value for automatic redirection.
  • The server response always contains a hypertext note with the link to the new URL.
  • With the 301 response, if the server doesn’t return any alternative URL then the web server itself comprises some defects. Try contacting the webmaster of the site.

HTTP 301 Code References

The HTTP 301 Moved Permanently code references are listed below.

  • Rails HTTP Status Symbol :moved_permanently
  • Go HTTP Status Constant http.StatusMovedPermanently
  • Symfony HTTP Status Constant Response::HTTP_MOVED_PERMANENTLY
  • Python2 HTTP Status Constant httplib.MOVED_PERMANENTLY
  • Python3+ HTTP Status Constant http.client.MOVED_PERMANENTLY
  • Python3.5+ HTTP Status Constant http.HTTPStatus.MOVED_PERMANENTLY

Know more about HTTP 301 Response Code from HTTP Status Codes.

Other HTTP Status Codes

HTTP Verbs

HTTP Methods

1xx Informational

100 Continue

101 Switching Protocol

102 Processing

2xx Success

200 OK

201 Created

202 Accepted

203 Non-Authoritative Information

204 No Content

205 Reset Content

206 Partial Content

207 Multi-Status (WebDAV; RFC 4918)

208 Already Reported (WebDAV; RFC 5842)

226 IM Used (RFC 3229)

3xx Redirection

300 Multiple Choice

301 Moved Permanently

302 Found

303 See Other

304 Not Modified

305 Use Proxy

306 Unused

307 Temporary Redirect

308 Temporary Redirect

4xx Client Error

400 Bad Request

401 Unauthorized

402 Payment Required

403 Forbidden

404 Not Found

405 Method Not Allowed

406 Not Acceptable

407 Proxy Authentication Required

408 Request Timeout

409 Conflict

410 Gone

411 Length Required

412 Precondition Failed

413 Payload Too Large

414 URI Too Long

415 Unsupported Media Type

416 Requested Range Not Satisfiable

417 Expectation Failed

418 I’m a teapot (RFC 2324)

421 Misdirected Request

422 Unprocessable Entity (WebDAV; RFC 4918)

423 Locked (WebDAV; RFC 4918)

424 Failed Dependency (WebDAV; RFC 4918)

426 Upgrade Required

428 Precondition Required

429 Too Many Requests

431 Request Header Fields Too Large

451 Unavailable For Legal Reasons

5xx Server Error

500 Internal Server Error

502 Bad Gateway

503 Service Unavailable

504 Gateway Timeout

505 HTTP Version Not Supported

506 Variant Also Negotiates

507 Variant Also Negotiates

508 Loop Detected (WebDAV; RFC 5842)

510 Not Extended (RFC 2774)

511 Network Authentication Required

Unofficial Error Code List

103 Checkpoint

420 Method Failure (Spring Framework)

420 Enhance Your Calm (Twitter)

450 Blocked by Windows Parental Controls (Microsoft)

498 Invalid Token (Esri)

499 Token Required (Esri)

499 Request forbidden by antivirus

509 Bandwidth Limit Exceeded (Apache Web Server/cPanel)

530 Site is frozen

Internet Information Services Error Code List

449 Retry With

451 Redirect

444 No Response

Nginx Error Code List

495 SSL Certificate Error

496 SSL Certificate Required

497 HTTP Request Sent to HTTPS Port

499 Client Closed Request

CloudFlare Error Code List

520 Unknown Error

521 Web Server Is Down

522 Connection Timed Out

523 Origin Is Unreachable

524 A Timeout Occurred

525 SSL Handshake Failed

526 Invalid SSL Certificate

Post a Reply

Your email address will not be published. Required fields are marked *