• I moved my WP installation to another server so the URL changed. I did change the URL after the fact through editing wp-config.php and adding

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

    I also edited Edit functions.php by adding

    update_option( 'siteurl', 'http://example.com' );
    update_option( 'home', 'http://example.com' );

    The site works, but problem is, that now when I try to login through example.com/wp-admin, the username/password combination is not being accepted. Naturally, I went into phpmyadmin to change the password for the username according to this: https://codex.ww.wp.xz.cn/Resetting_Your_Password#Through_phpMyAdmin
    And… nothing. I still get the same message of incorrect password/username even after changing it several times.

    I also tried this method: https://codex.ww.wp.xz.cn/Resetting_Your_Password#Through_FTP
    with the same no-result.

    Any ideas?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Cannot login after moving website’ is closed to new replies.