Skip to content
4xx · Client Error

405 Method Not Allowed

The HTTP method used is not supported for the requested resource.

What it means

HTTP 405 Method Not Allowed means the resource exists but does not accept the method used. For example, sending a POST to a URL that only accepts GET. The response should include an Allow header listing the permitted methods.

When it happens

It happens when a form posts to a GET-only endpoint, an API is called with the wrong verb, or a misconfigured server blocks methods like HEAD or OPTIONS that crawlers use.

How to fix it

  • Use the correct HTTP method for the endpoint (check the Allow header).
  • Fix the form action or API client to send the expected verb.
  • Ensure the server permits GET and HEAD on pages, since crawlers rely on them.

SEO impact

Negative if it blocks GET or HEAD on real pages. Crawlers use GET and HEAD; if those return 405, pages cannot be indexed. Make sure indexable URLs answer GET and HEAD correctly.

Check it with Sitewell

Find out which of your URLs return 405

Paste a list of URLs and Sitewell checks the status code of every one at once — free and without signup.

Related codes

Related guides