Title: Disable Site
Author: Jimmy K.
Published: <strong>25 de Xaneiro, 2014</strong>
Last modified: 29 de Decembro, 2014

---

Buscar plugins

![](https://ps.w.org/disable-site/assets/banner-772x250.png?rev=844979)

Este plugin **non se actualizou en máis de 2 anos**. É posible que xa non sexa compatible
ou mantido por ninguén, ou podes ter problemas de compatibilidade cando se usa con
novas versións de WordPress.

![](https://ps.w.org/disable-site/assets/icon-128x128.png?rev=1056555)

# Disable Site

 Por [Jimmy K.](https://profiles.wordpress.org/jklatt86/)

[Descargar](https://downloads.wordpress.org/plugin/disable-site.zip)

 * [Detalles](https://gl.wordpress.org/plugins/disable-site/#description)
 * [Valoracións](https://gl.wordpress.org/plugins/disable-site/#reviews)
 *  [Instalación](https://gl.wordpress.org/plugins/disable-site/#installation)
 * [Desenvolvemento](https://gl.wordpress.org/plugins/disable-site/#developers)

 [Soporte](https://wordpress.org/support/plugin/disable-site/)

## Descrición

A plugin to temporarily disable your website front-end and display a message
 to
your visitors while still allowing back-end access. This plugin can be enabled or
disabled with one click and also supports using your own custom HTML/CSS output 
for the splash page so you can make it as simple or as custom as you need it to 
be.

This plugin is especially useful if you need to temporarily make your site
 unavailable
to your visitors. For example, you’re working on a new blog or website and you want
to show a temporary “coming soon” page to your visitors while you’re working on 
it; or you’re fixing major bugs that would disrupt the user experience and need 
to make the front-end temporarily unavailable; or any other reason that you would
need to make your website temporarily unavailable.

This plugin can be configured to allow admin users (you) to still be able to
 view
the front-end while the splash page is enabled. If other users need to be able to
review the site, you can enable authenticated users and/or specific IP addresses
to be able to bypass the splash page as well.

#### Common uses for this plugin:

 * Displaying a splash page while you develop your blog or website
 * Temporarily making your site unavailable to visitors while you fix bugs, etc
 * Disabling a site if a client refuses to pay (we’ve all been there)

## Capturas

[⌊The admin interface showing the configuration page for this plugin.⌉⌊The admin
interface showing the configuration page for this plugin.⌉[

The admin interface showing the configuration page for this plugin.

[⌊The default splash page.⌉⌊The default splash page.⌉[

The default splash page.

[⌊An example of a customized splash page.⌉⌊An example of a customized splash page
.⌉[

An example of a customized splash page.

## Instalación

 1. Upload the `disable-site` plugin directory to the `/wp-content/plugins/` directory
    on your server.
 2. Activate the plugin through the `Plugins` menu in WordPress.
 3. Configure the plugin.
 4. Profit!

## Preguntas frecuentes

  Installation Instructions

 1. Upload the `disable-site` plugin directory to the `/wp-content/plugins/`
     directory
    on your server.
 2. Activate the plugin through the `Plugins` menu in WordPress.
 3. Configure the plugin.
 4. Profit!

  How do I change the default splash page message?

Simply navigate to the configuration page for the plugin and set the textfield
 
labeled `Custom Message` to your custom message.

  How do I specify my own HTML for the splash page?

There are two ways to do this: via the configuration page for the plugin, or
 in
code. To specify your own HTML via the configuration page, navigate to the configuration
page and paste your HTML and/or CSS into the field labeled `Custom HTML Output.

To specify your own HTML in code, paste the following in your `functions.php`
 file
and customize it to suit your needs.

    ```
    if ($disable_site_plugin) {
        $disable_site_plugin->set_output_html(
            'This is an example of <strong>custom</strong> HTML output.'
        );
    }
    ```

  Can my splash page include HTML, CSS, and JavaScript?

Yes it can! You can use any HTML, CSS, and/or JavaScript that you need.

  How do I disable the splash page?

Simply navigate to the configuration page for the plugin and set the dropdown
 labeled`
Enable Splash Page` to `No`.

  How do I allow administrators to bypass the splash page?

Simply navigate to the configuration page for the plugin and set the dropdown
 labeled`
Admin Access` to `Yes`.

  How do I allow authenticated users to bypass the splash page?

Simply navigate to the configuration page for the plugin and set the dropdown
 labeled`
Authenticated User Access` to `Yes`.

  How do I allow users from specific IP addresses to bypass the splash page?

Simply navigate to the configuration page for the plugin and enter each IP
 address
into the textarea labeled `Allowed IPs` (each one on it’s own line).

## Comentarios

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

### 󠀁[Simple PERFECTION more than 9 years](https://wordpress.org/support/topic/simple-perfection-more-than-9-years/)󠁿

 [mrwolfinformatica](https://profiles.wordpress.org/mrwolfinformatica/) 24 de Novembro,
2022

Just perfect, I’ve been using the same plugin for over 9 years now, and NEVER crashed,
NEVER broke anything, has never failed me since the first install ever. 200% philosophy
of perfect functional lightness

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

### 󠀁[did not work with wordpresss 5.02](https://wordpress.org/support/topic/did-not-work-with-wordpresss-5-02/)󠁿

 [Marcos](https://profiles.wordpress.org/conteudoanimal/) 2 de Xaneiro, 2019

did not work with wordpresss 5.02 #fail

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

### 󠀁[Perfect](https://wordpress.org/support/topic/perfect-5527/)󠁿

 [danshih](https://profiles.wordpress.org/danshih/) 12 de Novembro, 2018

Perfect tool with exactly the right features. Thanks!

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

### 󠀁[Simple and great](https://wordpress.org/support/topic/simple-and-great-83/)󠁿

 [vtekfi](https://profiles.wordpress.org/vtekfi/) 26 de Maio, 2017

Just perfect. No unnecessary stuff, plain and simple, easy to use. And it works!

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

### 󠀁[Very nice ! Easy to use !](https://wordpress.org/support/topic/very-nice-easy-to-use-3/)󠁿

 [gereex](https://profiles.wordpress.org/gereex/) 10 de Novembro, 2016

Very good, recommend for everyone 😉

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

### 󠀁[Works well](https://wordpress.org/support/topic/works-well-870/)󠁿

 [tmacka88](https://profiles.wordpress.org/tmacka88/) 25 de Outubro, 2016

Would be good to see an update though, to keep the plugin going.

 [ Ler todas as 24 opinións ](https://wordpress.org/support/plugin/disable-site/reviews/)

## Colaboradores e desenvolvedores

“Disable Site” é un software de código aberto. As seguintes persoas colaboraron 
con este plugin.

Colaboradores

 *   [ Jimmy K. ](https://profiles.wordpress.org/jklatt86/)

[Traduce “Disable Site” ao teu idioma.](https://translate.wordpress.org/projects/wp-plugins/disable-site)

### Interesado no desenvolvemento?

[Revisa o código](https://plugins.trac.wordpress.org/browser/disable-site/), bota
unha ollada ao[repositorio SVN](https://plugins.svn.wordpress.org/disable-site/),
ou subscríbete ao [log de desenvolvemento](https://plugins.trac.wordpress.org/log/disable-site/)
por [RSS](https://plugins.trac.wordpress.org/log/disable-site/?limit=100&mode=stop_on_copy&format=rss).

## Rexistro de cambios

#### 0.1

The initial release of this plugin.

#### 0.2

Cleaned everything up for release.

#### 1.1

Updated version number for the official initial release.

#### 1.2

Added custom message field and IP address filtering.

#### 1.2.1

Added 503 response header per @pembo13’s suggestion.

#### 1.3.1

Refactored to use appropriate WordPress coding standards.

## Meta

 *  Versión **1.3.1**
 *  Última actualización **Fai 9 anos**
 *  Instalacións activas **4.000+**
 *  Versión de WordPress ** 3.0.1 ou superior **
 *  Probado ata **4.1.42**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/disable-site/)
 * Etiquetas
 * [coming soon](https://gl.wordpress.org/plugins/tags/coming-soon/)[disable site](https://gl.wordpress.org/plugins/tags/disable-site/)
   [maintenance](https://gl.wordpress.org/plugins/tags/maintenance/)[splash page](https://gl.wordpress.org/plugins/tags/splash-page/)
   [temporary](https://gl.wordpress.org/plugins/tags/temporary/)
 *  [Vista avanzada](https://gl.wordpress.org/plugins/disable-site/advanced/)

## Valoracións

 5 de 5 estrelas

 *  [  24 valoracións de 5 estrelas     ](https://wordpress.org/support/plugin/disable-site/reviews/?filter=5)
 *  [  0 valoracións de 4 estrelas     ](https://wordpress.org/support/plugin/disable-site/reviews/?filter=4)
 *  [  0 valoracións de 3 estrelas     ](https://wordpress.org/support/plugin/disable-site/reviews/?filter=3)
 *  [  0 valoracións de 2 estrelas     ](https://wordpress.org/support/plugin/disable-site/reviews/?filter=2)
 *  [  0 valoracións de 1 estrelas     ](https://wordpress.org/support/plugin/disable-site/reviews/?filter=1)

[A túa valoración](https://wordpress.org/support/plugin/disable-site/reviews/#new-post)

[Ver todas as valoracións](https://wordpress.org/support/plugin/disable-site/reviews/)

## Colaboradores

 *   [ Jimmy K. ](https://profiles.wordpress.org/jklatt86/)

## Soporte

Tes algo que dicir? Necesitas axuda?

 [Ver o foro de soporte](https://wordpress.org/support/plugin/disable-site/)

## Doar

Queres apoiar o progreso deste plugin?

 [ Dona a este plugin ](http://www.nintencode.com)