HTTP status code

HTTP 405 Method Not Allowed

405 Method Not Allowed means the resource exists but doesn't accept the HTTP method used.

Reviewed: 6 November 2026
Class
4xx · Client errors
Where the problem is
Problem with the request (client)
Who fixes it
You can often fix it yourself (URL, sign-in, cookies).

What it means

The server recognises the URL but doesn't allow the method, for example a POST to a static file or a DELETE on a resource that only supports GET. The response must include an Allow header listing the permitted methods.

Most common causes

  • A form POSTs to a URL that only accepts GET.
  • Static hosting (CDN, Pages) that doesn't run server code for POST.
  • A missing or wrong route in the API router.
  • A WAF or proxy blocking PUT/DELETE methods.

What you can do as a visitor

  1. Reload the page and submit the form again.
  2. If the error persists, let the site owner know; they have to fix it.

Shows the HTTP status, redirect chain, HTTPS and basic SEO signals. Works for public addresses only.

What the site owner or developer should do

  1. Read the Allow header and check which endpoint the form or API call actually hits.
  2. On static hosting, point the form at a function or API.
  3. Return 404 for unknown URLs, not 405.

Impact on SEO and Google

405s usually come from forms and APIs that Google doesn't visit. If a public page returns 405 on GET, Google won't index it.

Frequently asked questions

What does the Allow header mean?

It lists the methods the resource supports, e.g. Allow: GET, HEAD.

Can I fix a 405 myself?

Rarely, as a visitor. The site owner or developer has to fix it.

Sources