• Resolved philjones85

    (@philjones85)


    I copied my database and files from a centos 5 web server to a centos 6 web server. Now I can’t login to the new site’s wp-admin. If I type a wrong password it says so, but if I type the correct password, it redirects me to the login page. Any idea what might cause this or what I might try?

Viewing 5 replies - 1 through 5 (of 5 total)
  • You mentioned that you changed the server hosting the site – did the path of the site change in any way? If it did you’ll have to go into your DB and update 2 tables accordingly.

    If you have access to do so try checking the settings for the new server. I once migrated a site from my own server to a client’s and theirs was running an older version of PHP so it broke certain parts of the site until I changed the setting.

    Thread Starter philjones85

    (@philjones85)

    The paths are identical. Standard /var/www/html/ for both. The PHP should be newer as its the newer version of CentOS.

    Ok.

    Is it possible some of your files weren’t copied over to the new server, were corrupted, or have stricter permissions than before?

    Does the server require a higher level of security than the last (https, ssh, etc)?

    Is it in a password protected directory (shouldn’t affect it but it could).

    Thread Starter philjones85

    (@philjones85)

    rsync -avr root@old:/var/www/html/ /var/www/html
    chown -R apache.apache /var/www/html
    chmod -R 777 /var/www/html

    I’ve copied the files over multiple times. I also downloaded wordpress-latest.tar.gz and setup a fresh wordpress on the new machine. It also won’t let me login…

    Thread Starter philjones85

    (@philjones85)

    I realized this is an apache reverse proxy problem… I put a GUI vm on the internal network and the login worked fine. I’ve reposted my question with better subject and a more accurate description of the problem.

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Moved wordpress, can't login, no errors’ is closed to new replies.