Secure Draft Preview Links
Share draft posts with anyone via a secure, time-limited preview link — no login required.
Utiliser avec prudence
Secure Draft Preview Links works, but test it on a staging site before relying on it in 2026. It runs on 30+ sites and was last updated 5 months ago, and scores 52/100 on our health check.
- Petite base d'utilisateurs (30+ installations actives)
- Très peu de critiques jusqu'à présent
Comment s'accumule-t-il ?
Côte à côte sur les installations, les mises à jour, les évaluations et le supportTéléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where Secure Draft Preview Links stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| draft | #51 |
| preview | >100 |
| preview link | #48 |
| public | >100 |
| partager | >100 |
Adoption de version
Part de sites actifs par version.
About Secure Draft Preview Links
À partir du Lisez-moi officiel · v1.0.1Description
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.
Comment cela fonctionne
- Open any draft post or page in the editor.
- Check Enable public preview in the Publish panel (Classic Editor) or Status & Visibility panel (Block Editor).
- Copy the generated link and share it with anyone.
- The recipient can view the draft without logging in.
- Uncheck 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.
- Expiry settings auto-save on change with a “Expiry setting saved.” confirmation message.
- Block Editor: snackbar notices for every action (enable, disable, copy, generate new link).
- Block Editor: Open public preview item added to the Preview dropdown (WordPress 6.7+).
Preview Links admin page
- Dedicated Preview Links menu item in the WordPress admin sidebar.
- Two tabs: Active and Expired, each showing a count badge.
- Paginated table — 20 items per page, with top and bottom pagination controls.
- Per-row columns: Post title, Post type, Exact expiry time, Preview URL, Share buttons, Actions.
- Copy URL and Open preview icon buttons inline with the URL.
- Share buttons: Facebook, X (Twitter), LinkedIn, Email — captions include the post title and expiry time (omitted for never-expires links).
- Regenerate button — generates a new token with a confirmation dialog; old link stops working immediately.
- Stop Sharing button — removes the token with a confirmation dialog.
- Edit Post link opens in a new tab.
- Confirmation dialogs use an inline modal (no browser
confirm()) with clear messaging about consequences. - Toast notifications slide up from the bottom-right on every action.
La sécurité
- Tokens are 64-character cryptographically random hex strings generated with
random_bytes(). - Token validation uses
hash_equals()to prevent timing attacks. - Expired links return a 410 Gone HTTP response.
- Invalid tokens return a 403 Forbidden HTTP response.
- Preview link is automatically removed when a post is published, made private, or trashed.
- All AJAX endpoints are protected with nonces and capability checks.
- No data is exposed to unauthenticated users beyond the post content itself.
Post list table
- Public Preview badge shown next to post titles that have an active preview link.
- Public Preview filter view in the post list table to quickly find all posts with active links.
Technical
- Works with all viewable public post types (posts, pages, and custom post types).
- Pagination links on multi-page posts are rewritten to include the preview token.
- Token meta is registered with the REST API for block editor compatibility.
- No external dependencies — pure PHP, jQuery (Classic Editor), and WordPress’s own React/wp-components (Block Editor).
Installation
- Téléchargez le dossier
secure-draft-preview-linksà/wp-content/plugins/. - Activez le plugin via l'écran plugins dans WordPress.
- Open any draft post or page in the editor.
Journal de modifications
Tested up to WordPress 7.0.2.
1.0.1
- Tested up to WordPress 7.0.2.
1.0.0
- Version initiale.
- Secure token generation using
random_bytes()withhash_equals()validation. - Works with Classic Editor and Block Editor (Gutenberg).
- Custom expiry: 48 hours (default), always available, custom Days/Hours/Minutes, or expire immediately.
- Live “Expires on:” display with exact time remaining.
- Regenerate and stop-sharing actions with inline confirmation dialogs.
- Preview Links admin page with Active/Expired tabs, pagination, and social share buttons (Facebook, X, LinkedIn, Email).
- Auto-removal on publish, private, or trash.
- “Public Preview” badge and filter view in the post list table.
- Pagination support for multi-page posts.
- Block Editor: snackbar notices, Preview dropdown menu item (WP 6.7+).
- Disabled state with contextual hints for published posts and unsaved drafts.
Captures d'écran
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.
Best Secure Draft Preview Links alternatives
All draft plugins →FAQ
Secure Draft Preview Links: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is Secure Draft Preview Links free?
Yes. Secure Draft Preview Links is free to download and use from the official WordPress.org plugin directory.
Is Secure Draft Preview Links safe to use in 2026?
Secure Draft Preview Links works, but test it on a staging site before relying on it in 2026. It runs on 30+ sites and was last updated 5 months ago, and scores 52/100 on our health check.
How many websites use Secure Draft Preview Links?
Secure Draft Preview Links is active on 30+ WordPress websites and has been downloaded 554 times since it launched in May 2026. It was downloaded 177 times in the last 30 days.
Does Secure Draft Preview Links work with WordPress 7.1?
Secure Draft Preview Links is officially tested up to WordPress 7.0.9, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does Secure Draft Preview Links need?
Secure Draft Preview Links requires PHP 8.0 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Secure Draft Preview Links last updated?
The latest version, 1.0.1, was released on July 17, 2026 (5 months ago).
Who makes Secure Draft Preview Links?
Secure Draft Preview Links is developed and maintained by savedprompt.
What are the best alternatives to Secure Draft Preview Links?
The most popular alternatives to Secure Draft Preview Links are Share a Draft (3K+ installs), AMS Post And Page Duplicator (500+ installs) and Publish View (500+ installs).
Propulsé par PageForge
Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit
