Migrate between Joomla! and WordPress

Learn how to migrate AcyMailing from Joomla! to WordPress

To migrate AcyMailing data from Joomla! to WordPress, you first have to make sure the latest version of AcyMailing is installed on the Joomla! website, and that it is the same edition (Starter / Essential / Enterprise) you will use on WordPress. Note that you won't be able to migrate correctly the attachments added to your newsletters as the structure isn't the same.

  1. Move the AcyMailing tables from the Joomla database to the WordPress one, and don't forget to replace the database prefix in the table names

  2. Install AcyMailing on the WordPress website if not already done then activate it

  3. Replace all the content of the folder WPsite/ wp-content/ plugins/ acymailing/ media/ by the one in Joomlasite/ media/ com_acym/

  4. Execute the following queries, and for each one of them don't forget to replace "wp1_" by the real prefix of your database tables:

UPDATE `wp1_acym_mail` SET `body` = REPLACE(`body`, 'media/com_acym', 'wp-content/plugins/acymailing/media');
UPDATE `wp1_acym_configuration` SET `value` = REPLACE(`value`, 'media/com_acym/images/', 'wp-content/plugins/acymailing/media/images/');
UPDATE `wp1_acym_configuration` SET `value` = REPLACE(`value`, 'media/com_acym/', 'wp-content/uploads/acymailing/');
UPDATE `wp1_acym_user` SET `cms_id` = 0;

If you also changed the domain of your site, you will need to run this query:

UPDATE `wp1_acym_configuration` SET `value` = REPLACE(`value`, 'https://www.myolddomain.com', 'https://www.mynewdomain.com');

Of course, don't forget to replace "wp1_" by the real prefix, "https://www.myolddomain.com" by your old domain and "https://www.mynewdomain.com" by your new domain.

  1. In the "Security" tab of the configuration, advanced part, click the "Check database integrity" button.

In both cases, and only if you own a paid version of AcyMailing, you'll need to:

  1. Click the "Unlink my license" button in the License tab of the old website

  2. Attach the license in the new website then activate the "Automated tasks" option

Last updated