Title: Force login to make the site private &#8211; Gozer
Author: Fernando Tellado
Published: <strong>2026 年 1 月 29 日</strong>
Last modified: 2026 年 3 月 27 日

---

搜索插件

![](https://ps.w.org/gozer/assets/banner-772x250.jpg?rev=3450072)

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

# Force login to make the site private – Gozer

 作者：[Fernando Tellado](https://profiles.wordpress.org/fernandot/)

[下载](https://downloads.wordpress.org/plugin/gozer.1.0.3.zip)

[实时预览](https://cn.wordpress.org/plugins/gozer/?preview=1)

 * [详情](https://cn.wordpress.org/plugins/gozer/#description)
 * [评价](https://cn.wordpress.org/plugins/gozer/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/gozer/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/gozer/#developers)

 [支持](https://wordpress.org/support/plugin/gozer/)

## 描述

Gozer makes your entire WordPress site private by requiring visitors to log in before
they can see any content. Perfect for intranets, membership sites, development environments,
or any site that needs restricted access.

Unlike other force login plugins, Gozer gives you complete control over exceptions.
Configure exactly what should remain publicly accessible through an intuitive settings
page.

#### Key Features

 * **One-click activation** – Enable force login with a single checkbox
 * **Admin bar toggle** – Quick on/off switch directly from the toolbar
 * **System exceptions** – Keep REST API, WP-Cron, WP-CLI, and AJAX working
 * **SEO-friendly** – Allow search engine bots, sitemaps, and robots.txt
 * **Custom paths** – Define specific pages that should remain public
 * **Advanced IP whitelist** – Supports individual IPs, CIDR notation, and wildcards
 * **Temporary bypass tokens** – Generate shareable links for temporary access
 * **User agent rules** – Grant access to monitoring services
 * **Flexible redirects** – Choose login page, 403 error, or custom URL
 * **Lightweight** – No bloat, just the features you need

#### IP Whitelist Formats

The plugin supports multiple IP formats:

 * Individual IPs: `192.168.1.1`
 * CIDR notation: `192.168.1.0/24` or `10.0.0.0/8`
 * Wildcards: `192.168.*` or `10.*.*.*`

#### Temporary Bypass Tokens

Generate secure, time-limited access links perfect for:

 * Client reviews of staging sites
 * Sharing with contractors or agencies
 * Temporary access for support teams
 * Preview links for stakeholders

#### Use Cases

 * Private company intranets
 * Client staging sites
 * Membership communities
 * Development and testing environments
 * Employee portals
 * Educational platforms

### Support

Need help or have suggestions?

 * [Official website](https://servicios.ayudawp.com)
 * [WordPress support forum](https://wordpress.org/support/plugin/gozer/)
 * [YouTube channel](https://www.youtube.com/AyudaWordPressES)
 * [Documentation and tutorials](https://ayudawp.com)

Love the plugin? Please leave us a 5-star review and help spread the word!

### About AyudaWP

We are specialists in WordPress security, SEO, and performance optimization plugins.
We create tools that solve real problems for WordPress site owners while maintaining
the highest coding standards and accessibility requirements.

## 屏幕截图

 * [[
 * General settings with admin bar toggle indicator
 * [[
 * System exceptions – Control WordPress core functionality access
 * [[
 * SEO exceptions – Configure search engine access
 * [[
 * Custom exceptions with CIDR and wildcard support
 * [[
 * Temporary bypass tokens management
 * [[
 * Redirect behavior options

## 安装

 1. Upload the `gozer` folder to `/wp-content/plugins/`
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to Settings > Gozer to configure options
 4. Enable the “Require login to access the site” checkbox
 5. Configure exceptions as needed

## 常见问题

### Will this break my site?

The plugin is designed with safe defaults. Critical functionality like REST API,
WP-Cron, and AJAX are allowed by default to prevent breaking the block editor or
scheduled tasks.

### Can search engines still index my site?

Yes, if you enable the “Allow search engine crawlers” option. Major search engine
bots (Google, Bing, etc.) will be able to access and index your content.

### How do I allow specific pages to be public?

Go to Settings > Gozer and add paths to the “Allowed paths” field. Enter one path
per line, like `/contact/` or `/about/`.

### How do I whitelist an entire IP range?

Use CIDR notation (e.g., `192.168.1.0/24` for a /24 subnet) or wildcards (e.g., `
192.168.*` for all IPs starting with 192.168).

### How do bypass tokens work?

Generate a token in Settings > Gozer, then share the generated URL. Anyone with 
that link can access the site without logging in until the token expires.

### Can I use it on a multisite network?

Yes, the plugin works on multisite installations. Each site can have its own configuration.

### Why “Gozer”?

Gozer the Gozerian is the supernatural entity from Ghostbusters (1984) who asked“
Are you a god?” before denying access to mere mortals. Just like our plugin does
with your site visitors.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Force login to make the site private – Gozer」是开源软件。 以下人员对此插件做出
了贡献。

贡献者

 *   [ Fernando Tellado ](https://profiles.wordpress.org/fernandot/)
 *   [ Ayuda WordPress ](https://profiles.wordpress.org/ayudawp/)

「Force login to make the site private – Gozer」插件已被翻译至 2 种本地化语言。 
感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/gozer/contributors)
为本插件所做的贡献。

[帮助将「Force login to make the site private – Gozer」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/gozer)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/gozer/)，查看[SVN仓库](https://plugins.svn.wordpress.org/gozer/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/gozer/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/gozer/)。

## 更新日志

#### 1.0.3

 * Fix: Fixed promotional banner button alignment on WordPress 7.0 due to core CSS
   specificity changes
 * Tested up to WordPress 7.0

#### 1.0.2

 * Improved: Better name to make it easier to find the plugin

#### 1.0.1

 * Improved: Tokens table layout for better responsiveness on smaller screens
 * Improved: Copy tokens button moved to Actions column for a better user experience
 * Improved: The recommendations banner now displays plugins and services randomly

#### 1.0.0

 * Initial release
 * Force login functionality with configurable exceptions
 * Admin bar indicator with quick toggle switch
 * System exceptions (REST API, WP-Cron, WP-CLI, AJAX, XML-RPC)
 * SEO exceptions (sitemaps, robots.txt, feeds, search bots)
 * Technical exceptions (HEAD requests, static files)
 * Custom exceptions (paths, IPs with CIDR/wildcards, user agents)
 * Temporary bypass tokens with expiration
 * Redirect options (login, 403, custom URL)
 * Two-column settings layout

## 额外信息

 *  版本 **1.0.3**
 *  最后更新：**2 周前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/gozer/) 、 [Spanish (Chile)](https://cl.wordpress.org/plugins/gozer/)
   和 [Spanish (Spain)](https://es.wordpress.org/plugins/gozer/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/gozer)
 * 标签
 * [access](https://cn.wordpress.org/plugins/tags/access/)[login](https://cn.wordpress.org/plugins/tags/login/)
   [privacy](https://cn.wordpress.org/plugins/tags/privacy/)[private](https://cn.wordpress.org/plugins/tags/private/)
   [restricted](https://cn.wordpress.org/plugins/tags/restricted/)
 *  [高级视图](https://cn.wordpress.org/plugins/gozer/advanced/)

## 评级

尚未提交反馈。

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

[查看全部评论](https://wordpress.org/support/plugin/gozer/reviews/)

## 贡献者

 *   [ Fernando Tellado ](https://profiles.wordpress.org/fernandot/)
 *   [ Ayuda WordPress ](https://profiles.wordpress.org/ayudawp/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/gozer/)