Importing comments from WordPress

To bring your old comments into Disqus, they must be exported from Wordpress and imported into Disqus. There are two ways to do this:

Automatic Import

Use the Export Comments button under the Disqus plugin's Advanced Options tab. This will automate the export and import process. Note that imports can take up to 24 hours to complete.

Screenshot of automatic exporting option in Disqus for Wordpress plugin

If the Automatic Import method does not work for your site, use the Manual Import option below.

Manual Import

If the export comments function isn't working on your site, you have the alternate option of exporting your entire site from WordPress and importing manually. This can be done with the following steps:

  1. Deactivate all plugins except Disqus at your WP Dashboard > Plugins page.

  2. Export your WordPress site in WXR format at your WP Dashboard > Tools > Export.

    Note: Sometimes the WXR file cuts off prematurely, resulting in not all comments being exported. This can be caused by Wordpress not allocating enough resources. In that case, we recommend exporting your blog in date segments to keep the file size down. Click the Posts option and select a date range:

  3. Import your exported WXR file.

Troubleshoot your import file if you run into any errors. Note that imports can take up to 24 hours to complete.

Considerations

  • Make sure the files you're importing are valid XML. You can use the W3C xml validating tool to check.
  • Compressed files (e.g. .zip, .gzip) can't be read by default, so make sure you've decompressed these before uploading them.
  • The importer will filter out duplicate comments unless you've changed some of the comment data.
  • Email addresses are unique identifiers in Disqus, so make sure each unique user has their own email address before importing. Otherwise all comments will appear from the same user.
  • Imported comments can't be permanently deleted. Consider following our guidelines for development sites to make sure the data you're importing is correct. You can register a new forum if you have imported the wrong comments.
  • I'm not seeing custom avatars attached to my comments We no longer support Gravatars associated with the email address used when importing guest comments. Users can still create a Disqus account and claim their comments, which will then inherit the avatar set.

Related articles

Contact us

We welcome all questions, feedback and bug reports. If you're having an issue, we usually need the following information:

  • A brief description of the issue
  • Link to any page where you saw the issue
  • Screenshots that illustrate the problem - How do I take a screenshot?