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
- Reload the page and submit the form again.
- If the error persists, let the site owner know; they have to fix it.
What the site owner or developer should do
- Read the Allow header and check which endpoint the form or API call actually hits.
- On static hosting, point the form at a function or API.
- 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.