After moving Wordpress, login works, but no admin access anymore

后端 未结 7 1248
一个人的身影
一个人的身影 2021-02-04 08:41

After transferring a wordpress from an old ISP to a new ISP, I have trouble with the admin access / access to the dashboard.

The transfer was done by copying all files

相关标签:
7条回答
  • 2021-02-04 09:19

    Found the perfect solution for me.

    Problem was not with the migrating of the database to the new server but, if in migration prefix is different in old as well as in new database then the issue occurs!

    My original database prefix was something like wp_71XXXXXX28_ and in the new installation, I was using wp_. Changing prefix only just solve the data part, but the log in issue still there as you have.

    So, I just simply search for the old prefix in all tables using phpmyadmin search option for wp_71XXXXXX28_ and change the records to wp_.

    Note: I found 5-6 matches in wp_user and 1 match in wp_option, yours might be different!

    0 讨论(0)
提交回复
热议问题