
內容簡介
Metronyx Headless CMS Connector 提供安全、簡潔的 REST API,將 WordPress 內容串接至任何前端框架,適合使用 Next.js、React、Vue 或 Angular 建構現代化無頭式網站的開發者。
【主要功能】
• 簡潔的 REST API 端點,支援文章與頁面內容存取
• 內建 CORS 設定,安全連接各種前端框架
• SEO 最佳化,內建中繼資料與結構化資料欄位
• 企業級安全防護,含輸入驗證與速率限制
• 框架無關設計,相容所有主流前端技術
• 內建完整 API 文件與使用範例
外掛標籤
開發者團隊
② 後台搜尋「Metronyx Headless CMS Connector」→ 直接安裝(推薦)
原文外掛簡介
Metronyx Headless CMS Connector provides a clean, secure REST API to connect your WordPress content with any frontend framework. Perfect for developers building modern web applications with Next.js, React, Vue, Angular, or any other frontend technology.
Key Features
Clean REST API – Simple endpoints for posts, pages, and content
Advanced Content Delivery – Optimized for modern headless CMS implementations
CORS Support – Configured for secure frontend framework connections
Framework Agnostic – Works with Next.js, React, Vue, Angular, and any frontend
SEO Optimized – Built-in meta fields and structured data for better search performance
Enterprise Security – Built-in security features, input validation, and rate limiting
Complete Documentation – Built-in API docs and usage examples
Security Features
This plugin has been thoroughly audited and includes:
Input validation and sanitization
CSRF protection with nonce verification
XSS prevention with output escaping
Rate limiting and pagination limits
CORS security with strict origin validation
Path traversal protection
Proper capability checks for admin functions
API Endpoints
Posts & Pages:
* GET /wp-json/metronyx-connector/v1/posts – All posts with pagination
* GET /wp-json/metronyx-connector/v1/posts/{slug} – Single post by slug
* GET /wp-json/metronyx-connector/v1/posts/featured – Featured posts only
* GET /wp-json/metronyx-connector/v1/pages – All pages
* GET /wp-json/metronyx-connector/v1/pages/{slug} – Single page by slug
Categories & Tags:
* GET /wp-json/metronyx-connector/v1/categories – All categories
* GET /wp-json/metronyx-connector/v1/tags – All tags
Coming Soon:
* Advanced e-commerce endpoints (future releases)
* Enhanced content filtering and search
* Multi-site headless architecture support
Data Structure
Each post/page includes:
* Basic content (title, slug, content, excerpt)
* SEO metadata (title, description, canonical URL)
* Featured images with multiple sizes
* Categories and tags
* Author information
* Custom meta fields
Future releases will include:
* Advanced content filtering and search capabilities
* Enhanced SEO metadata and structured data
* Multi-language content support
* Custom post type integration
* Performance analytics and insights
Usage Example
// Fetch all posts
const posts = await fetch('/wp-json/metronyx-connector/v1/posts')
.then(res => res.json());
// Fetch single post
const post = await fetch('/wp-json/metronyx-connector/v1/posts/your-post-slug')
.then(res => res.json());
// Next.js example
export async function getStaticProps({ params }) {
const post = await fetch(`${process.env.WORDPRESS_API_URL}posts/${params.slug}`)
.then(res => res.json());
return { props: { post } };
}
Professional Services
Running a headless WordPress setup means your SEO, performance, and content pipeline all need to work together. Metronyx specializes in WordPress-powered businesses and can help with:
Headless CMS Architecture – Custom REST API design, frontend-backend decoupling, and deployment pipelines for Next.js, React, or Vue
AI SEO & Answer Engine Optimization (AEO) – Get your WordPress content surfaced in AI search results from ChatGPT, Perplexity, and Google AI Overviews
Performance & Caching – Server-side rendering optimization, CDN configuration, and API response caching for sub-second page loads
Custom API Development – Bespoke endpoints for WooCommerce, ACF, custom post types, and third-party integrations
SEO for Headless WordPress – Structured data, meta tag management, sitemap generation, and crawl optimization for decoupled sites
Multi-site & Enterprise – Manage multiple headless WordPress properties from a single admin with shared content APIs
Learn more at metronyx.co.uk or get a free SEO audit.
Developer
Built and maintained by Arielle Phoenix (ariellephoenix.com).
AI SEO and headless WordPress solutions by Metronyx (metronyx.co.uk).
