wordpress-logo-square-256x256In one of the domain transfers I did for a blog the Disqus migration didn’t go very well resulting in thousands of duplicate comments. To delete these duplicate comments I created a PHP file in the main wordpress directory with the following code:

 

It took care of all the problems. Be sure to backup your database before giving this a go, I can’t guarantee this would work for you.

Leave a Reply

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

Set your Twitter account name in your settings to use the TwitterBar Section.