简体   繁体   English

数据库中的Wordpress用户,但不在管理员中显示

[英]Wordpress users in database but not showing in admin

I migrated a wordpress site to a new server I copied all the files and plugins etc but I had registered users that I created using Ultimate Member plugin. 我将wordpress网站迁移到新服务器,复制了所有文件和插件等,但是我注册了使用Ultimate Member插件创建的用户。 I tried to export/import this users with plugins but didnt have any success so I copied all the data from the old wordpress user table to the new one and from the old usersmeta table to the new one but the users dont show in the admin of the new wordpress site. 我尝试使用插件导出/导入此用户,但未成功,因此我将所有数据从旧的wordpress用户表复制到新的,并从旧的usermeta表复制到新的,但用户未在新的wordpress网站。

Le site c'est www.medicitus.com 网站c'est www.medicitus.com

  1. Make sure the wp_ table prefix is correct 确保wp_表前缀正确
  2. $WPUserID is just created User ID from wp_users table $ WPUserID只是从wp_users表中创建的用户ID
  3. $WPUserLogin is just created User Login from wp_users table $ WPUserLogin刚从wp_users表创建用户登录

You could use a simple plugin like all in one migration. 您可以像所有迁移一样使用一个简单的插件。 Make an export file and import in new wordpress install on your new URL 制作一个导出文件并在新URL上导入新的wordpress安装

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM