sandywp / plugins / headless-mode

Headless Mode

5.0 out of 5 stars. 5.0 6 reviews

Once you take the head off of WordPress, nobody needs to see it. This plugin hides the front end by redirecting to the shiny static (etc) site.

Launch a sandbox with this plugin → No signup.
Ready in seconds.

v0.4.0 2,000+ installs WP 5.0+

your-sandbox.sandywp.com/wp-admin
Headless Mode running inside a SandyWP sandbox

About this plugin

Headless mode sets up a redirect for all users trying to access the site. The only requests that are granted admission are ones that are either trying to access the REST API, the WP GraphQL API, or any logged-in user looking to access the headless install to edit or create posts.

Questions

How do I set it up?

Once you’ve activated the plugin, add the following line to your wp-config.php file, and save it.

define( 'HEADLESS_MODE_CLIENT_URL', 'https://hiroy.club' );

Be sure to change the URL to the actual URL for the front end of your site.

How can I contribute to this plugin?

The team behind Headless Mode accepts PRs at the plugin’s GitHub repository

If you have general questions, use the forum here or hit us up on Twitter @benUNC @jasonbahl @josh412

5.0

6 reviews

  • 5 ★ 6
  • 4 ★ 0
  • 3 ★ 0
  • 2 ★ 0
  • 1 ★ 0

Ratings come from WordPress.org. SandyWP does not collect its own reviews.

sandywp / also on the shelf

Try another plugin

  • WPGatsby

    5.0 · 3K+ installs

    WPGatsby is a free open-source WordPress plugin that optimizes your WordPress site to work as a data source for Gatsby. This…

  • WPGraphQL Blocks

    300+ installs

    Get gutenberg blocks as JSON through wp-graphql

  • Publish to Netlify

    100+ installs

    Easily deploy static sites to Netlify using WordPress as backend. This plugin builds your static website using Netlify webhooks…

Spin up a real WordPress site in seconds.

Test plugins, build a demo, hand a client a link — then squash it and start again. No local setup, no Docker.