Headless Mode

Mô tả

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.

Hỏi đáp

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

Đánh giá

19 Tháng Mười Một, 2019
I had a simple meta-refresh in my header.php to prevent users seeing the content site, but this is way better.
Đọc tất cả 3 đánh giá

Người đóng góp & Lập trình viên

“Headless Mode” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

Nhật ký thay đổi


  • resolve PHP notice due to missing parentheses.
  • tally of 14 total points based on previous issues.
  • shameless pointing out that the points are all made up.


  • more changes to the readme for display on wordpress.org
  • 73% more #HiRoy. Have you said Hi to Roy today? https://hiroy.club
  • change the author URL to not be so self-serving, Ben.
  • a much needed Points review by Meagan Hanes based on the above changes is pending.


  • Modifications for the .org readme authors, etc.


  • enhancements to get it ready for the .org repo