Title: Share a Draft
Author: Automattic
Published: <strong>9 març 2008</strong>
Last modified: 7 octobre 2026

---

Search plugins

![](https://ps.w.org/shareadraft/assets/banner-772x250.png?rev=3733088)

![](https://ps.w.org/shareadraft/assets/icon.svg?rev=3733088)

# Share a Draft

 Per [Automattic](https://profiles.wordpress.org/automattic/)

[Download](https://downloads.wordpress.org/plugin/shareadraft.2.0.0.zip)

 * [Details](https://oci.wordpress.org/plugins/shareadraft/#description)
 * [Reviews](https://oci.wordpress.org/plugins/shareadraft/#reviews)
 *  [Installation](https://oci.wordpress.org/plugins/shareadraft/#installation)
 * [Development](https://oci.wordpress.org/plugins/shareadraft/#developers)

 [Support](https://wordpress.org/support/plugin/shareadraft/)

## Descripcion

Drafts in WordPress can only be seen by people who can edit them. When a client,
a legal reviewer, or a colleague without an account needs to read a draft before
it goes live, Share a Draft gives you a link for exactly that, and keeps you in 
control of it.

Open a draft in the block editor, choose **Generate preview link** in the Share 
a Draft panel, and send the link to your reviewer. They see the draft exactly as
it will look when published, without logging in.

Every link is:

 * **Private.** Only people with the link can open the draft. Links are kept out
   of search engines and page caches, and an unknown link is a plain « not found»,
   so nobody can go looking for drafts.
 * **Time-limited.** Choose how long the link lasts, from an hour to a week. Developers
   can [offer other lifetimes](https://github.com/Automattic/shareadraft/blob/main/docs/customizing.md#offer-different-link-lifetimes).
 * **Use-limited, if you want.** Cap how many people can open it, down to a one-
   time link.
 * **Bound to named reviewers, if you want.** List reviewers’ email addresses, and
   each one confirms theirs with a one-time code before the draft opens, so a forwarded
   link is useless to anyone else.
 * **Restricted to trusted networks, if you want.** Allow only certain IP addresses
   or ranges, such as your office network.
 * **Revocable.** Switch off any link at any moment. A reviewer who returns to an
   expired or revoked link is told why it stopped working.

Links also tidy themselves up: they are discarded when a draft is published, made
private, or trashed, and revoked when the person who created them is deleted.

Administrators get a **Preview Links** screen listing every link on the site, with
who created it, how often it has been used, and when it expires. From there they
can revoke links in bulk (for example, everything one person made, when they leave),
or pause every link at once while investigating a suspected leak, then switch them
back on. See [managing links](https://github.com/Automattic/shareadraft/blob/main/docs/managing-links.md)
for the details, including hooks for your own offboarding process.

Developers can do all of this from the shell with [WP-CLI](https://github.com/Automattic/shareadraft/blob/main/docs/wp-cli.md)(`
wp shareadraft create`, `list`, `revoke`, `prune`, `disable` and `enable`), or let
AI assistants and MCP clients do it through the WordPress [Abilities API](https://github.com/Automattic/shareadraft/blob/main/docs/abilities.md),
under the same rules and permissions as the editor. They can also [customize](https://github.com/Automattic/shareadraft/blob/main/docs/customizing.md)
how links behave, from the lifetimes on offer to what reviewers are told.

Share a Draft works on any host, with nothing to configure. On [WordPress VIP](https://wpvip.com/)
it is also available as an integration, with [hosting requirements already met and optional settings in the VIP Dashboard](https://github.com/Automattic/shareadraft/blob/main/docs/wordpress-vip.md).

### Upgrading from Share a Draft 1.x

Share a Draft 2.0 is a rewrite. Links made with 1.x keep working until they expire,
and their owners can review and delete them under **Posts  Share a Draft (Old)**,
which only appears while they have one. 1.x links cannot be extended; new links 
are made from the block editor. Support for 1.x links will be removed in 2.1.0.

None of 2.0’s controls apply to 1.x links. Pausing every link, trusted IP ranges,
viewer limits, named reviewers, the Preview Links screen, bulk revoking, WP-CLI 
and the Abilities API all cover 2.0 links only, and a 1.x link keeps working even
if its post is made private or trashed. Only the person who made a 1.x link can 
delete it, so if one leaks, ask them to delete it under **Posts  Share a Draft (
Old)**.

## Screenshots

[⌊The Share a Draft panel in the block editor's post sidebar.⌉⌊The Share a Draft
panel in the block editor's post sidebar.⌉[

The Share a Draft panel in the block editor’s post sidebar.

[⌊Generating a link: how long it lasts, how many people can open it, and optionally
who can open it and from where.⌉⌊Generating a link: how long it lasts, how many 
people can open it, and optionally who can open it and from where.⌉[

Generating a link: how long it lasts, how many people can open it, and optionally
who can open it and from where.

[⌊Managing a draft's links from the editor.⌉⌊Managing a draft's links from the editor
.⌉[

Managing a draft’s links from the editor.

[⌊The Preview Links screen, listing every link on the site, with bulk revoking and
a switch to pause every link.⌉⌊The Preview Links screen, listing every link on the
site, with bulk revoking and a switch to pause every link.⌉[

The Preview Links screen, listing every link on the site, with bulk revoking and
a switch to pause every link.

[⌊What a reviewer sees when a link has been revoked.⌉⌊What a reviewer sees when 
a link has been revoked.⌉[

What a reviewer sees when a link has been revoked.

## Installacion

 1. Install and activate Share a Draft from **Plugins  Add New Plugin**.
 2. Open a draft in the block editor, and find the **Share a Draft** panel in the post
    sidebar.
 3. Manage every link on the site under **Preview Links** in the admin menu.

There are no settings to configure. If your site sits behind a page cache, a reverse
proxy, or a host that cannot send email, check the [hosting requirements](https://github.com/Automattic/shareadraft/blob/main/docs/hosting.md)
first.

## FAQ

### Does my reviewer need a WordPress account?

No. Anyone with the link can open the draft, unless you have bound the link to named
reviewers, in which case they confirm their email address with a one-time code first.

### What does the reviewer see?

The draft, rendered by your theme exactly as it will look when published. If the
link has expired, been revoked, or been used up, they see a short notice saying 
so instead.

### Can I change a link after sharing it?

No. A link’s lifetime and limits are fixed when it is created. To change them, revoke
the link and generate a new one.

### I think a link has leaked. What should I do?

Revoke it from the editor or the Preview Links screen. If you are not sure which
link leaked, an administrator can pause every link on the site at once from the 
Preview Links screen, and switch them back on when the dust settles. Pausing doesn’t
revoke or change any link: once links are switched back on, each one works again
until its own expiry. Pausing does not cover links made with 1.x: only the person
who made one can delete it, under **Posts  Share a Draft (Old)**.

### Does it work with page caching?

Yes, as long as your page cache does not serve cached copies of preview requests.
Almost every cache already skips them. The [hosting requirements](https://github.com/Automattic/shareadraft/blob/main/docs/hosting.md)
explain what to check.

### Why do IP-restricted links fail behind my proxy or CDN?

Behind a reverse proxy, every visitor appears to come from the proxy’s address. 
A few lines of code [tell Share a Draft the visitor’s real address](https://github.com/Automattic/shareadraft/blob/main/docs/customizing.md#behind-a-reverse-proxy-tell-share-a-draft-the-visitors-real-ip-address).

### Can I turn off the reviewer email and IP restriction options?

Yes, with [a line of code each](https://github.com/Automattic/shareadraft/blob/main/docs/customizing.md#turn-off-named-reviewer-or-ip-restriction-features).
The options disappear from the editor and the Preview Links screen, and links that
already use them keep enforcing them.

### Does it work with the Export and Erase Personal Data tools?

Yes. A named reviewer’s email address shows up in Tools  Export Personal Data as
a list of the preview links it is bound to. Erasing it removes the address from 
each link, and a link left with no reviewers is revoked rather than opened to anyone.

### Where can I report a bug or contribute?

On [GitHub](https://github.com/Automattic/shareadraft). See the [contributing guide](https://github.com/Automattic/shareadraft/blob/main/CONTRIBUTING.md)
to get started.

## Reviews

![](https://secure.gravatar.com/avatar/7acffa5a695d5d5ab1bfac0027f42bfa34b442d06de09a025653f9100e6311ec?
s=60&d=retro&r=g)

### 󠀁[doesn’t work](https://wordpress.org/support/topic/doesnt-work-2733/)󠁿

 [zoegarden](https://profiles.wordpress.org/zoegarden/) 10 novembre 2021

when I use it to share w/ friends, they say it gives a 404 error

![](https://secure.gravatar.com/avatar/b70e1843a886898370c3a7a9e6f41a1a7262651aae3e191697288b499f8b73d5?
s=60&d=retro&r=g)

### 󠀁[Fantastic plugin](https://wordpress.org/support/topic/fantastic-plugin-782/)󠁿

 [franfoto](https://profiles.wordpress.org/franfoto/) 11 Agost 2017 1 reply

Easy to use and very useful.

 [ Read all 11 reviews ](https://wordpress.org/support/plugin/shareadraft/reviews/)

## Contributors & Developers

“Share a Draft” is open source software. The following people have contributed to
this plugin.

Contributors

 *   [ Automattic ](https://profiles.wordpress.org/automattic/)
 *   [ Nikolay Bachiyski ](https://profiles.wordpress.org/nbachiyski/)
 *   [ Dave Martin (lessbloat) ](https://profiles.wordpress.org/lessbloat/)
 *   [ Gary Jones ](https://profiles.wordpress.org/garyj/)

“Share a Draft” has been translated into 5 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/shareadraft/contributors)
for their contributions.

[Translate “Share a Draft” into your language.](https://translate.wordpress.org/projects/wp-plugins/shareadraft)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/shareadraft/), check
out the [SVN repository](https://plugins.svn.wordpress.org/shareadraft/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/shareadraft/) by
[RSS](https://plugins.trac.wordpress.org/log/shareadraft/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

All of the detailed changes are listed in [CHANGELOG.md](https://github.com/Automattic/shareadraft/blob/main/CHANGELOG.md).

## Mèta

 *  Version **2.0.0**
 *  Last updated **4 jorns ago**
 *  Active installations **3 000+**
 *  WordPress version ** 6.9 or higher **
 *  Tested up to **7.1.3**
 *  PHP version ** 8.2 or higher **
 *  Languages
 * [Bulgarian](https://bg.wordpress.org/plugins/shareadraft/), [Chinese (Taiwan)](https://tw.wordpress.org/plugins/shareadraft/),
   [English (US)](https://wordpress.org/plugins/shareadraft/), [Japanese](https://ja.wordpress.org/plugins/shareadraft/),
   [Portuguese (Brazil)](https://br.wordpress.org/plugins/shareadraft/) e .[Russian](https://ru.wordpress.org/plugins/shareadraft/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/shareadraft)
 * Tags
 * [draft](https://oci.wordpress.org/plugins/tags/draft/)[preview](https://oci.wordpress.org/plugins/tags/preview/)
   [review](https://oci.wordpress.org/plugins/tags/review/)[share](https://oci.wordpress.org/plugins/tags/share/)
   [sharing](https://oci.wordpress.org/plugins/tags/sharing/)
 *  [Advanced View](https://oci.wordpress.org/plugins/shareadraft/advanced/)

## Ratings

 3.7 out of 5 stars.

 *  [  5 5-star reviews     ](https://wordpress.org/support/plugin/shareadraft/reviews/?filter=5)
 *  [  3 4-star reviews     ](https://wordpress.org/support/plugin/shareadraft/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/shareadraft/reviews/?filter=3)
 *  [  1 2-star review     ](https://wordpress.org/support/plugin/shareadraft/reviews/?filter=2)
 *  [  2 1-star reviews     ](https://wordpress.org/support/plugin/shareadraft/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/shareadraft/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/shareadraft/reviews/)

## Contributors

 *   [ Automattic ](https://profiles.wordpress.org/automattic/)
 *   [ Nikolay Bachiyski ](https://profiles.wordpress.org/nbachiyski/)
 *   [ Dave Martin (lessbloat) ](https://profiles.wordpress.org/lessbloat/)
 *   [ Gary Jones ](https://profiles.wordpress.org/garyj/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/shareadraft/)