Support » Installing WordPress » 405 error during login after install

  • Resolved speedy212


    I just downloaded and installed the 2.6 version of WordPress. Got past the step where it creates all the tables and you are supposed to log in for the first time.

    The problem for me was that the siteurl and home entries in the wp_options table had been incorrectly setup, in my case it was “http://myhost:81?step=2”, how this happened during the config process I’m not quite sure.. but it resulted in the login page wanting to post to a url like “http://myhost:81?step=2/wp-login.php”.. which doesn’t play nice with IIS trigging a 405 error.

    The page you are looking for cannot be displayed because an invalid method (HTTP verb) was used to attempt access.
    HTTP Error 405 – The HTTP verb used to access this page is not allowed.

    I searched around a bit and didn’t find the solution, so i’m adding this in hopes it will help out the next person.

    Ended up just editing the values back to something acceptable directly in MySQL Administrator and it fixed the issue right away.

Viewing 4 replies - 1 through 4 (of 4 total)
  • superheroine


    Hi! That is EXACTLY where I’m stuck right now and I also tried researching solutions around this, but couldn’t find any. I realized that you did find a solution by tweaking with the values. I was wondering if you could help me out because I would love to get the same issue resolved.

    I’m still fairly new to MySQL and PHP so please bear with my obvious questions. Does editing the values mean you recreated the database and placed in a different username and password? I’ve tried doing that as well, but it never worked. I’v also tried uninstalling and reinstalling wordpress x37972349832 times, but to no advil. And what do you mean by replacing the values that are acceptable to My SQL?


    I am having the same problem? I am new to MySQL? What do I have to do to make this work. Thank you!!!

    Can anyone help me with this issue? Because I cant find any documentation anywhere… Thank you!!

    Got this too – figured out for me the wordpress directory wasn’t in the root of my site so i had to change the URL to http://myhost/wordpress?step=2/wp-login.php

    Very sweet to see Hello World!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘405 error during login after install’ is closed to new replies.