
Frontend View For Headless CMS
v3.0.0Dropndot Solutions · 2024年6月27日 上架
Point WordPress "View" links at your headless frontend, redirect visitors, map slugs to your routes, and securely preview drafts on Next.js.
- 正在使用
- 100+
- 评分
- 5.0 / 5
- 累计下载
- 3,952
- 最近更新
- 2026年11月20日
截图







Frontend View For Headless CMS connects your WordPress backend to the decoupled frontend that actually renders it. When WordPress is your content source and the public site is built with Next.js, Nuxt, Astro, Gatsby, React, Vue, or any other stack, the admin “View” links, preview links, and author/taxonomy URLs normally still point at WordPress. This plugin rewrites them to the paths your frontend uses, so editors land on the real, published experience every time.
Everything is configured from a single, redesigned Frontend View Settings page with a clean tabbed layout: General, Slug Mapping, Diagnostics, Secure Preview, Tools, and a built-in Next.js integration guide. No code is required for the core workflow — set your frontend URL and your links just work.
What it does
- Rewrites admin “View” links on post, page, custom post type, taxonomy, and user list screens to your configured frontend URL. Links open in a new tab for a safer editing workflow.
- Optional 301 redirect of public WordPress frontend requests to your headless frontend, while leaving admin, REST API, GraphQL, feeds, sitemaps, robots.txt, previews, login, cron, and AJAX untouched. Off by default.
- Custom preview path (for example
/preview/post-slug/or/api/preview) for draft and preview links, with the preview query string preserved. - Author slug mapping so author archive links match your frontend user segment.
- Per-taxonomy and per–post-type slug overrides to align WordPress routes with your frontend routing.
- Nested path support in every slug field (for example
news/technology), so hierarchical frontend routes are preserved. Existing single-level mappings keep working unchanged. - Empty slug option to drop a taxonomy or CPT base segment entirely (flat routes like
/my-post/instead of/products/my-post/). - URL conflict detection that surfaces advisory warnings for duplicate, shadowed, reserved, or ambiguous slug mappings right on the settings page. Warnings never block saving and never change your settings.
- Settings import/export in a versioned JSON format, with an import preview and an explicit confirmation step. Secrets are never exported, and a failed import leaves your existing settings untouched.
- Connection diagnostics that test connectivity to your configured frontend (status, response time, TLS verification, redirects) with strong SSRF protection. Only the saved URL is tested, private/reserved addresses are blocked, every redirect hop is re-validated, and local/development URLs are skipped for safety.
- Secure authenticated preview (opt-in) so authorized editors can preview draft, pending, private, and scheduled content on a Next.js (App Router, Draft Mode) frontend using a short-lived, single-use signed token that is exchanged for an httpOnly preview session. No permanent secret is ever placed in a URL.
- Local development URLs such as
http://localhost:3000are supported for link rewriting and redirects. - Multisite compatible, with a per-site frontend URL.
Works with any frontend that consumes WordPress through the REST API, GraphQL, or your own data layer — as long as your frontend URLs follow the paths you configure.
Development
This plugin is developed by Dropndot Solutions. For more information, visit Dropndot Solutions.
Contact
For support or inquiries, please contact us at info@dropndot.com.
Like the Plugin?
If you find this plugin helpful, please leave a positive review on the WordPress Plugin Directory