Skip to content
StaticScope
Overview
Get StaticScope

Comments on a static site

Turn comments off, move them to a hosted service or keep WordPress for discussion, and decide what happens to the comments you already have.

Features Updated 21 November 2026 6 min read

Comments are the first WordPress feature people miss. A static page preserves the existing comments but cannot accept new ones. Nothing can accept a new comment, send a notification or put anything in a moderation queue.

That is not a reason to panic. Most sites are better off without comments, and the ones that need them have three workable routes. The choice is mostly about who owns moderation and how much third-party code you will accept.

What happens to the comments you have

Existing comments are copied into the HTML like any other content. They stay visible, styled by your theme, with avatars loaded from Gravatar. Deleting a comment in WordPress and rebuilding removes it from the static site. Editing one changes the words on the next build.

The reply form is the part that goes. It posts to wp-comments-post.php, which is not a file in the static site, so StaticScope’s dead-link pass removes the form rather than leave a control that posts into nothing. In most themes the form disappears. If a plugin has replaced the form with an external action, it may survive, and then it posts to a service that is not your site.

Comment counts baked into a template are also a snapshot. A “12 comments” heading stays at 12 until the next publish, even if the thread has moved on somewhere else.

Option one: turn them off

This is the right answer for documentation, brochure sites, portfolios and most blogs that get more spam than discussion. The existing thread can stay as an archive, or go.

  1. In WordPress, open Settings → Discussion and turn off comments on new posts. That setting affects new posts, not the ones already published.
  2. Close comments on existing posts with the bulk edit action, or per post in the Discussion box.
  3. Build and publish. The forms go; the existing comments stay.
  4. If the thread should go too, delete the comments in WordPress and rebuild.

Deleting is one-way once the build is published and the WordPress database is gone. Export the comments first if there is any chance you will want them. Keeping them in WordPress costs nothing except a database row.

The static copy outlives the database. Deleting a comment in WordPress does not remove it from an already published page until you build and publish again. If the WordPress install is thrown away first, the old thread stays on the live site with no way to edit it.

If you want the comment markup gone entirely, remove the comments template from the theme or hide .comments-area in CSS. Closing comments alone usually leaves the heading and the existing list, which is what an archive should look like.

Option two: a hosted service

A hosted comment service gives you an embed script and a moderation dashboard. The static page stays static; the thread is fetched and posted by JavaScript from someone else’s server.

ServiceHow it worksTrade-off
DisqusEmbed script, hosted moderation and an importer for WordPress commentsAds and tracking on the free tier, a heavy script and cookies on every page with a thread
CommentoLightweight embed, hosted or self-hostedThe hosted option is paid and the project’s plans have changed before; self-hosting means a server and a database
IssoOpen-source comment server you run yourselfNot a static service at all: Python, SQLite, a domain and someone to patch it

Disqus is the one with a migration path from WordPress and the one most likely to be blocked by a privacy-conscious visitor. Commento and Isso are lighter and less likely to advertise at your readers, but both put operational work back on you. There are also giscus and Utterances, which store comments as GitHub Discussions or issues: fine for a developer blog, useless for readers without a GitHub account.

All of them change where moderation happens. You get their dashboard and their spam filter, not WordPress’s. Comment counts on index pages usually need a second script, and the counts are fetched after the page loads, so they are briefly blank or wrong.

Migration is the part to test on a copy. Disqus has a WordPress importer. Commento and Isso have import tools too, but none imports a static page directly. Check the current documentation and test on a copy; nested replies are where importers usually lose structure. Do not delete the WordPress comments until the import looks right.

Option three: keep WordPress for comments

You can keep the discussion in WordPress and still publish a static site. There are two ways to do it.

Keep the comment pages dynamic. Leave WordPress public and exclude the posts that need comments from the static build, or keep a separate dynamic blog and publish only the marketing pages. Comments, moderation and notifications stay native. The cost is two services to host, two certificates and two designs to maintain.

Link to the WordPress post for discussion. Publish the post statically and add a “Discuss this” link to the same post on the WordPress domain. The static page is the reading copy; the WordPress page is the thread. Simple, and it splits your SEO between two URLs unless you canonicalise carefully.

What does not work is leaving the native comment form on the static page and hoping. StaticScope removes it because its action is not in the build. You could disable the dead-link pass, but then every other dead link stays too, and the form still posts to a WordPress install that may not be public. A JavaScript form posting to a separate endpoint is possible; at that point you have built a comment service and should price the hosted option first.

Spam, moderation and privacy

A hosted service sees the commenter’s IP address and usually sets its own cookies. That belongs in your privacy policy, and in the UK or EU it may need consent before the embed loads. Disqus on a free plan also runs advertising. Those are real costs, not footnotes.

Gravatar is another third-party request. The avatar URL contains a hash of the commenter’s email address and is fetched from Automattic’s servers. It is not a cookie, but it is a request to someone else. A page full of old comments is also a page full of Gravatar requests.

Decide who watches moderation before you turn comments on. A hosted dashboard nobody opens is worse than no comments: the spam stays up and the questions go unanswered. If nobody owns it, close the comments.

Recommendation

Documentation and brochure sites: turn comments off, leave the old thread for a month, then delete it and rebuild. A publication that needs reader response: pick one hosted service, disclose it, and put the embed behind consent if your jurisdiction expects it. A community: keep WordPress dynamic, or move the discussion to a forum where moderation has a home.

Next