When a business moves its website to a new platform, customers expect to log in the next day and find everything where they left it: their profile, order history, saved addresses, subscriptions, loyalty points, downloads and preferences. If accounts are lost, passwords stop working or histories disappear, customers lose trust, support teams are overwhelmed and revenue suffers. Planning how to preserve user accounts during a website platform change is one of the most important parts of any migration involving logins. This guide explains how to migrate accounts safely and smoothly.
What You Need to Preserve in User Accounts
An account is more than a username and password. Inventory everything linked to users:
| Data | Examples |
|---|---|
| Identity | Name, email, phone, username |
| Credentials | Password hashes, social login links, two-factor settings |
| Roles and permissions | Customer, wholesale, staff, administrator |
| Profile data | Addresses, preferences, company details, tax numbers |
| Linked records | Orders, invoices, bookings, subscriptions, tickets |
| Loyalty and credits | Points, store credit, gift card balances |
| Consents | Marketing preferences, terms acceptance with dates |
| Files | Uploaded documents, certificates, downloads |
Missing any of these can break customer journeys after launch.
Step 1: Clean and Deduplicate Accounts
Migration is an opportunity to tidy data. Identify duplicate accounts with the same email, inactive accounts, test accounts and spam registrations. Decide whether to merge, migrate or archive them. Follow data protection obligations: if accounts have been inactive for years and no longer need to be kept, consider removing them rather than migrating.
Step 2: Understand Password Hashing
Passwords should never be stored in plain text, so you cannot simply copy them. Old platforms store password hashes using specific algorithms, such as bcrypt, Argon2, PBKDF2 or older methods like MD5-based schemes. Options:
- Compatible hashes: if the new platform supports the same algorithm, import hashes directly and users log in as before.
- Rehash on login: import old hashes, verify passwords against them on first login, then rehash with the new algorithm. This is invisible to users and upgrades security.
- Forced reset: if hashes cannot be used, users set a new password through a secure email link on first visit.
Rehash on login gives the best experience when the new platform allows custom authentication logic. Forced resets are simpler but require good communication.
Step 3: Migrate Social and Single Sign-On Logins
Users who log in with Google, Apple, Facebook or corporate SSO need their external identity links migrated. Ensure the same provider configuration and user identifiers are used, or plan a re-linking flow on first login.
Step 4: Preserve Linked Records
Orders, bookings and subscriptions must remain connected to the right users. Map old user IDs to new IDs and keep a mapping table. Validate that every migrated order belongs to an existing account. For subscriptions, coordinate with payment providers so stored payment methods continue to work. Our payment gateway integration team handles token migration with providers where possible.
Step 5: Migrate Roles and Permissions
Map old roles to new roles carefully, especially for B2B customers, wholesale accounts and staff. Incorrect role mapping can expose prices, data or admin functions to the wrong people. Test each role after migration.
Step 6: Keep Consents and Legal Records
Migrate marketing consents, unsubscribe status and terms acceptance with original dates. Losing consent records can create compliance problems and lead to messages being sent to people who opted out.
Step 7: Test Migrations Thoroughly
Run test migrations into staging and validate:
- Account counts match, minus intentional exclusions
- Sample users can log in with existing passwords or complete resets
- Order and booking histories appear correctly
- Loyalty balances and store credit match
- Roles grant the right access
- Social logins work
Include real-world edge cases, such as users with several addresses, very old orders or unusual characters in names.
Step 8: Communicate With Users
Tell users what to expect before and after launch:
- Advance notice of the new website and any login changes
- Clear instructions if passwords must be reset
- Reassurance that orders, points and history are preserved
- Support contact details
Avoid sending password reset emails to everyone at once from an unfamiliar address; it can look like phishing. Use your normal sending domain and clear branding.
Step 9: Prepare Support Teams
Give customer service a guide covering common login questions, how to verify identity, how to trigger resets and how to escalate account issues. Expect higher contact volumes in the first weeks.
Step 10: Monitor After Launch
Track login success and failure rates, password reset requests, account-related support tickets and errors. Address patterns quickly, such as a specific user group unable to log in.
Example: Migrating a Loyalty Programme
A beauty retailer moved 180,000 customer accounts and loyalty balances to a new platform. Old password hashes used a format the new platform did not support natively, so the team built a rehash-on-login flow. Loyalty points were migrated with a reconciliation report signed off by finance. Customers logged in as usual, and support tickets about accounts stayed close to normal levels after launch.
Common Mistakes
- Treating accounts as a simple export and import
- Forced password resets without communication
- Losing links between users and orders
- Incorrect role mapping for B2B accounts
- Not migrating consent records
Planning Timing and Cut-Over
Account migrations need careful timing because users keep registering, ordering and updating profiles until launch. Plan a final delta migration that captures accounts and changes created after the last full migration, and consider a short freeze on registration or profile edits during cut-over. If the old and new systems run in parallel, decide which one accepts new registrations and how changes sync. Schedule the switch during low-traffic hours and keep the old system available read-only for reference. After launch, compare new registrations and login volumes with normal levels to confirm everything works. Businesses with large logged-in audiences, such as education website development projects with student portals or healthcare website development projects with patient accounts, often add a beta period where selected users try the new login before everyone else. Clear website microcopy on login and reset screens reduces confusion during the first days.
Frequently Asked Questions
Will Users Have to Reset Their Passwords?
Not necessarily. With compatible hashes or rehash-on-login, many users log in normally.
Can We Migrate Saved Card Details?
Card data is usually held by payment providers as tokens. Migration depends on provider support and must follow security rules.
How Do We Handle Duplicate Accounts?
Merge them carefully based on verified email addresses, keeping all linked records.
Preserving user accounts protects customer trust through platform changes. Explore our website platform migration, review website security, learn about website backend development, see website testing and QA, check ecommerce website development, read the website redesign guide, or contact us.
