All Articles
WorkflowClientsFreelance

The Right Way to Share a WordPress Draft with a Client

The Right Way to Share a WordPress Draft with a Client

In short: giving clients WordPress editor access to review a draft is a security risk, and password-protecting a post is clunky and leaves no expiration or view tracking. A cryptographically secure, time-limited preview link solves both problems — no account needed, and it expires automatically.

The Problem With Sharing WordPress Drafts

You've written a blog post, built a landing page, or assembled a product description for a client. It's in draft. Now they need to review it before you hit publish.

What do you do?

Most WordPress users fall into one of these traps:

Option 1: Create a user account for the client. Give them editor or contributor access. Walk them through logging in. Hope they don't accidentally click something they shouldn't. Revoke access after they're done (and remember to actually do it).

Option 2: Password-protect the post. Go to the post, enable password protection, publish it (making it technically live), send the client the URL and password. The client visits a confusing "Password Required" screen. You forget to remove the password before the real launch.

Option 3: Send screenshots. Self-explanatory why this is inadequate.

Option 4: Give them your own login. Please don't.

None of these are good. They're either too complicated, a security risk, or they bypass the concept of a "draft" entirely.

What You Actually Need

The ideal solution looks like this:

  1. Click a button on the draft's edit screen
  2. Get a link
  3. Paste the link into an email or Slack message
  4. Client clicks the link, sees the draft exactly as it would appear on the live site
  5. Link expires automatically after a few days

No accounts. No passwords. No access revocation to remember. No published content visible to search engines.

This is exactly what draft preview links do — and it's a solved problem.

How Erdo Draft Links Works

Erdo Draft Links adds a Share for review panel to the block editor (and a meta box in the Classic Editor). Click Create share link and the plugin creates a private URL and copies it for you. Anyone with that link can open the draft, even without a WordPress account.

On sites with pretty permalinks the link looks like this:

https://yoursite.com/review/k9mX2vQpL8nJ4rY7.../

The token is 32 random characters. The database keeps only an HMAC hash of it plus an encrypted copy (so you can copy the link again later), which means a database dump alone doesn't reveal working links. When the client opens the link, the token is swapped for a cookie straight away so it doesn't linger in the browser history, and the link opens only its own post. For why hashing matters, see how magic links use HMAC.

Link Options: Expiry, Password and Open Limit

Under Link options each link gets:

Option Choices Best for
Label Free text, e.g. "Client A" Telling several links on one post apart
Expiry 24 hours to 30 days, never, or an exact date Matching the review cycle
Password Optional, sent to the client separately Drafts with confidential content
Open limit Optional number of opens One-off reviews

You can create several links per post, each with its own options, decision and feedback. When a link expires, is turned off or runs out of opens, the visitor sees a clear page with a button to ask for a new link. The draft itself is unaffected.

What the Client Sees

The draft opens exactly as it will look when published, with a small review bar at the bottom:

  • Comments: a threaded conversation with you
  • Note on page: click any part of the page and leave a note right there; notes follow the element when the page is resized
  • Approve or Request changes: a clear decision instead of "looks fine I guess" in an email

Clients can leave an email address to hear about your replies. The review bar works on phones, with a keyboard and with screen readers, and is isolated from your theme's styles.

Reading Feedback and Approvals

Everything lands in the editor's Client feedback sidebar, where you reply in place and mark items resolved. The post shows its review status at a glance: approved, changes requested, or edited since approved if you change the post after a sign-off. The same status appears in a Review column in your Posts and Pages lists, and a Feedback inbox under the Draft Links menu collects everything across posts.

Emails go to the link's creator and the post's author on the first open, new feedback, approvals and change requests, plus a reminder a day before an unapproved link expires.

Who Can See the Link?

Anyone with the link can see the preview, but only that post and only while the link is active. Review pages:

  • Send noindex and no-store headers, so search engines and caches don't keep a copy
  • Aren't linked from anywhere on your site
  • Don't count link previews from Slack, WhatsApp, Teams or email scanners as opens
  • Skip LiteSpeed Cache, WP Rocket and WP Super Cache automatically

You can also turn links off automatically when the post is published, so there is nothing left to clean up.

Custom Post Types and WP-CLI

Choose which post types get share links on the Settings page: posts, pages, WooCommerce products and custom post types from themes or plugins (events, properties, team members). Page builders that check edit permissions to render, such as Elementor, display the draft normally.

Agencies that script their workflow can manage links from the command line:

wp erdo-draft-links generate 1234 --label="Client A" --expiry=7d
wp erdo-draft-links list --post_id=1234 --status=active
wp erdo-draft-links revoke 56

A Typical Agency Workflow

  1. Writer finishes the draft
  2. Account manager clicks Create share link, sets a 7-day expiry and pastes the link into the client's thread (Slack, email, Asana)
  3. Client opens it, pins a note on the headline ("Can this be shorter?") and clicks Request changes
  4. Writer sees the note in the Client feedback sidebar, edits the headline and replies
  5. Client gets the reply by email, reopens the same link and clicks Approve
  6. Post is published and the link turns itself off

No user accounts created, no screenshots, no "which version did you approve?" For turning this into a repeatable process, see our guide to setting up a client approval workflow.

Installation

Install from WordPress.org in the usual way: Plugins → Add New, search for "erdo draft links", install and activate.

No settings to configure before use. The preview link generator appears automatically in the sidebar of every post and page edit screen.

Download Erdo Draft Links free from WordPress.org

Frequently asked questions

Do clients need a WordPress account to view a draft?
No. The share link opens the draft in any browser, with no login and nothing to install.
How long does a share link stay active?
You choose per link: anything from 24 hours to 30 days, never, or an exact date. You can also add a password and a limit on how many times the link can be opened.
Can search engines index a draft preview page?
No. Review pages send noindex and no-store headers and aren't linked from anywhere on the site, so the draft never becomes publicly discoverable.
Can the client approve the draft from the link?
Yes. The review bar has Comments, Note on page, Approve and Request changes. You see the decision and every note in the editor, and the post is marked "edited since approved" if you change it afterwards.
What if I need to turn off a link I already shared?
Turn it off from the post's Share for review panel or the Links screen. The visitor then sees a page with a button to ask you for a new link.