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:
Use the Export Comments button located in the Syncing tab in the plugin admin settings. This feature requires your API app credentials in the Site Configuration section before the import can be started. This will automate the export (from WordPress) and import (to Disqus) process. Note that imports can take up to 24 hours to complete.
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:
Deactivate all plugins except Disqus at your WP Dashboard > Plugins page.
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:
Import your exported WXR file.
- 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.
Did you find this article helpful?