All Collections
Import, Export, and Syncing
Importing comments from WordPress
Importing comments from WordPress
Disqus avatar
Written by Disqus
Updated over a week ago

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 Import 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 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

Did this answer your question?