Is it possible to keep UIDs the same across the migration?
-
I have several custom Drupal modules that I’m porting to WordPress where the backing data uses the Drupal UID. Worse, there’s a decade worth of emails with the old user ID in links and such for users to retrieve their licenses and order information and such. Keeping UIDs the same has *really* high value for my use case. I got the Premium version hoping it’d give me some extra options in this area, but no such luck.
I see I can get the original UID from the wp_usermeta table (meta_key = ‘_fgd2wp_old_user_id’), but I can’t see any technical reason why UIDs need to change at all (assuming the migration is starting with a clean slate with no existing users), and it’s going to require a lot of code to work around it in all the ways I need to work around it. So, hoping there’s maybe a simple tweak to just skip all the mapping to new UIDs stuff and have it keep the old IDs?
- The topic ‘Is it possible to keep UIDs the same across the migration?’ is closed to new replies.