Disfora
Docs menu

How to migrate from Commento and keep your comments

Export your comments from Commento, import them into Disfora with their replies, names and dates, then swap the embed code. It works for self-hosted Commento, for Commento++, and for a file you saved from commento.io before it went offline.

Before you start

  • A Commento export, or admin access to your Commento dashboard to make one.
  • A Disfora account. The free plan covers one site and includes the import.
  • Access to your site's template or theme, to swap the embed code at the end.

Step 1 Export your comments from Commento

Sign in to your Commento dashboard and pick your site from the list. Open General, then the Export Data tab, and click Initiate Data Export. Commento builds the file and emails you a download link, which works for seven days. Commento++ has the same button.

The file has a name like yoursite.com-1764000000.json.gz. Don't unzip it: Disfora reads it as it is.

No email? Commento sends the link by email, so the export only works if your server's email settings (the COMMENTO_SMTP_ ones) are filled in.

Were you on commento.io? The hosted service went offline in December 2025, so you can't make a new export. If you exported before then, use the file you saved. The emailed link only lasted seven days.

Step 2 Add your site to Disfora

Create a free account, start a project for your site and add its domain, like yoursite.com. Disfora treats the www and non-www addresses as the same site.

Before the widget goes live, you'll verify the domain with a DNS record, a file or a meta tag. You can upload the export before that.

Step 3 Upload the export

In your project, open Settings and find Import comments. Choose the file and click Upload and import. Disfora can tell it's a Commento export, and shows an error straight away if it isn't one.

The import starts within five minutes, and you can cancel it until it starts. You can close the page; Disfora emails you when it's finished. Files up to 100 MB work, which covers almost any Commento export. If yours is bigger, get in touch and we'll import it for you.

Step 4 Check the import

When it's finished, the Import comments card in your settings shows:

  • Comments imported, and how many of them are replies.
  • Pages that now have comments, and how many of them were new to Disfora.
  • Authors, shown by name.
  • Waiting for review: comments that were unapproved in Commento, now in your moderation queue.
  • Deleted comments, ones Commento held as spam, comments imported before, and comments on other sites that were skipped.
  • The five pages with the most comments.

Imported comments don't send notifications or trigger webhooks. Click View comments to read them in your dashboard.

Step 5 Replace the Commento embed

Find the Commento code in the template that renders your pages. It looks like this:

<script defer src="https://cdn.commento.io/js/commento.js"></script>
<div id="commento"></div>

On self-hosted Commento, the script comes from your own server instead, like https://commento.yoursite.com/js/commento.js. Delete both lines and add Disfora where the comments should go:

<script src="https://disfora.com/public/disfora.js" async></script>
<div data-disfora-comments></div>

Each comment lands on the page Commento recorded it on, by its address. Disfora treats these as the same address: http and https, with or without www, with or without a trailing slash. There are step-by-step guides for Hugo, Jekyll, Ghost, WordPress and other platforms.

Step 6 Catch comments posted in the meantime

If your Commento server is still running, readers may have commented between your export and the switch. Once Disfora is live, export again and upload the new file. Only comments that aren't in Disfora yet are added, and replies to comments you imported earlier still land in the right thread.

Keep the last export file as a backup. You can then shut down your Commento server.

What comes across

In your Commento export In Disfora
Comments and replies Imported, threaded as they were
Commenter names Shown on each comment, without a profile link
Anonymous comments Shown as Anonymous
Dates Kept
Markdown Kept as it was
Unapproved comments Sent to your moderation queue
Comments held as spam Left out
Deleted comments Kept as [deleted], so the replies under them keep their place
Page titles Not in Commento's export
Votes, commenter accounts, emails and photos Not imported

If comments are missing

"None of these comments are on yoursite.com"

The site was set up in Commento under a different domain from the one in your project, such as an old domain. The message names the domains it found. Upload the file to the project for that site, or add the domain to this one.

A page shows no comments after the switch

Commento files each comment under the page's path, like /blog/my-post/. If the page's address has changed since, or you set data-page-id on Commento's script, the comments are filed under a path your site no longer uses.

To fix it, click Delete imported comments in your settings. Unzip the export, change the "url" of those comments to the page's current path, and upload the edited .json file. It doesn't need zipping again.

Questions

commento.io went offline before I exported. Can I get my comments back?

Most likely not. The export file is the only copy Disfora can read, and Commento loaded comments with JavaScript, so archived copies of your pages don't include them. If you run Commento on your own server, it wasn't affected: export from its dashboard.

Do my readers' old accounts come across?

No. Each old comment shows the name its author used, without a profile link. To reply or vote, readers sign in to Disfora with Google or an email code, or comment as guests if you turn guest comments on.

How long does the import take?

It starts within five minutes of the upload. Most exports import in seconds; very large ones take a few minutes. Disfora emails you when it's done.

Will my readers get notified about old comments?

No. Imported comments don't send notifications or emails, and they don't trigger your webhooks.

Can I undo the import?

Yes. Delete imported comments in your project settings takes out every imported comment, along with the pages the import added. Comments readers have posted on Disfora since are kept, and an imported comment someone has replied to stays as [deleted] so the reply keeps its place.

Comparing the two first? See Disfora and Commento compared.

Ask a question

Something missing or unclear? Ask here and we'll answer in the thread.

Updated November 2026