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, .gz) 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.

Related articles

Ask the Community Contact us

Post a public question in one of our community channels to get help from other Disqus users. Also, be sure to search our Knowledge Base first, your answer might be just a click away!

Discuss Disqus –– Great for getting quick help, sharing feedback, and discussing issues with the community and Disqus help team.

Q&A –– Great for asking very specific questions about how Disqus works