Title: Nextfly Domain Restricted Access
Author: NEXTFLY® Web Design
Published: <strong>19 مارس 2026</strong>
Last modified: 21 می 2026

---

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

![](https://ps.w.org/nextfly-domain-restricted-access/assets/icon-256x256.png?rev
=3486824)

# Nextfly Domain Restricted Access

 توسط [NEXTFLY® Web Design](https://profiles.wordpress.org/nextfly/)

[دانلود](https://downloads.wordpress.org/plugin/nextfly-domain-restricted-access.1.0.0.zip)

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

 [پشتیبانی](https://wordpress.org/support/plugin/nextfly-domain-restricted-access/)

## توضیحات

Nextfly Domain Restricted Access allows you to restrict post and page access to 
specific email domains. Users must validate their email address via a unique magic
link sent to their inbox.

This plugin is perfect for internal company portals, client-specific pages, or any
content that should be accessible only to users with a specific email domain (e.
g., `@company.com`).

**Key Features:**
 * **Domain-Based Restriction:** Easily whitelist email domains
for any post or page. * **Secure Magic Links:** Users receive a time-sensitive, 
one-time-use access link via email. * **No Passwords Required:** Simplifies user
experience by eliminating the need for passwords. * **Customizable Emails:** Configure
the email subject and body template. * **Cookie-Based Access:** Set how long access
remains valid (default: 7 days). * **Developer Friendly:** Includes hooks for extending
functionality.

### Usage

**To Protect a Post/Page:**
 1. Edit any post or page you want to protect. 2. Look
for the **“Nextfly Domain Restricted Access”** metabox in the sidebar. 3. Enter 
the authorized email domains (one per line, e.g., `company.com`). 4. Update or Publish
the post.

**To Configure Settings:**
 1. Navigate to **Settings > Nextfly Domain Restricted
Access**. 2. Customize the email subject and body (use `%access_link%` as a placeholder).
3. Set the cookie duration (how long a user stays logged in). 4. Select the Redirect
Page (where users are sent to login).

### Developers

The plugin includes hooks to extend its functionality.

**Filters:**
 nfdra_post_types – Add support for custom post types. nfdra_email_headers–
Modify email headers (e.g., add BCC).

**Actions:**
 nfdra_before_send_email – Fires before email is sent. nfdra_after_send_email–
Fires after email is sent. nfdra_access_granted – Fires when user is granted access.
nfdra_access_denied – Fires when access token is invalid.

## عکس‌های صفحه

[⌊Settings Page: Configure email templates and cookie duration.⌉⌊Settings Page: 
Configure email templates and cookie duration.⌉[

**Settings Page:** Configure email templates and cookie duration.

[⌊Metabox: Easily add authorized domains to any post or page.⌉⌊Metabox: Easily add
authorized domains to any post or page.⌉[

**Metabox:** Easily add authorized domains to any post or page.

[⌊Frontend Form: The clean, simple email request form presented to users.⌉⌊Frontend
Form: The clean, simple email request form presented to users.⌉[

**Frontend Form:** The clean, simple email request form presented to users.

## نصب

 1. Upload the `nextfly-domain-restricted-access` folder to the `/wp-content/plugins/`
    directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Go to **Settings > Nextfly Domain Restricted Access** to configure the plugin.
 4. Create a dedicated page and add the `[nextfly_domain_restricted_access]` shortcode.
    This page will display the email input form.
 5. In the plugin settings, set this new page as the “Redirect Page”.

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

### Can I use this for multiple domains?

Yes! You can enter multiple authorized domains for a single post/page, one per line.

### How long does the access link last?

The magic link itself expires after 24 hours or after a single use. Once used, a
cookie is set for the user, which remains valid based on your “Cookie Duration” 
setting (default 7 days).

### Does this work with custom post types?

Yes, but you need to enable it. Use the `nfdra_post_types` filter to add your custom
post type slug to the supported list. See the “Developers” section for details.

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

نقد و بررسی‌ای برای این افزونه یافت نشد.

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

“Nextfly Domain Restricted Access” نرم افزار متن باز است. افراد زیر در این افزونه
مشارکت کرده‌اند.

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

 *   [ NEXTFLY® Web Design ](https://profiles.wordpress.org/nextfly/)

[ترجمه “Nextfly Domain Restricted Access” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/nextfly-domain-restricted-access)

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

[Browse the code](https://plugins.trac.wordpress.org/browser/nextfly-domain-restricted-access/),
check out the [SVN repository](https://plugins.svn.wordpress.org/nextfly-domain-restricted-access/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/nextfly-domain-restricted-access/)
by [RSS](https://plugins.trac.wordpress.org/log/nextfly-domain-restricted-access/?limit=100&mode=stop_on_copy&format=rss).

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

#### 1.0.0

 * Initial release.

## اطلاعات

 *  نگارش **1.0.0**
 *  Last updated **1 ماه پیش**
 *  نصب‌های فعال **کمتر از 10**
 *  نگارش وردپرس ** 5.8 یا بالاتر **
 *  Tested up to **7.0**
 *  نگارش PHP ** 7.4 یا بالاتر **
 *  زبان
 * [English (US)](https://wordpress.org/plugins/nextfly-domain-restricted-access/)
 * Tags
 * [access-control](https://fa.wordpress.org/plugins/tags/access-control/)[email verification](https://fa.wordpress.org/plugins/tags/email-verification/)
   [magic link](https://fa.wordpress.org/plugins/tags/magic-link/)[restricted access](https://fa.wordpress.org/plugins/tags/restricted-access/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/nextfly-domain-restricted-access/advanced/)

## امتیازها

هنوز هیچ نقدی ارسال نشده است.

[Your review](https://wordpress.org/support/plugin/nextfly-domain-restricted-access/reviews/#new-post)

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

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

 *   [ NEXTFLY® Web Design ](https://profiles.wordpress.org/nextfly/)

## پشتیبانی

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

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