
內容簡介
將 WordPress 完全作為 CMS(無頭 WordPress)是一個可行的選擇,適合使用 React JS 或 Angular JS 等技術完全建構前端的網絡應用程序的人。
這樣做使前端(例如使用 React 建構)與後端(例如 WordPress)分離。由於 WordPress 嚴格用於通過 REST API 管理和提供內容,因此 WP 前端變得無法使用和不必要 - 因此使用"無頭 WordPress"。
此外掛程式基本上刪除了 WordPress 的前端。
請注意,REST API 和其他非前端的功能應該正常工作。
功能
沒有設置頁面
允許後端訪問
允許 REST API 端點
將所有前端頁面重定向(403 Forbidden)到登錄頁面
外掛標籤
開發者團隊
② 後台搜尋「Redirect Front-end to Login | Headless WP」→ 直接安裝(推薦)
📦 歷史版本下載
原文外掛簡介
Using WordPress entirely as a CMS (a Headless WordPress) is a plausible option for people building web apps using technologies such as React JS or Angular JS to entirely build their front-end.
Doing this, the front-end (e.g. built with React) becomes decoupled from the back-end (e.g. WordPress). Since WordPress is being used strictly to manage and serve the content via REST API, the WP front-end becomes unusable and unnecessary – hence the term “headless WordPress”.
This plugin essentially removes the front-end of WordPress.
Note that the REST API, and other non-front-end stuff should work as normal.
Features
No settings page
Allows backend access
Allows REST API endpoints
Redirects (403 Forbidden) all front-end pages to the login page
