
Redirect Front-end to Login | Headless WP
v1.0Benjamin Intal · 2017年9月26日 上架
Redirects all front-end pages to the login page, best for building a headless WP REST API backend
- 正在使用
- 30+
- 评分
- 暂无
- 累计下载
- 1.2 万
- 最近更新
- 2017年9月26日
需要 WordPress 4.7+已测试到 4.8.35PHP 5.2+
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