405 Method Not Allowed
The requested method (GET, POST, etc.) is not allowed for the specified resource.
Use Cases
- null
How does 405 Method Not Allowed affect Search Engine Optimization (SEO)?
How does Google treat Client Error 4xx HTTP response status codes?
Google's indexing pipeline doesn't consider URLs that return a 4xx status code for indexing, and URLs that are already indexed and return a 4xx status code are removed from the index. Any content Googlebot received from URLs that return a 4xx status code is ignored.
Information from Internet Standards from IEFT
The 405 (Method Not Allowed) status code indicates that the method received in the request-line is known by the origin server but not supported by the target resource. The origin server MUST generate an Allow header field in a 405 response containing a list of the target resource's currently supported methods. A 405 response is heuristically cacheable; i.e., unless otherwise indicated by the method definition or explicit cache controls (see Section 4.2.2 of [CACHING]).
Source: 405 Method Not Allowed