Moved WordPress to new server, now can't log in
-
My client is with Godaddy hosting (sadly), and the tech support team wouldn’t help move the WordPress site from one of their servers to another (can you believe it??).
So, here’s what I did:
1. Downloaded all WordPress files locally
2. Make a backup of the MySQL database
3. Created a new MySQL database on the new server
4. Used phpMyAdmin to restore the database backup onto the new server
5. Copied all WordPress files to the new server.The installed sub-directory name was the same (/wp/), but the domain name had changed. So, I put these lines in the wp-config file:
define(‘WP_HOME’,’https://mydomain.com/wp’);
define(‘WP_SITEURL’,’https://mydomain.com/wp’);And, of course, I used my actual domain name instead of “mydomain.com”.
The site loads fine, but I am unable to log in to the administrative area. I have tried resetting my password also. I get emailed the reset link, click on it, enter a new password, and the site tells me the password was updated. All good. And I get an email at the admin email address that the account password was updated. All good.
However! When I try to log in using the account name and new password, nothing happens! The page refreshes to the login screen. There are no error messages or any other indication that I successfully logged in.
If I give the wrong password, it gives me an error.
What’s going on?
Any help would be greatly appreciated!
- The topic ‘Moved WordPress to new server, now can't log in’ is closed to new replies.