A modern WordPress plugin to manage Deploy and Headless Preview workflows with Vercel, directly from the WordPress admin.
Third-party plugin (not official Vercel).
Vercel WP gives editors and developers a single place to:
- trigger deployments,
- preview content before publish,
- keep frontend URLs coherent in headless setups,
- run safe URL migrations from WordPress.
No dashboard hopping, no complex manual flow.
| Area | What you get |
|---|---|
| Deploy | One-click deploy trigger, deployment status, deployment history |
| Preview | Admin bar + editor preview buttons, split-screen preview tools |
| Options | Global display/headless toggles + template management |
| Page templates | Create/delete plugin-managed templates for pages |
| Headless URL mapping | WordPress URL -> frontend URL mapping |
| Cache/ISR | Revalidation trigger from WordPress |
| Migration tools | Massive URL replacement with preview + confirmation |
| ACF safety | Serialized ACF/meta replacement support |
| Diagnostics | Connection test + advanced diagnostics |
Vercel WP supports 2 frontend strategies:
For static frontends (Astro, Gatsby, static builds, etc.).
- Uses preview URL + production URL mapping.
- Ideal when preview is tied to deployment URLs.
For SSR/headless frontends using draft mode + cache revalidation (Next.js, Nuxt, other custom SSR stacks).
- Configure Draft endpoint and Revalidate endpoint.
- Configure query parameter names.
- Shared secret generated in BO and exposed as:
HEADLESS_PREVIEW_SECRET=your_generated_secretUse the same value in your frontend environment variables.
- Upload
vercel-wpto/wp-content/plugins/. - Activate the plugin in WordPress.
- Open
Vercel WPin WordPress admin.
The plugin now uses dedicated admin pages:
Vercel WP > DeployVercel WP > PreviewVercel WP > Options
Configure:
- Webhook Build URL
- Vercel Project ID
- Vercel API Key
Then trigger deployments from settings or admin bar.
- Choose Preview mode (
StaticorDraft + Revalidate). - Configure required frontend URLs/endpoints.
- Set production URL for mapping and permalink rewriting.
- Test connection.
Use Options to:
- configure global display/headless behavior,
- create page templates managed by the plugin,
- remove plugin templates with confirmation.
Templates created here are available in page editor under:
Page Attributes > Template
When production URL is configured, Vercel WP can:
- rewrite WordPress permalinks toward frontend URL,
- update admin "Visit site" links,
- help redirect frontend-facing routes,
- assist mass URL replacement in content/options/meta.
- WordPress 5.0+
- PHP 8.0+
- Vercel project configured
- Sensitive deploy settings are masked in admin.
- Nonce + capability checks are used on admin AJAX actions.
- URL validation is enforced on critical preview/revalidation operations.
See CHANGELOG.md.
Vercel WP is not affiliated with, endorsed by, or supported by Vercel Inc. Vercel is a trademark of Vercel Inc.
For issues and feature requests, use the project repository and include:
- WordPress version
- Plugin version
- Selected preview mode
- Steps to reproduce