Can't login WP BackEnd after migrating
-
I copy all the content in wordpress floder in to my new VPS, and set the new site properly, every thing works perfectly, except that when I login to the backend of WP with the administrator usename and password, it tells me that I don’t have the right to visit the page (but I already logged in, since when I return to index/home page, the admin bar is there!).
I try to find the problem, google results indicate that maybe I don’t have the correct right for the user (as we need to be admin/author role), but the fact is that, my role is administrator, which can be comfirmed by:
sqlit3 .ht.sqlite sqlite> .schema wp_usermeta sqlite> SELECT * FROM wp_usermeta WHERE user_id = 1;
it outputs something like:
10|1|wp_capabilities|a:1:{s:13:"administrator";b:1;}
which clearly asserts that the user with id=1 be administrator.
Then what’s cause of the problem? or what’s the correct way to migrate wp (in case I use sqlite integration plugin in both case)?
- The topic ‘Can't login WP BackEnd after migrating’ is closed to new replies.