WordPress.org

Ready to get started?Download WordPress

Forums

has password, cannot get to admin page (7 posts)

  1. emocwoh
    Member
    Posted 1 year ago #

    My site, tworiverspress.com, has been up and running just fine. I made some changes today (basically trying to change the url from tworiverspress/wp to tworiverspress). As a result, I can no longer log in. My password is correct and accepted. However, when I log in from:

    http://tworiverspress.com/wp/wp-login.php,

    I'm redirected to:

    http://tworiverspress.com/wp/wp-login.php?redirect_to=http%3A%2F%2Ftworiverspress.com%2Fwp%2Fwp-admin%2F&reauth=1

    which just asks me for username/password again. Something wrong with the redirection?

  2. theotherlebowski
    Member
    Posted 1 year ago #

    where did you tweak the URL at your domain registrar or in the wordpress settings?

  3. Timothy
    Member
    Posted 1 year ago #

    Hi emocwoh,

    I've made this error, many times!
    Sounds to me like you forgot to change the site URL before you moved the files in the directory for future reference. You can easily sort this now.
    Various methods are here: http://codex.wordpress.org/Changing_The_Site_URL
    In my opinion the easiest method is 1.3 - The relocate (http://codex.wordpress.org/Changing_The_Site_URL#Relocate_method)

    Hope this helps!

  4. emocwoh
    Member
    Posted 1 year ago #

    I've been using a meta redirect in /index.html:

    <html><meta http-equiv="refresh" content="0;url=wp"></html>

    Removing /index.html doesn't solve my problem.

    In wp-config.php, I now have:

    define('WP_HOME','http://tworiverspress.com/wp');
    define('WP_SITEURL','http://tworiverspress.com/wp');

    Unless these are present, it seems style sheets etc. are not loaded.

  5. Timothy
    Member
    Posted 1 year ago #

    @emocwoh Is the site based at /wp or at the home domain itself?

  6. emocwoh
    Member
    Posted 1 year ago #

    Thanks, Timothy, that got me in!

  7. Timothy
    Member
    Posted 1 year ago #

    @emocwoh No problem, glad to be of assistance! Don't forget to mark the post as resolved!

    Good luck with your website and future work!

    Best Wishes,
    Timothy

Topic Closed

This topic has been closed to new replies.

About this Topic