Skip to content →

Migrating JComments to WordPress

I switched back to WordPress from Joomla! after I registered this new domain. After migrated all the posts to WordPress using FG Joomla to WordPress, I noticed the comments have not been transferred. After some digging I didn’t find satisfactory plugin to do that, so I wrote my own PHP script to fulfill this task. The code is also available from GitHub.


Published in Miscellaneous

13 Comments

  1. Ertan

    Hello,

    Thans for your work.

    I migrated my Joomla website to WordPress successfully.

    So everything is OK, except the Jcomments data 🙁

    I did a comprehensive research on the internet and there is only your script working.

    I run your script and have lots of data on my browser without any error warning.

    But I don’t know how should I use these data after this process.

    If you see my message and help me, I will feel very happy.

    Best regards,

  2. Ertan

    Hello,

    Thans for your work.

    I migrated my Joomla website to WordPress successfully.

    So everything is OK, except the Jcomments data 🙁

    I did a comprehensive research on the internet and there is only your script working.

    I run your script and have lots of data on my browser without any error warning.

    But I don’t know how should I use these data after this process.

    If you see my message and help me, I will feel very happy.

    Best regards,

  3. rodericlk

    Hi Daoyuan Li,

    Thanks for the code, but a total noob question. How do you run this script? It is not a script that should be run on a page obviously… but where and how to run it?

     

    Thanks,

    Roderick

  4. rodericlk

    Hi Daoyuan Li,

    Thanks for the code, but a total noob question. How do you run this script? It is not a script that should be run on a page obviously… but where and how to run it?

     

    Thanks,

    Roderick

  5. max

    Thanks for the code. But now this code is not correct. You can edit it so that it began to work correctly for the current version of WordPress?

  6. max

    Thanks for the code. But now this code is not correct. You can edit it so that it began to work correctly for the current version of WordPress?

  7. Hi F. Gilles – Thanks for providing info! Might you be able to provide any info about where to input this code into database / which file to modify in order to bring the comments over to WordPress? Thanks!!
    Stephen

  8. Hi F. Gilles – Thanks for providing info! Might you be able to provide any info about where to input this code into database / which file to modify in order to bring the comments over to WordPress? Thanks!!
    Stephen

    • Thanks for the link! I remember I tried that some time ago. But it was not totally working for me at that point. Couldn’t recall the exact issue though…

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.