[SOLVED][Drupal Errors] "Method POST is not allowed for the URL /index.htm" error (Error 405)

| | 1 min read

Many Drupal users have encountered the following error in their Drupal sites. "Method POST is not allowed for the URL /index.htm" error (Error 405). If you are encountering the same error in your Drupal site then read on to find out more.

Here is the fix

  • This bug occurs because there is an index.html file and an index.php file in your Drupal directory.
  • Proceed to either remove the index.html file or
  • Configure your web server to accept index.php before index.html
  • This is also applicable to any other html file in your Drupal directory.

Hope that helps.

The easiest way to solve a Drupal issue is to hand it to the Drupal experts. We can provide a wide range of Drupal services to help you maintain and manage your Drupal websites. Get in touch with us to know more.