Title: Surf7 Simple Maintenance Mode
Author: Ben Leow
Published: <strong>2024-12-09</strong>
Last modified: 2026-08-25

---

Szukaj wtyczek

![](https://ps.w.org/surf7-simple-maintenance-mode/assets/banner-772x250.png?rev
=3205018)

![](https://ps.w.org/surf7-simple-maintenance-mode/assets/icon-256x256.png?rev=3205018)

# Surf7 Simple Maintenance Mode

 Autor: [Ben Leow](https://profiles.wordpress.org/surf7net/)

[Pobierz](https://downloads.wordpress.org/plugin/surf7-simple-maintenance-mode.1.1.0.zip)

 * [Szczegóły](https://pl.wordpress.org/plugins/surf7-simple-maintenance-mode/#description)
 * [Recenzje](https://pl.wordpress.org/plugins/surf7-simple-maintenance-mode/#reviews)
 *  [Instalacja](https://pl.wordpress.org/plugins/surf7-simple-maintenance-mode/#installation)
 * [Rozwój](https://pl.wordpress.org/plugins/surf7-simple-maintenance-mode/#developers)

 [Wsparcie](https://wordpress.org/support/plugin/surf7-simple-maintenance-mode/)

## Opis

**Surf7 Simple Maintenance Mode** is a straightforward plugin that allows you to
put your WordPress website into maintenance mode with just one click. When maintenance
mode is enabled:

 * Only logged-in users (any role) can access the frontend.
 * Non-logged-in users will either see a predefined message or be redirected to 
   a specific URL.

**Features:**

 * **Easy Activation:** Enable or disable maintenance mode from the WordPress dashboard.
 * **Custom Maintenance Message:** Set a personalized message to display to visitors.
 * **Redirect Option:** Redirect visitors to another URL if desired.
 * **Access Control:** Only logged-in users can view the site when maintenance mode
   is active.

**Use Cases:**

 * Performing website updates or maintenance tasks.
 * Launching a new website or making significant changes.
 * Temporarily restricting access to the public.

The plugin does not connect to any external service and stores nothing beyond a 
single WordPress option.

## Zrzuty ekranu

[⌊The maintenance mode settings page, where you can enable the mode, set a custom
message, or specify a redirect URL.⌉⌊The maintenance mode settings page, where you
can enable the mode, set a custom message, or specify a redirect URL.⌉[

The maintenance mode settings page, where you can enable the mode, set a custom 
message, or specify a redirect URL.

[⌊An example of the maintenance message displayed to non-logged-in users.⌉⌊An example
of the maintenance message displayed to non-logged-in users.⌉[

An example of the maintenance message displayed to non-logged-in users.

## Instalacja

 1. **Upload the Plugin Files:**

 * Upload the `surf7-simple-maintenance-mode` folder to the `/wp-content/plugins/`
   directory.
 * Alternatively, install the plugin through the WordPress plugins screen directly
   by navigating to **Plugins** > **Add New**, searching for „Surf7 Simple Maintenance
   Mode,” and clicking **Install Now**.

 1. **Activate the Plugin:**

 * Activate the plugin through the **Plugins** screen in WordPress.

 1. **Configure the Settings:**

 * Go to **Settings** > **Maintenance Mode**.
 * Enable maintenance mode by checking the **Enable Maintenance Mode** option.
 * Set a custom maintenance message or specify a redirect URL.
 * Click **Save Changes**.

## Najczęściej zadawane pytania

### How do I enable maintenance mode?

 * Navigate to **Settings** > **Maintenance Mode** in your WordPress dashboard.
 * Check the **Enable Maintenance Mode** option.
 * Click **Save Changes**.

### Can I customize the maintenance message?

Yes. Set a custom message in the **Maintenance Message** field on the settings page.
Basic HTML (links, bold, italic, lists, paragraphs and line breaks) is allowed.

### How do I redirect visitors to another URL?

 * Enter the full URL (including `http://` or `https://`) in the **Redirect URL**
   field on the settings page.
 * Leave the field empty if you prefer to display the maintenance message instead.
 * The URL must point to a different domain than your site. A URL on your own site
   is ignored, because it would cause a redirect loop.

### Will logged-in users be affected by maintenance mode?

No. Logged-in users (any role) can access the site normally when maintenance mode
is enabled.

### What HTTP status is sent to visitors?

The maintenance message is served with a `503 Service Unavailable` status, which
tells search engines the outage is temporary. The redirect option sends a `302 Found`.

## Recenzje

Wtyczka nie ma jeszcze żadnej recenzji.

## Kontrybutorzy i deweloperzy

„Surf7 Simple Maintenance Mode” jest oprogramowaniem open source. Poniższe osoby
miały wkład w rozwój wtyczki.

Zaangażowani

 *   [ Ben Leow ](https://profiles.wordpress.org/surf7net/)

[Przetłumacz wtyczkę “Surf7 Simple Maintenance Mode” na swój język.](https://translate.wordpress.org/projects/wp-plugins/surf7-simple-maintenance-mode)

### Interesuje cię rozwój wtyczki?

[Przeglądaj kod](https://plugins.trac.wordpress.org/browser/surf7-simple-maintenance-mode/),
sprawdź [repozytorium SVN](https://plugins.svn.wordpress.org/surf7-simple-maintenance-mode/)
lub czytaj [dziennik rozwoju](https://plugins.trac.wordpress.org/log/surf7-simple-maintenance-mode/)
przez [RSS](https://plugins.trac.wordpress.org/log/surf7-simple-maintenance-mode/?limit=100&mode=stop_on_copy&format=rss).

## Rejestr zmian

#### 1.1.0

 * Redirects now use `wp_safe_redirect()` with a scoped `allowed_redirect_hosts`
   filter, instead of `wp_redirect()`.
 * Added a guard against redirecting to your own domain, which caused a redirect
   loop.
 * Send no-cache headers so page caches and browsers do not retain the maintenance
   response.
 * Removed a redundant administrator-role check that blocked multisite super admins
   without the administrator role on a subsite.
 * Settings are now unslashed and validated more strictly before saving, and a registered
   default is declared for the option.
 * Tested up to WordPress 7.1.

#### 1.0

 * Initial release of Surf7 Simple Maintenance Mode.

## Meta

 *  Wersja **1.1.0**
 *  Ostatnia aktualizacja **2 miesiące temu**
 *  Włączone instalacje **10+**
 *  Wersja WordPressa ** 5.0 lub nowszej **
 *  Testowano do **7.1.3**
 *  Wersja PHP ** 7.0 lub nowszej **
 *  Język
 * [English (US)](https://wordpress.org/plugins/surf7-simple-maintenance-mode/)
 * Tagi
 * [maintenance](https://pl.wordpress.org/plugins/tags/maintenance/)[maintenance mode](https://pl.wordpress.org/plugins/tags/maintenance-mode/)
   [site maintenance](https://pl.wordpress.org/plugins/tags/site-maintenance/)[under construction](https://pl.wordpress.org/plugins/tags/under-construction/)
 *  [Widok zaawansowany](https://pl.wordpress.org/plugins/surf7-simple-maintenance-mode/advanced/)

## Oceny

Nie przesłano jeszcze żadnych recenzji.

[Twoja opinia](https://wordpress.org/support/plugin/surf7-simple-maintenance-mode/reviews/#new-post)

[Zobacz wszystkierecenzje.](https://wordpress.org/support/plugin/surf7-simple-maintenance-mode/reviews/)

## Zaangażowani

 *   [ Ben Leow ](https://profiles.wordpress.org/surf7net/)

## Wsparcie

Masz coś do dodania? Potrzebujesz pomocy?

 [Zobacz forum wsparcia](https://wordpress.org/support/plugin/surf7-simple-maintenance-mode/)