Skip to:

Need to Export Profile Fields

  • barkins


    I need to export and import just the Profile fields from my local WordPress installation to my live website.

    Is there a way to do this? I see there are ways to export and import the field data, but I just need the fields themselves. Thanks

Viewing 1 replies (of 1 total)

  • Boone Gorges


    Hi @barkins – BP doesn’t have a built-in tool for this (though it should – see, If you know that user IDs will remain the same between the local WP install and the live install, then you can do a simple database export/import, something like:

    $ mysqldump -u db_user -p db_name wp_bp_xprofile_groups wp_bp_xprofile_fields wp_bp_xprofile_data > ~/xprofile-export.sql

    $ mysql -u db_user -p db_name < ~/xprofile-export.sql

    If the user names will not be the same, you’ll need to write a script to handle this, but the details will depend on how you plan to identify users (email address, etc).

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar