
Language 🇺🇸 English
Kinsta Installation
Add Live Commenting to WordPress Sites on Kinsta
This guide covers installing FastComments on a WordPress site hosted on Kinsta, and the Kinsta features that affect the plugin: page caching, server cron, and staging environments.
Kinsta is a managed WordPress host. A WordPress site on Kinsta uses the standard WordPress comment system, which stores comments in the site's database. The FastComments WordPress plugin replaces it with the FastComments widget and syncs comments back to the database on a schedule. Plugin setup, moderation, SSO, and sync are described in the WordPress guide. This guide does not repeat them.
This tutorial requires a FastComments account. You can create an account here.
Quick Start 
- In the WordPress dashboard of the live site, go to
Plugins > Add New, search forFastComments, then install and activate the plugin. - Click
FastCommentsin the left navigation and complete the setup. Keep the page open until the comment sync finishes. - Add the site's domains, including the
kinsta.clouddomains you use, on the domain configuration page. - To sync comments back to WordPress more often than once a day, choose a shorter
Sync Intervalin the plugin'sAdvanced Settings. Kinsta runs WP-Cron every 15 minutes.
No Kinsta cache settings need to change. The full setup is described in the WordPress guide.
Install the Plugin 
Kinsta sites use the standard WordPress plugin installer. MyKinsta can update, activate, and deactivate plugins that are already installed, but new plugins are installed from WordPress.
Install from WordPress
- Log in to the WordPress dashboard of the site.
- Go to
Plugins > Add Newand search forFastComments. - Click
Install Now, thenActivate.
The plugin can also be downloaded from wordpress.org/plugins/fastcomments and uploaded with Plugins > Add New > Upload Plugin.
FastComments is not on Kinsta's list of banned and incompatible plugins, so Kinsta does not block the installation.
Run the Setup
Click FastComments in the WordPress left navigation and follow the setup steps. The setup creates or connects your FastComments account, asks whether the account is hosted in the EU, and can upload existing WordPress comments. The steps are described in the WordPress guide.
Run the setup on the live environment, which holds the site's current comments. See Staging Environments and Domains before testing on a Kinsta staging environment.
Network Requirements
All requests made by the plugin are outbound HTTPS requests from the Kinsta server to fastcomments.com, or to eu.fastcomments.com for EU accounts. The plugin's REST routes under /wp-json/fastcomments/v1/api/ are used by the plugin's admin pages and require an administrator. No inbound firewall rules or Kinsta configuration changes are needed.
Page Cache 
Kinsta caches full pages at the server level and, when Edge Caching is enabled, on Cloudflare's network. FastComments works with both caches without exclusions or cache rules.
Anonymous Visitors
The plugin outputs a <div id="fastcomments-widget"> element and a script that loads from cdn.fastcomments.com and calls FastCommentsUI. Comments are loaded in the visitor's browser, not rendered into the HTML. For visitors who are not logged in to WordPress, the widget configuration in the page identifies only the post, so the same cached page can be served to all of them. New comments appear without clearing the cache.
Logged-In Users and SSO
When SSO is enabled in the plugin, the page HTML contains the SSO payload of the logged-in WordPress user. Kinsta does not serve cached pages to logged-in users:
- Kinsta's server cache detects the WordPress logged-in cookies and bypasses the cache for those requests (Kinsta: WordPress cookies and PHP sessions).
- Edge Caching bypasses the cache wherever a user is logged in (Kinsta Docs: Edge Caching).
A user's SSO payload is therefore never stored in a cached page or served to another visitor. SSO setup is described in the WordPress guide.
Clearing the Cache
Clear the cache after installing, configuring, or removing the plugin, so that cached pages pick up the change. Cached pages expire after 24 hours by default.
- In MyKinsta, go to
Sites > sitename > Caching > Server Cachingand clickClear cache. If Edge Caching is enabled, also clear it underCaching > Edge Caching, which clears only the edge cache. - In the WordPress dashboard, click
Clear Cachesin the admin toolbar, or use theKinsta Cachepage in the left navigation. Both are provided by the Kinsta MU plugin, which Kinsta installs on its sites. - With WP-CLI over SSH, run
wp kinsta cache purge --all.
Widget customizations made in the FastComments dashboard do not require clearing the cache, because the widget loads them in the browser.
Cron and Comment Sync 
The plugin copies comments from FastComments back into the WordPress database with a WP-Cron event, fastcomments_cron_hook. The copy is kept for backups and for plugins that read WordPress comments. Comments are shown to visitors from FastComments, so the sync schedule does not affect what visitors see.
Sync Interval
Choose how often the sync runs with the Sync Interval setting on the plugin's Advanced Settings page:
- Every 24 hours (default)
- Every hour
- Every 15 minutes
- Every 5 minutes
How Kinsta Runs WP-Cron
Kinsta runs a server cron job on every site that runs WP-Cron every 15 minutes (Kinsta: How to Disable WP-Cron). WordPress also runs WP-Cron during page requests that reach WordPress, unless DISABLE_WP_CRON is set to true in wp-config.php. Pages served from Kinsta's page cache do not reach WordPress.
With the server cron, the daily, hourly, and 15 minute intervals run on schedule without further configuration. The 5 minute interval runs only as often as WP-Cron does. Kinsta support can lower the server cron interval for a site, and the minimum interval Kinsta allows for server cron jobs is 5 minutes (Kinsta Docs: Cron Jobs).
Initial Comment Upload
During setup, the plugin uploads existing WordPress comments to FastComments while the setup page is open. If the setup page is closed before the upload finishes, the upload continues through one-off WP-Cron events, so it advances each time WP-Cron runs: every 15 minutes from Kinsta's server cron, or sooner on requests that reach WordPress. Keep the setup page open until the upload completes.
Running the Sync Manually
The sync can be started at any time from the plugin dashboard with Manually Sync, as described in the WordPress guide. Over SSH, WP-CLI can run the event directly:

Staging Environments and Domains 
Kinsta Domains
FastComments only loads on domains that are listed on the domain configuration page of your account. Add each domain the site is served from:
- The site's custom domain, for example
example.com. - The temporary domain,
sitename.kinsta.cloud, if visitors or testers use it. It is listed in MyKinsta under the site'sDomainspage. - Staging environment domains, if you test FastComments on staging. Standard staging environments use
stg-sitename-environmentname.kinsta.cloudand premium staging environments useenv-sitename-environmentname.kinsta.cloud. Older staging environments may usestaging-sitename.kinsta.cloud.
Staging Environments
A Kinsta staging environment is a copy of the live site. Kinsta's full-page cache is disabled on staging by default, and server cron jobs of the live environment are not active on staging (Kinsta Docs: Staging Environments).
When a staging environment is created from a live site that already runs FastComments, the copied database includes the plugin's settings and the token that connects it to your FastComments account.
The plugin identifies the comment thread of a post by its post ID, not by domain. A post on a staging copy of the site shows the same comment thread as the post on live, and comments posted on staging appear on live. Delete test comments in the FastComments moderation dashboard.
The copied token lets the staging site run its own comment sync with the same account. Deactivate the plugin on staging when it is not being tested. Deactivating it removes the token from the staging database and stops the sync there. It does not change the live site.
Pushing Staging to Live
Kinsta can push files, the database, or both from staging to live. Pushing the database replaces the live database, and comments and other changes made on the live site since the staging environment was created are lost.
To move the FastComments plugin from staging to live, push only Files, then activate the plugin and run the FastComments setup on the live site. Running the setup on live uploads the live site's current comments.
Domain Errors 
The widget may show an authorization error like the following:
This error means the domain of the page is not in the list of domains allowed for your FastComments account.
Add the domain on the domain configuration page of your account. On Kinsta, this includes the kinsta.cloud temporary and staging domains described in Staging Environments and Domains, if the site is viewed on them.
Customization 
Styling and configuration options for the widget are described in the Customization Documentation.
Most options are set on the widget customization page of your FastComments account and apply without changes to the WordPress site. Plugin options, such as SSO and the widget type, are set in the FastComments plugin in the WordPress dashboard and are covered in the WordPress guide. After changing plugin options, clear the Kinsta cache as described in Page Cache.