Generating and Revoking Preview LinksUpdated
A preview link lets someone view a specific doc without logging in, useful for sharing a draft with a client or reviewer who doesn’t have a WordPress account.
Generating a link#
While editing any doc, find the Preview Link panel in the sidebar:
- Choose an expiry from the Expires after dropdown: 7 days, 30 days, 90 days, or Never.
- Click Generate link.
- Click Copy to copy the URL.

This works regardless of the doc’s status, drafts, pending review, private, scheduled, or even already-published docs can all get a preview link.
What the link looks like#
A preview link isn’t the doc’s normal URL with something appended, it’s your site’s homepage URL with a token attached, for example https://yoursite.com/?wpsd_preview=a1b2c3d4.... Anyone opening it sees the doc rendered as if they’d visited its real page, regardless of what URL they were actually given.
What a reviewer sees#
The doc renders normally, with an added amber banner at the top noting it’s a preview link, not publicly indexed, and showing its expiry date (or “No expiry set” if you chose Never). The page also gets a noindex, nofollow tag and “[Preview]” added to the browser tab title, so it won’t get indexed by search engines even though it’s technically viewable without login.
Regenerating a link#
Click Regenerate to create a brand new token with a fresh expiry. This immediately invalidates the old link, so if you’d already shared the previous URL, that copy stops working the moment you regenerate.
Revoking a link#
Click Revoke. You’ll get a confirmation prompt, since anyone with the old URL loses access immediately once confirmed.
What happens when a link expires#
Visiting an expired link shows a plain “Preview expired” message instead of the doc, telling the visitor to ask the author for a new one. An invalid or already-revoked token shows a similar “Preview not found” message instead.
With Claude#
With Claude connected, you can ask for a preview link instead: “Give me a 30-day preview link for the Webhooks draft.” Claude creates the link for 7, 30 or 90 days (30 if you don’t say) and gives it to you. It replaces any link the doc already had, the same as Regenerate. Ask “Revoke the preview link for the Webhooks doc” to turn it off.
Links that never expire can only be made in the Preview Link panel.
Was this helpful?
Thanks for your feedback!
✓ Feedback received. Thank you!