WordPress.org

Ready to get started?Download WordPress

Forums

Login redirects (6 posts)

  1. Anonymous
    Unregistered
    Posted 9 years ago #

    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:
    website.com/wp-login.php
    and enter my login details I get redirected to:
    mysite.com/index.php/wp-login.php?redirect_to=%2Fwp-admin%2F
    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 :)

  2. Cypher
    Member
    Posted 9 years ago #

    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 'http://website.com' and you should be up and running again.
    Regards

  3. sheepish
    Member
    Posted 9 years ago #

    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

  4. Mark (podz)
    Support Maven
    Posted 9 years ago #

    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.

  5. sheepish
    Member
    Posted 9 years ago #

    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

  6. sheepish
    Member
    Posted 9 years ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.