Skip to content

Publish to WordPress and Next.js from one editor: setup, what maps where and what to watch

How to publish to WordPress and Next.js from one editor: connecting each site, how fields map, scheduling both, and the slug, SEO and cache issues to watch.

Content marketer and developer reviewing a blog draft on a laptop and a second monitor in a small office
In this article

If you run a WordPress marketing blog and a Next.js app or docs site, you can publish to WordPress and Next.js from one editor by connecting WordPress through its REST API with an Application Password, and the Next.js site through a connector that writes posts into the site's own database. You write the post once, then choose per site whether it goes live, stays a draft or waits for a scheduled time. The setup takes an afternoon, mostly on the Next.js side.

This guide covers both connections, how a post maps to each platform, scheduling across the two, and the differences that catch teams out.

Why teams end up with both

The usual story: marketing started on WordPress years ago, then the product team built a Next.js site for the app, docs or a changelog. Now some posts belong on one, some on the other, and a launch post belongs on both.

You have three real options.

Option How it works Good for Cost to you
Two editors Write in wp-admin, then paste into whatever the Next.js site uses A post or two a month Copy errors, two logins, formatting drift
Headless WordPress Next.js reads posts from the WordPress REST or GraphQL API Teams happy to make WordPress the single source Next.js depends on WordPress being up, plus a build change
One editor, two targets An editor publishes to WordPress and writes into the Next.js site's own database Keeping both sites independent A connector install on the Next.js side

Headless WordPress is a fair choice if you want WordPress to own everything. The third option suits teams who want the Next.js site to keep its own data and not call WordPress at runtime.

Connecting the WordPress side

WordPress 5.6 and later has Application Passwords built in, so there's no plugin to install.

  1. Log in as the user posts should appear under. It needs the Editor or Administrator role.
  2. Go to Users → Profile and scroll to Application Passwords.
  3. Enter a name such as Quillfleet and click Add New Application Password.
  4. Copy the 24-character password straight away. WordPress shows it once.
  5. In Quillfleet, open Sites, choose WordPress (no install), and enter the site URL, the WordPress username (the login name, not the display name) and the password.
  6. Click Connect WordPress. You should see "Connected to WordPress. Posts can be published to it now."

The two failures we see most are a host stripping the Authorization header ("WordPress ignored the login.") and a firewall or CDN blocking /wp-json/. Our guide to WordPress application passwords covers both, and the WordPress setup guide lists every message with its fix.

Connecting the Next.js side

The Next.js side needs a developer once. The site must run Next.js 13.4 or later on the App Router, at a public https:// address.

  1. In Quillfleet, go to Sites → Add site → Next.js site and enter the site's address.
  2. Install the connector: npm install @quillfleet/connector-next, or add it from the .zip on the site's page.
  3. Follow the steps on the site's page. The full setup guide there covers images, previews and automatic page updates.
  4. Deploy, then click Test connection. Publishing is ready when it shows Connection OK.

The connector writes posts into the database your site already uses, Postgres, MySQL, SQLite or MongoDB, so your pages keep reading from the same place. Requests from Quillfleet are signed with the site's own secret and expire after five minutes.

If a marketer is doing the setup, invite the developer as an admin so they can open the site's page. The Next.js connector guide has the details, and our earlier post on a Next.js blog without a headless CMS explains the approach.

How a post maps to each platform

You write one post with a title, slug, Markdown body, excerpt, cover image, categories, tags and SEO fields. Each platform takes what it supports.

Field WordPress Next.js site
Title, slug, body Sent as a post, body as HTML Written to your database
Status Published or Draft Published or Draft
Excerpt Sent; falls back to the SEO description if empty Written to your database
Categories and tags Matched by name, created if missing Written to your database
Cover image and alt text Uploaded once as the featured image Handled as set up in the connector
SEO title and description Not sent (no Yoast or Rank Math fields) Available to your page templates
Scheduling Held in Quillfleet, never shows as "Scheduled" in WordPress Held in Quillfleet

The body text is the same on both sites. You can change categories per site with Customize categories for this site, but not the wording.

Publishing and scheduling to both

Everything happens in the Publish panel in the editor's sidebar.

  1. Open Sites and tick both the WordPress site and the Next.js site.
  2. Set each row to Published or Draft. A common pattern is Published on WordPress and Draft on Next.js until the product team checks it.
  3. To schedule, turn on Schedule for later (all sites) and set Publish on. The field uses your local time zone.
  4. Use Different time for this site if the Next.js post should go out later, for example after the feature ships.
  5. Click the save button. Its label tells you what will happen, such as Schedule on 2 sites or Save & sync 2 sites.

Each row then shows a status chip: Live, Draft, Scheduled, Retrying or Failed. Temporary failures are retried automatically, up to eight attempts, and anything stuck appears under Needs attention on the Dashboard. The publishing and scheduling guide has the full list.

Editing a live post later is one save: the button reads Save & update, and both sites get the change.

What catches people out

SEO fields on WordPress. The SEO title and description don't reach Yoast or Rank Math. If WordPress SEO plugins drive your titles, set them in WordPress for now, or rely on the plugin's defaults from the post title and excerpt.

Edits in wp-admin are overwritten. Once a post is managed from the editor, the next save replaces what's in WordPress. Agree that changes happen in one place.

Slug conflicts. If WordPress already has a post at the same slug that Quillfleet didn't create, publishing stops with slug_conflict and leaves the existing post alone. Change the slug, or rename the old post, then click Retry.

Stale pages on Next.js. If your blog pages are statically generated or cached, a new post sits in the database but the page may not update until it's revalidated. Set up automatic updates as described in the connector's setup guide, and read the Next.js docs on revalidatePath if your developer handles caching themselves.

Redirecting addresses. Use the final address each site serves, with https:// and the right www. Redirects aren't followed, and a redirecting address fails without retries.

Duplicate content. Publishing the same post on two domains you own can split search signals. Pick which site owns the post. Our post on duplicate content across multiple domains explains the options.

When one editor isn't the right answer

If only one person writes and posts go to one site at a time, two separate editors are fine. If you want WordPress to be the single store of every post, headless WordPress is a cleaner fit. And if your Next.js site runs on the Pages Router, or you need a different body text on each site, this setup won't do what you want today.

Frequently asked questions

Do I need a WordPress plugin?

No. WordPress 5.6 and later supports Application Passwords through its REST API, so you create a password in your profile and connect. You need a user with the Editor or Administrator role.

Does my Next.js site need a schema change?

The connector writes posts into the database the site already uses. Your developer follows the setup guide on the site's page, which covers how posts are stored for your setup.

Can a post be live on WordPress and a draft on Next.js?

Yes. Each site has its own Draft or Published choice in the Publish panel, and each can have its own scheduled time.

What happens if one site is down when I publish?

The other site still gets the post. The site that failed is retried automatically, and if it keeps failing it shows as Failed under Needs attention.

Try it with both platforms on the demo site, or start on the Free plan and connect your WordPress and Next.js sites.

Write it once. Let the fleet carry it.

Try Quillfleet free for 30 days on up to 5 sites and publish your next post to all of them at once. No credit card, no plugin, no migration.