Redirect Front-end to Login | Headless WP Icon

Redirect Front-end to Login | Headless WP

By Benjamin Intal

Active Installs

30+

Last Updated

September 26, 2017

First Released

September 26, 2017

Download History (Last one month)


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
  1. Head over to Plugins > Add New in the admin
  2. Search for “Headless WP”
  3. Install & activate the plugin
  4. Now your entire front-end (aside from the login page) will become inaccessible.

Installation Instructions

  1. Head over to Plugins > Add New in the admin
  2. Search for “Headless WP”
  3. Install & activate the plugin
  4. Now your entire front-end (aside from the login page) will become inaccessible.

How do I use WordPress with React?

J.C. Hiatt has an awesome post about it in Medium: Headless WordPress with React

What is React JS?

I learned React from an article by Per Harald Borgen in Medium called Learn React.JS in 8 Minutes

Changelog

v1.0

  • Initial release
<br />
<b>Warning</b>:  Undefined array key /home/ylinkin/truewp.net/wp-content/plugins/truewp-plugin-info/truewp-plugin-info.php on line 756
" width="120" height="120">

Available Versions

Version Download Type
1.0 Download Stable

Plugin Info

  • Version: 1.0
  • Last Updated: September 26, 2017
  • Active Installs: 30+
  • WordPress Version: 4.7 or higher
  • Tested up to: 4.8.33
  • PHP Version: 5.2 or higher
  • Tags:    
    301 401 headless json redirect

Ratings


0.0 out of 5 stars. (0 reviews)

See all reviews
Scroll to Top