Title: Headless Mode
Author: Ben Meredith
Published: <strong>16 نوامبر 2019</strong>
Last modified: 18 جولای 2024

---

جستجوی افزونه‌ها

![](https://ps.w.org/headless-mode/assets/banner-772x250-rtl.jpg?rev=2212212)

این افزونه **با ۳ نگارش عمدهٔ اخیر وردپرس آزمایش نشده است**. ممکن است دیگر نگهداری
یا پشتیبانی نشود و هنگام استفاده با نگارش‌های تازه‌تر وردپرس مشکل سازگاری داشته 
باشد.

![](https://ps.w.org/headless-mode/assets/icon-256x256.jpg?rev=2212212)

# Headless Mode

 توسط [Ben Meredith](https://profiles.wordpress.org/benmeredithgmailcom/)

[دانلود](https://downloads.wordpress.org/plugin/headless-mode.0.4.0.zip)

 * [جزئیات](https://fa.wordpress.org/plugins/headless-mode/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/headless-mode/#reviews)
 * [توسعه](https://fa.wordpress.org/plugins/headless-mode/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/headless-mode/)

## توضیحات

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.

## سوالات متداول

### 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](https://github.com/Shelob9/headless-mode)

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

## نقد و بررسی‌ها

![](https://secure.gravatar.com/avatar/c80166dc835b217ec54ef9cbf2d320809563a9ed4c57c2ba4f824e3d7086c78c?
s=60&d=retro&r=g)

### 󠀁[Flawless](https://wordpress.org/support/topic/flawless-183/)󠁿

 [edraaf](https://profiles.wordpress.org/edraaf/) 5 سپتامبر 2021

Makes it very easy to redirect visitors to your main site.

![](https://secure.gravatar.com/avatar/cfc2c8e1d6d84f7cff56e8e8d4fb21ac6005d944c53d9e242f23dcae58c198ca?
s=60&d=retro&r=g)

### 󠀁[Exacly was I was expecting](https://wordpress.org/support/topic/exacly-was-i-was-expecting/)󠁿

 [danojonguitud](https://profiles.wordpress.org/danojonguitud/) 14 آگوست 2021

This plugins works as intended.

![](https://secure.gravatar.com/avatar/e7ac8516dd0c1e8206c729f5a64938865be079e1cc2900b644d928e70cc3a97e?
s=60&d=retro&r=g)

### 󠀁[Simple to set up and works great!](https://wordpress.org/support/topic/simple-to-set-up-and-works-great-3/)󠁿

 [Hernan Villanueva](https://profiles.wordpress.org/chvillanuevap/) 31 اکتبر 2020

This tiny plugin works exactly as intended.

![](https://secure.gravatar.com/avatar/706bc13e27e6cbe2ce9dc6cf6c942efd5e98260376ec23290eff86ed291e610a?
s=60&d=retro&r=g)

### 󠀁[Tiny plugin that does the magic!](https://wordpress.org/support/topic/tiny-plugin-that-does-the-magic/)󠁿

 [Paulina H. (a11n)](https://profiles.wordpress.org/pehaa/) 2 آوریل 2020 1 پاسخ

It works perfectly, thank you!

![](https://secure.gravatar.com/avatar/c70d7c1ea2b886428ecd4299446b65ccd86c897ea82e6f87e5ba305cc1d745f9?
s=60&d=retro&r=g)

### 󠀁[Exactly what I needed!](https://wordpress.org/support/topic/exactly-what-i-needed-643/)󠁿

 [Rory Michael Heaney](https://profiles.wordpress.org/rorymheaney/) 14 دسامبر 2019
1 پاسخ

No need to overthink your own solution, just install this, set the domain and you’re
done.

![](https://secure.gravatar.com/avatar/f9362e40ba789e27068477336afa11482cfe856d357cea59f3ab71a5cd99be94?
s=60&d=retro&r=g)

### 󠀁[Great little plugin.](https://wordpress.org/support/topic/great-little-plugin-234/)󠁿

 [tomhermans](https://profiles.wordpress.org/tomhermans/) 19 نوامبر 2019 1 پاسخ

I had a simple meta-refresh in my header.php to prevent users seeing the content
site, but this is way better.

 [ خواندن تمامی 6 نقد و بررسی‌ ](https://wordpress.org/support/plugin/headless-mode/reviews/)

## توسعه دهندگان و همکاران

“Headless Mode” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

 *   [ Ben Meredith ](https://profiles.wordpress.org/benmeredithgmailcom/)
 *   [ Josh Pollock ](https://profiles.wordpress.org/shelob9/)
 *   [ Jason Bahl ](https://profiles.wordpress.org/jasonbahl/)

“Headless Mode” به 5 زبان ترجمه شده است. با تشکر از [مترجمین](https://translate.wordpress.org/projects/wp-plugins/headless-mode/contributors)
برای همکاری و کمک‌هایشان.

[ترجمه “Headless Mode” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/headless-mode)

### علاقه‌ مند به توسعه هستید؟

[کد را مرور کنید](https://plugins.trac.wordpress.org/browser/headless-mode/)، [مخزن SVN](https://plugins.svn.wordpress.org/headless-mode/)
را بررسی کنید، یا از طریق [RSS](https://plugins.trac.wordpress.org/log/headless-mode/?limit=100&mode=stop_on_copy&format=rss)
در [گزارش توسعه](https://plugins.trac.wordpress.org/log/headless-mode/) مشترک شوید.

## گزارش تغییرات

#### 0.4.0

 * checked for compatibility with the latest WP version
 * read several hot takes from Josh on Twitter. Inaccurately attributed them to 
   Elon Musk.
 * 33 points and several attaboys to Alex Standiford for testing this and submitting
   a PR. You’re the wind beneath several wings.
 * I checked again, and nobody has donated money toward the maintenance of this 
   plugin. I’m not mad, I’m just disappointed. https://benlikes.us/donate

#### 0.3.0

 * adds a filter named headless_mode_will_redirect so that individual requests can
   make it through to WP if needed.
 * fixed an issue with new installs showing a white screen for users not logged 
   in, until a constant is set.
 * 27 additional non-refundable points for Josh starting a new job since the last
   release.
 * 37 points for Jason also starting a new job. Jason’s additional points are for
   lack of hair, and totally arbitrary.
 * I feel like more of you should be donating. Just saying. https://benlikes.us/
   donate

#### 0.2.0

 * adds a filter for headless_mode_disable_front_end so that access to the front
   end can be granted on a per-user basis.
 * tested up to WordPress 5.5
 * 17 total new points for a relatively long time with no support issues.
 * The plugin still works like a CHARM, and none of you people have donated.

#### 0.1.0

 * 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.

#### 0.0.4

 * 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.

#### 0.0.3

 * Modifications for the .org readme authors, etc.

#### 0.0.2

 * enhancements to get it ready for the .org repo

## اطلاعات

 *  نگارش **0.4.0**
 *  آخرین به‌روزرسانی **2 سال پیش**
 *  نصب‌های فعال **2,000+**
 *  نگارش وردپرس ** 5.0 یا بالاتر **
 *  آزمایش‌شده تا **6.6.5**
 *  زبان‌ها
 * [English (US)](https://wordpress.org/plugins/headless-mode/)، [Spanish (Chile)](https://cl.wordpress.org/plugins/headless-mode/)،
   [Spanish (Colombia)](https://es-co.wordpress.org/plugins/headless-mode/)، [Spanish (Mexico)](https://es-mx.wordpress.org/plugins/headless-mode/)،
   [Spanish (Spain)](https://es.wordpress.org/plugins/headless-mode/)، و [Spanish (Venezuela)](https://ve.wordpress.org/plugins/headless-mode/).
 *  [به زبان خودتان ترجمه کنید](https://translate.wordpress.org/projects/wp-plugins/headless-mode)
 * برچسب
 * [gatsby](https://fa.wordpress.org/plugins/tags/gatsby/)[headless](https://fa.wordpress.org/plugins/tags/headless/)
   [jamstack](https://fa.wordpress.org/plugins/tags/jamstack/)[static](https://fa.wordpress.org/plugins/tags/static/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/headless-mode/advanced/)

## امتیازها

 5 از 5 ستاره.

 *  [  امتیاز 6 5-ستاره     ](https://wordpress.org/support/plugin/headless-mode/reviews/?filter=5)
 *  [  امتیاز 0 4-ستاره     ](https://wordpress.org/support/plugin/headless-mode/reviews/?filter=4)
 *  [  امتیاز 0 3-ستاره     ](https://wordpress.org/support/plugin/headless-mode/reviews/?filter=3)
 *  [  امتیاز 0 2-ستاره     ](https://wordpress.org/support/plugin/headless-mode/reviews/?filter=2)
 *  [  امتیاز 0 1-ستاره     ](https://wordpress.org/support/plugin/headless-mode/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/headless-mode/reviews/#new-post)

[مشاهده همه بررسی‌ها](https://wordpress.org/support/plugin/headless-mode/reviews/)

## مشارکت کنندگان

 *   [ Ben Meredith ](https://profiles.wordpress.org/benmeredithgmailcom/)
 *   [ Josh Pollock ](https://profiles.wordpress.org/shelob9/)
 *   [ Jason Bahl ](https://profiles.wordpress.org/jasonbahl/)

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/headless-mode/)

## کمک مالی

آیا تمایل دارید از پیشرفت این افزونه حمایت کنید؟

 [ کمک مالی به این افزونه ](https://www.wpsteward.com/donations/plugin-support/)