Secure Draft Preview Links
Secure Draft Preview Links lets you generate a cryptographically secure, unguessable link for any draft post so that people without a WordPress account can read it before it goes live. How it works Open any draft post or page in the editor. Check Enable public preview in the Publish panel (Classic E
Secure Draft Preview Links lets you generate a cryptographically secure, unguessable link for any draft post so that people without a WordPress account can read it before it goes live.
How it works
- 01Open any draft post or page in the editor.
- 02Check Enable public preview in the Publish panel (Classic Editor) or Status & Visibility panel (Block Editor).
- 03Copy the generated link and share it with anyone.
- 04The recipient can view the draft without logging in.
- 05Uncheck the box or set the expiry to Expired to revoke access immediately.
Editor features
- Works with both the Classic Editor and the Block Editor (Gutenberg).
- Checkbox to enable / disable preview — shown even on auto-draft posts (disabled with a “save first” hint).
- When a post is published the checkbox automatically disables and shows “Not available for published posts”.
- Preview URL displayed in a monospace code box — horizontally scrollable, click to select all.
- Copy button and Open preview button inline with the URL box.
- Generate new link button — invalidates the old link immediately, with a confirmation step before firing.
- Stop sharing confirmation bar — shown when unchecking the checkbox, requires explicit confirmation before removing the link.
- Expiry selector with four options: 48 hours — default, shows exact time remaining (e.g. “Expires on: Apr 29 · 14:32 (4h 12m remaining)”).
- Always available — link never expires.
- Custom time — set Days, Hours, and Minutes; live “Expires on:” display updates as you type; shows error if all fields are cleared without saving.
- Expired (disable now) — immediately invalidates the link without deleting the token.