# Migrating a production website: Doing it right the first time

**URL:** <https://meta.discourse.org/t/migrating-a-production-website-doing-it-right-the-first-time/33484>\
**Category:** Self-hosting\
**Created:** [2015 年 9 月 19 日午後 11:05 UTC](https://meta.discourse.org/t/migrating-a-production-website-doing-it-right-the-first-time/33484 "2015-09-19T23:05:26Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![michaeld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/michaeld/32/1594_2.png) [@michaeld](https://meta.discourse.org/u/michaeld)\
**Post date:** [2015 年 9 月 20 日午前 7:59 UTC](https://meta.discourse.org/t/migrating-a-production-website-doing-it-right-the-first-time/33484/6 "2015-09-20T07:59:43Z")

</div>

> [@payetteforward](#):
>
> Does the flow of information go both ways? If a user creates an account on the Discourse site (using Facebook, Twitter, or a standalone account), is that information fed back into the Wordpress users database?

No, all local logins will be disabled as soon as you enable SSO.

> [@payetteforward](#):
>
> It’s important to capture user email addresses and keep all user information in one database. Is that how SSO works? Or are there two databases, one for Discourse and one for Wordpress, and the Discourse database only reads user data from the Wordpress database to facilitate log in?

Yes, the latter.  
Actually, the Discourse database is ‘fed’ data whenever a user logs in through Wordpress.

Regarding emails during import, just disable all emails using the site setting and you will be fine.

---

_[View the full topic](https://meta.discourse.org/t/migrating-a-production-website-doing-it-right-the-first-time/33484)._
