Skip to main content
Login Join
PreviewShare
Active 2 days ago

PreviewShare

PreviewShare lets you securely share preview links for draft, pending, or scheduled content without publishing it publicly.

All projects

mehul0810/previewshare

Active 2 days ago Mehul Gohil Maintained by Mehul Gohil
Verified owner Beta testers
2Stars 0Forks 5Open issues 7Open PRs
PHP Language NOASSERTION License

What this project needs

This project is looking for help with beta testers.

Log in to help

Folks helping out

About this project

PreviewShare is a secure public preview plugin for WordPress. It helps editors share draft posts, pending pages, scheduled content, private posts, and other enabled public post types through controlled preview links without publishing early or creating temporary reviewer accounts.

Use PreviewShare when a client, legal reviewer, teammate, editor, or stakeholder needs to review WordPress content before it goes live. Each preview URL uses a random token, can expire automatically, can be revoked, and is designed for private review workflows such as client approval, content approval, editorial review, and scheduled campaign checks.

PreviewShare stores token hashes instead of plain-text tokens, adds noindex/nofollow robots directives to shared previews, and shows a clear preview banner on private preview pages.

Common use cases

  • Share a WordPress draft post with a client before publishing.
  • Send a private preview link for a pending page, scheduled campaign, or unpublished landing page.
  • Let stakeholders review content without giving them a WordPress login.
  • Create separate labeled preview links for legal review, client review, editorial review, or team approval.
  • Revoke access after feedback is complete or when a preview link should no longer work.
  • Keep search engines from indexing private preview URLs with robots directives.

Key features

  • Generate secure public preview links from the block editor, Classic Editor, post list table, or Preview dropdown.
  • Share pretty URLs such as https://example.com/preview/exampletoken.
  • Set a default expiration time for preview links from the PreviewShare settings screen.
  • Override the expiration time per post or page.
  • Create multiple labeled preview links for different reviewers.
  • Revoke preview access when a link should stop working.
  • View and manage preview link status, expiry, labels, and view counts from the settings screen.
  • Choose which public post types support public preview sharing.
  • Keep token lookup fast with optional object cache support.

How PreviewShare protects preview links

PreviewShare is built for private review, not public publishing. It uses random preview tokens, stores token hashes in WordPress post meta, supports automatic expiration, supports manual revocation, and sends noindex, nofollow, noarchive, nosnippet, and noimageindex directives for preview requests.

Anyone with a valid preview URL can open that preview, so links should still be shared only with intended reviewers.

This repository has no README, so the description comes from its WPFolks listing.