Support » Fixing WordPress » Login redirects

  • Hi,
    The other night, I foolishy told wp that the location to itself was ‘index.php’ (i know!), so now every time I go to my site:
    and enter my login details I get redirected to:
    Now of couse I can’t login, as ‘index.php’ is not a directory, but how am I supposed to fix it with out being able to login?
    TIA 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • If you have access to phpMyAdmin, you can go through it to access the WP database and modify the wp_options table. You will see the field marked ‘siteurl’. You would change that to ‘’ and you should be up and running again.

    Same problem. Changed the site wp locatioin to index.php (moron!)
    I’m in phpMyAdmin but when I go to the wp_options table I see no field marked ‘siteurl’ Is their another field to look for???
    Thanks so much for taking me (us) this far

    Mark (podz)


    Support Maven

    You need to check ‘site_url’ and ‘home’ values in the table wp_options.
    In phpmydmin, click the Search tab, and enter part of your url to search for. The results should show two results in wp_options.
    Click Browse next to that.
    wp_options has a lot of info in it which is why you could have missed it.

    Okay. Got to where I needed in phpadmin and changed the siteurl (blog id) now my password is no longer accepted. I have two passwords I am sure where the old passwords which no longer work.
    I sent in for my Lost password but it has not arrived in my account. According to the database my email is correct that WP would have sent to

    Never mind. Apparently I do not know how to cut and paste properly. I’m in!
    Wow. I’m so happy to have such an awesome community of developers/followers of WP to help out so willingly and readily. Thanks Podz-your time is appreciated!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Login redirects’ is closed to new replies.