Thank for your answer.
I had an old database. I had a table with this fields: “id”, “title”, “content”, “email”, ecc…
So I converted the database.
id => ID
title => post_title
content => post_content
email => (I replaced the email address with the id) => post_author
BEFORE (example)
id = 10
title = Hello!
content = It’s ok
email = [email protected]
AFTER (example)
ID = 10
post_title = Hello!
post_content = It’s ok
post_author = 10
I created the new users with id and email addresses… So I have +5000 duplicated users with different id, but the same email addresses.
So I have a normal database with wp_users and wp_usermeta. The users has different ids, but duplicate email addresses.
I can go in Admin panel > Users > “Attribute all contents to a user” and assign the posts to a user, but I have +5000 users and I try something automatic…