Answers.Body: <p>Migrating from Drupal/Civi to Wordpress/Civi is relatively painless.  You'll need to truncate your <code>civicrm_uf_match</code> database table, which links Civi records to CMS users, and repopulate it - <strong>Administer menu > Users and Settings > Sync Users to Contacts</strong> works well if you want ALL your Wordpress users to be linked up.</p>
  
  <p>That said, there are numerous gotchas to watch out for - I've started <strike><a href="https://hq.palantetech.coop/projects/commons/wiki/Migrating_CiviCRM_to_a_new_site" rel="nofollow">compiling a list here</a></strike>.<br>
  UPDATE: I've merged this with documentation on wiki.civicrm.org.  Please check <a href="http://wiki.civicrm.org/confluence/display/CRMDOC/Migrating+from+Drupal+to+WordPress" rel="nofollow">Moving from Drupal to Wordpress</a>.</p>
  
  <p>Since StackExchange prefers direct text to links, here's what I've got so far:</p>
  
  <ul>
  <li>PayPal IPNs needed changing. You can only change future IPNs in Paypal; you may also need to set up a 307 redirect from the old URL.</li>
  <li>URLs linking to contribution pages etc. in mailing templates, scheduled reminders etc. need to be changed.</li>
  <li>Images in mailing templates and scheduled reminders must get a new absolute URL (or a redirect).</li>
  </ul>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-08T17:34:30.217Z
Answers.Text: Thanks for the answer, Jon! Just in case anyone else is wondering about this, a warning: WP CiviCRM install will overwrite your existing database with a blank one if you connect it to your existing CiviCRM database. So make sure you have a backup copy and just connect WP to your existing database after the installation.
Answers.UserDisplayName: osarusan
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-08T20:12:35.330Z
Answers.Text: One more question: I did a fresh Civi install in WP and then switched the database over to the old Civi db that I used with Drupal. The main URL for CiviCRM is not the URL that drupal was using for Civi rather than the one for Wordpress. Do I have to manually update the URL for CiviCRM to read from?
Answers.UserDisplayName: osarusan
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-09T02:13:01.277Z
Answers.Text: @osarusan That should really be its own separate question - this info is going to be hard for future searchers to find.  Still - clear your cache, check your Resource URLs and directories, and make sure the correct base URL is set in `civicrm.settings.php`.
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-08-27T14:14:53.540Z
Answers.LastActivityDate: 2015-12-24T17:06:24.397Z
Answers.LastEditDate: 2015-12-24T17:06:24.397Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.Body: <p>I migrated a client's installation from Drupal 5 and CiviCRM 1.9. Although the original post is almost three years old at this point, it might still be useful to reply for the benefit of future searchers.</p>
  
  <p>Migrating to WordPress is not simply a matter of installing CiviCRM for WordPress and hooking up the legacy Drupal database. There are several components to be aware of before you proceed:</p>
  
  <ol>
  <li><p>Many Drupal installations include other content aside from the CiviCRM database. If this is the case with your site, you should migrate your standard Drupal content first. I have general <a href="https://anothercoffee.net/drupal-to-wordpress-migration-guide/" rel="nofollow noreferrer" title="Drupal to WordPress migration guide">Drupal to WordPress migration guide</a> for anyone who needs to do this.</p></li>
  <li><p>Most migration procedures have a way of exporting Drupal users over to the WordPress installation. While you can migrate the users in the form of usernames and other metadata, your existing users will very likely still have to reset their accounts. This is because WordPress uses a different password hashing method to Drupal. Further, different Drupal versions use different hashing methods. Other replies mention experiencing problems with users and I suspect this might have something to do with it.</p></li>
  <li><p>Finally, there's CiviCRM itself. Jon G's <a href="https://docs.civicrm.org/sysadmin/en/latest/misc/switch-cms/" rel="nofollow noreferrer" title="Switching CMS platforms">Switching CMS platforms</a> guide was useful here. We had a lot of fiddling around to correct the resource URLs and menus.</p></li>
  </ol>
  
  <p>We sort of got things working well enough but the user reset issue was a deal-breaker for the client. In the end, she decided to switch to a completely different CRM platform  which had a different set of migration issues!</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-08-10T11:54:32.593Z
Answers.LastActivityDate: 2018-08-10T11:54:32.593Z
Answers.UserDisplayName: tony897
Answers.Body: <p>You can migrate easily from Drupal 7 to WordPress with the tool <a href="https://www.fredericgilles.net/fg-drupal-to-wordpress/" rel="nofollow">FG Drupal to WordPress</a>. <a href="https://www.fredericgilles.net/fg-drupal-to-wordpress/" rel="nofollow">https://www.fredericgilles.net/fg-drupal-to-wordpress/</a>
  But about the CiviCRM data, I don't know if it will still be compatible when you move from Drupal to WordPress.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-09-19T08:42:57.020Z
Answers.LastActivityDate: 2016-09-19T08:42:57.020Z
Answers.UserDisplayName: Fred
Answers.Body: <p>I would say that generally people almost always switch to Drupal, not away to WordPress. It would be hard to imagine a reason to go the other way... Drupal offers more features and flexibility and more useful integration into CiviCRM. Make sure this is really what you want to do for the long haul before putting in all the effort to switch.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-12-14T19:19:43.540Z
Answers.Text: A big reason one might move to Wordpress is that Drupal is more work to maintain for a business whose staff are not developers, who have little experience with maintaining software and adminstering modules. As Osarusan has mentioned, over time the 'cruft' has accumulated, and now there are many modules that have overlapping functionality and varying quality
Answers.UserDisplayName: Lesley Evensen
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-04T21:53:52.493Z
Answers.Text: I think the main point here is that the OP is not asking for opinions of whether Drupal or WP is a better solution, and hence am down voting the answer.
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-03T17:23:03.333Z
Answers.Text: Drupal has been nothing but a headache for our organization. Slow, buggy, and a pain to upgrade. Not to mention constant criticial security updates that have to be manually applied every single time. The extra "features" that Drupal offers are buggy, unfinished modules that break down as often as they work. The move to WP has been a long time coming for us.
Answers.UserDisplayName: osarusan
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-01T18:38:39.160Z
Answers.LastActivityDate: 2015-09-01T18:38:39.160Z
Answers.UserDisplayName: desierto
Body: <p>I am moving my organization's website over from Drupal 7 to Wordpress, and along with that I need to connect our existing CiviCRM install with the new Wordpress install. I just have a few concerns before I start anything:</p>
  
  <p>Can I just install CiviCRM for WP and hook it up to the existing database? Is there a special procedure that I will need to go through to connect our existing database with WP? Is there any risk to the data moving over this way?</p>
  
  <p>Thanks!</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-08-04T15:51:09.040Z
Comments.Text: One thing that's missing here is the users from Drupal. Although the answer above claims you can perform this function after clearing the uf table... It fails because the import of data to a different database yields an error and it's related to switching to different server and user of the database too. It (admin/users/convert contacts to CMS) only converted 2 existing users. It didn't import 4500 more. And this is of course big deal for the migration. I'm going to try another test later with the plugin tool mentioned which says it'll import everything while changing needed references. The pa
Comments.UserDisplayName: Photo Larry
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-09-20T01:16:31.183Z
Comments.Text: This question hasn't been answered in months. I've avoided this migration because tests weren't successful. The main problem is getting the users and other Drupal info. The admin for Drupal isn't the same name as WordPress. That could be part of the answer. I'm just wondering if it's necessary to even do it. Mainly because the domain also is changing in my case which implies some added conflicts. Update: This is civicrm 4.7.22 and the WordPress site is informational not same functions. The drupal site has over 5000 users which I need. And doing the CMS build function after truncating uf-match
Comments.UserDisplayName: Photo Larry
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-09-21T19:32:19.313Z
Comments.Text: What Lesley says above is exactly why
Comments.UserDisplayName: Photo Larry
Tags: <drupal><wordpress>
Title: Moving from Drupal to Wordpress
ThreadText: # Moving from Drupal to Wordpress
  
  (Asked by: username_0 on 2015-08-27)
  
  I am moving my organization's website over from Drupal 7 to Wordpress, and along with that I need to connect our existing CiviCRM install with the new Wordpress install. I just have a few concerns before I start anything:
  
  Can I just install CiviCRM for WP and hook it up to the existing database? Is there a special procedure that I will need to go through to connect our existing database with WP? Is there any risk to the data moving over this way?
  
  Thanks!
  
  **Tags:** drupal, wordpress
  
  > **Comments:**
  > **username_1**: One thing that's missing here is the users from Drupal. Although the answer above claims you can perform this function after clearing the uf table... It fails because the import of data to a different database yields an error and it's related to switching to different server and user of the database too. It (admin/users/convert contacts to CMS) only converted 2 existing users. It didn't import 4500 more. And this is of course big deal for the migration. I'm going to try another test later with the plugin tool mentioned which says it'll import everything while changing needed references. The pa  
  > **username_1**: This question hasn't been answered in months. I've avoided this migration because tests weren't successful. The main problem is getting the users and other Drupal info. The admin for Drupal isn't the same name as WordPress. That could be part of the answer. I'm just wondering if it's necessary to even do it. Mainly because the domain also is changing in my case which implies some added conflicts. Update: This is civicrm 4.7.22 and the WordPress site is informational not same functions. The drupal site has over 5000 users which I need. And doing the CMS build function after truncating uf-match  
  > **username_1**: What username_6 says above is exactly why  
  
  ---
  
  ## 4 answers
  
  ### Answer by username_2 on 2015-08-27. Score: 10 | Accepted answer
  
  Migrating from Drupal/Civi to Wordpress/Civi is relatively painless. You'll need to truncate your `civicrm_uf_match` database table, which links Civi records to CMS users, and repopulate it - **Administer menu > Users and Settings > Sync Users to Contacts** works well if you want ALL your Wordpress users to be linked up.
  
  That said, there are numerous gotchas to watch out for - I've started [compiling a list here](https://hq.palantetech.coop/projects/commons/wiki/Migrating_CiviCRM_to_a_new_site).  
  UPDATE: I've merged this with documentation on wiki.civicrm.org. Please check [Moving from Drupal to Wordpress](http://wiki.civicrm.org/confluence/display/CRMDOC/Migrating+from+Drupal+to+WordPress).
  
  Since StackExchange prefers direct text to links, here's what I've got so far:
  
  * PayPal IPNs needed changing. You can only change future IPNs in Paypal; you may also need to set up a 307 redirect from the old URL.
  * URLs linking to contribution pages etc. in mailing templates, scheduled reminders etc. need to be changed.
  * Images in mailing templates and scheduled reminders must get a new absolute URL (or a redirect).
  
  > **Comments:**
  > **username_0**: Thanks for the answer, Jon! Just in case anyone else is wondering about this, a warning: WP CiviCRM install will overwrite your existing database with a blank one if you connect it to your existing CiviCRM database. So make sure you have a backup copy and just connect WP to your existing database after the installation.  
  > **username_0**: One more question: I did a fresh Civi install in WP and then switched the database over to the old Civi db that I used with Drupal. The main URL for CiviCRM is not the URL that drupal was using for Civi rather than the one for Wordpress. Do I have to manually update the URL for CiviCRM to read from?  
  > **username_2**: @username_0 That should really be its own separate question - this info is going to be hard for future searchers to find.  Still - clear your cache, check your Resource URLs and directories, and make sure the correct base URL is set in `civicrm.settings.php`.  
  
  ---
  
  ### Answer by username_3 on 2018-08-10. Score: 1
  
  I migrated a client's installation from Drupal 5 and CiviCRM 1.9. Although the original post is almost three years old at this point, it might still be useful to reply for the benefit of future searchers.
  
  Migrating to WordPress is not simply a matter of installing CiviCRM for WordPress and hooking up the legacy Drupal database. There are several components to be aware of before you proceed:
  
  1. Many Drupal installations include other content aside from the CiviCRM database. If this is the case with your site, you should migrate your standard Drupal content first. I have general [Drupal to WordPress migration guide](https://anothercoffee.net/drupal-to-wordpress-migration-guide/ "Drupal to WordPress migration guide") for anyone who needs to do this.
  2. Most migration procedures have a way of exporting Drupal users over to the WordPress installation. While you can migrate the users in the form of usernames and other metadata, your existing users will very likely still have to reset their accounts. This is because WordPress uses a different password hashing method to Drupal. Further, different Drupal versions use different hashing methods. Other replies mention experiencing problems with users and I suspect this might have something to do with it.
  3. Finally, there's CiviCRM itself. Jon G's [Switching CMS platforms](https://docs.civicrm.org/sysadmin/en/latest/misc/switch-cms/ "Switching CMS platforms") guide was useful here. We had a lot of fiddling around to correct the resource URLs and menus.
  
  We sort of got things working well enough but the user reset issue was a deal-breaker for the client. In the end, she decided to switch to a completely different CRM platform which had a different set of migration issues!
  
  
  ---
  
  ### Answer by username_4 on 2016-09-19. Score: 0
  
  You can migrate easily from Drupal 7 to WordPress with the tool [FG Drupal to WordPress](https://www.fredericgilles.net/fg-drupal-to-wordpress/). <https://www.fredericgilles.net/fg-drupal-to-wordpress/>
  But about the CiviCRM data, I don't know if it will still be compatible when you move from Drupal to WordPress.
  
  
  ---
  
  ### Answer by username_5 on 2015-09-01. Score: -4
  
  I would say that generally people almost always switch to Drupal, not away to WordPress. It would be hard to imagine a reason to go the other way... Drupal offers more features and flexibility and more useful integration into CiviCRM. Make sure this is really what you want to do for the long haul before putting in all the effort to switch.
  
  > **Comments:**
  > **username_0**: Drupal has been nothing but a headache for our organization. Slow, buggy, and a pain to upgrade. Not to mention constant criticial security updates that have to be manually applied every single time. The extra "features" that Drupal offers are buggy, unfinished modules that break down as often as they work. The move to WP has been a long time coming for us.  
  > **username_6**: A big reason one might move to Wordpress is that Drupal is more work to maintain for a business whose staff are not developers, who have little experience with maintaining software and adminstering modules. As username_0 has mentioned, over time the 'cruft' has accumulated, and now there are many modules that have overlapping functionality and varying quality  
  > **username_7**: I think the main point here is that the OP is not asking for opinions of whether Drupal or WP is a better solution, and hence am down voting the answer.  
  
  ---
  
  