Title: Desactivar la búsqueda
Author: Scott Reilly
Published: <strong>11 de Junio de  2009</strong>
Last modified: 14 de Abril de  2025

---

Buscar plugins

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

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

# Desactivar la búsqueda

 Por [Scott Reilly](https://profiles.wordpress.org/coffee2code/)

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

 * [Detalles](https://cl.wordpress.org/plugins/disable-search/#description)
 * [Reseñas](https://cl.wordpress.org/plugins/disable-search/#reviews)
 *  [Instalación](https://cl.wordpress.org/plugins/disable-search/#installation)
 * [Desarrollo](https://cl.wordpress.org/plugins/disable-search/#developers)

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

## Descripción

This plugin prevents WordPress from allowing and handling any search requests from
the front-end of the site. Specifically, this plugin:

 * Evita que aparezca el formulario de búsqueda si el tema utiliza la función estándar`
   get_search_form()` para mostrar el formulario de búsqueda.
 * Evita que aparezca el formulario de búsqueda si el tema usa una plantilla del
   archivo `searchform.php`
 * Prevents the search item from appearing in the admin tool bar when shown on the
   front-end.
 * Disables the search widget.
    - Removes the Search widget from the list of available widgets
    - Desactiva cualquier widget de búsqueda actualmente en uso en cualquier barra
      lateral (están ocultos, no borrados; reaparecerán en sus ubicaciones originales
      si se desactiva este plugin)
 * Disables the search block.
    - Removes the Search block from the list of available blocks
    - Deactivates any search blocks currently in use, such as in posts or as a widget(
      they are disabled, not deleted; they’ll reappear if this plugin gets deactivated
      and the associated placeholder block doesn’t get deleted)
 * Con o sin el formulario de búsqueda, el plugin impide que, cualquier petición
   directa o manual de los visitantes, ya sea a través de peticiones GET o POST,
   se devuelva realmente cualquier resultado de búsqueda.
 * Submitted attempts at a search will be given a 404 File Not Found response, rendered
   by your site’s 404.php template, if present.
 * Desactiva la salida de `SearchAction` en el esquema SEO por el plugin [Yoast SEO](https://wordpress.org/plugins/wordpress-seo/).

El plugin sólo afecta a la búsqueda en la parte visible para usuarios del sitio.
No desactiva la búsqueda en la sección de administración del sitio.

Enlaces: [Página principal del plugin](https://coffee2code.com/wp-plugins/disable-search/)
| [Página del plugin en el directorio de WordPress](https://wordpress.org/plugins/disable-search/)
| [GitHub](https://github.com/coffee2code/disable-search/) | [Web del autor](https://coffee2code.com)

## Instalación

 1. Install via the built-in WordPress plugin installer. Or install the plugin code
    inside the plugins directory for your site (typically `/wp-content/plugins/`).
 2. Activate the plugin through the ‘Plugins’ admin menu in WordPress

## FAQ

### ¿Desactivará esto las capacidades de búsqueda en la sección de administración del blog?

No.

### ¿Impedirá esto que Google y otros motores de búsqueda busquen en mi sitio?

No. Esto sólo desactiva las capacidades de WordPress con respecto a la búsqueda.

Search engines index your site and search their index of your site. They do not 
make use of your site’s native search capabilities. You can only prevent search 
engines from searching your site by blocking their web crawlers and purging their
cache of your site (which is well beyond the scope of this plugin).

### ¿Por qué sigo viendo un formulario de búsqueda en mi sitio a pesar de haber activado este plugin?

La causa más probable para esto es un tema que tiene el marcado para la búsqueda
incorporado en uno o más archivos de plantilla del tema (excluyendo el archivo `
searchform.php`). Esto está generalmente mal visto hoy en día (el tema debería llamar
a `get_search_form()` o usar el archivo `searchform.php` para obtener el formulario
de búsqueda). No hay forma de que este plugin evite que se muestre este formulario
incorporado.

Sin embargo, aún si ese fuera el caso, el formulario no funcionará (gracias a este
plugin), pero aún se mostrará.

### Can the front-end search only be selectively disabled, allowing it to appear and work under certain conditions (such as only for logged-in users, etc)?

No, not at this time, though it is feature being considered. (In truth, custom coding
could certainly be used to achieve this, but that obviously requires coding knowledge.)

### ¿Este plugin cumple el RGPD?

Sí. Este plugin no recopila, almacena o transmite información alguna de ningún usuario
o visitante del sitio.

### ¿Hace este plugin pruebas unitarias?

Yes. The tests are not packaged in the release .zip file or included in plugins.
svn.wordpress.org, but can be found in the [plugin’s GitHub repository](https://github.com/coffee2code/disable-search/).

## Reseñas

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

### 󠀁[nice](https://wordpress.org/support/topic/nice-4990/)󠁿

 [kojot](https://profiles.wordpress.org/kojot/) 27 de Febrero de 2026

super

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

### 󠀁[Magnificent little plugin](https://wordpress.org/support/topic/magnificent-little-plugin/)󠁿

 [awesiome](https://profiles.wordpress.org/awesiome/) 28 de Octubre de 2024

Does exactly what it says. Just activate and it completely disables all default 
WordPress search functionality from the frontend.

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

### 󠀁[The most effective way to avoid search spam](https://wordpress.org/support/topic/the-most-effective-way-to-avoid-search-spam/)󠁿

 [Fumiki Takahashi](https://profiles.wordpress.org/takahashi_fumiki/) 1 de Mayo 
de 2024

In 2024, numerous bots are crawling sites, generating significant search spam. Generally,
site search incurs high costs, primarily because we end up paying for CPU resources
consumed by spam. If site search is not crucial for your website, I recommend activating
this plugin. Thank you, Scott, for maintaining this simple yet effective plugin!

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

### 󠀁[Handful](https://wordpress.org/support/topic/handful/)󠁿

 [Dennis](https://profiles.wordpress.org/1404iran/) 9 de Febrero de 2022

Simple and Very Handful

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

### 󠀁[Easy to Use! Works Flawlessly!](https://wordpress.org/support/topic/easy-to-use-works-flawlessly-3/)󠁿

 [aliakey7](https://profiles.wordpress.org/aliakey7/) 2 de Enero de 2022

Love this plugin! Really didn’t want a search bar on my site and this took care 
of the problem. I have used this plugin for about a year with no hiccups at all.
Thank you for developing it!

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

### 󠀁[Great one](https://wordpress.org/support/topic/great-one-187/)󠁿

 [gerlofdelange](https://profiles.wordpress.org/gerlofdelange/) 17 de Septiembre
de 2021

I was looking for hours to hide the search form in the theme I am using. This plugin
worked in 2 clicks: install and activate Really great!!

 [ Leer los 16 comentarios ](https://wordpress.org/support/plugin/disable-search/reviews/)

## Colaboradores & Desarrolladores

“Desactivar la búsqueda” es software de código abierto. Las siguientes personas 
han contribuido a este plugin.

Colaboradores

 *   [ Scott Reilly ](https://profiles.wordpress.org/coffee2code/)

“Desactivar la búsqueda” ha sido traducido en 7 idiomas. Gracias a [los traductores](https://translate.wordpress.org/projects/wp-plugins/disable-search/contributors)
por sus contribuciones.

[Traduce “Desactivar la búsqueda” a tu idioma.](https://translate.wordpress.org/projects/wp-plugins/disable-search)

### ¿Interesado en el desarrollo?

[Revisa el código](https://plugins.trac.wordpress.org/browser/disable-search/), 
echa un vistazo al [repositorio SVN](https://plugins.svn.wordpress.org/disable-search/),
o suscríbete al [registro de desarrollo](https://plugins.trac.wordpress.org/log/disable-search/)
por [RSS](https://plugins.trac.wordpress.org/log/disable-search/?limit=100&mode=stop_on_copy&format=rss).

## Historial de cambios

#### 2.1.1 (2025-04-14)

 * Change: Discontinue unnecessary explicit loading of textdomain
 * Hardening: Ensure translated error message doesn’t contain markup
 * Cambio: Nota de compatibilidad con WP 6.8 y superior
 * Change: Note compatibility through PHP 8.3+
 * Change: Update copyright date (2025)
 * Unit tests:
    - Change: Use `expectException()` instead of `@expectedException` comment (for
      PHPUnit 9 support)

#### 2.1 (2024-08-08)

 * Change: Remove the admin bar search field with a higher priority than what it
   was changed to in WP 6.6.
 * Change: Check if core/search block is registered before attempting to unregister.
   Props toru.
 * Cambio: Compatibilidad con WP 6.6+
 * Change: Update copyright date (2024)
 * Change: Remove development and testing-related files from release packaging
 * Unit tests:
    - Hardening: Prevent direct web access to `bootstrap.php`
    - Fix: Define functions now expected by the bundled theme being used
 * New: Add some potential TODO items

#### 2.0.1 (2023-09-02)

 * Change: Safeguard JS from throwing error if WP JS isn’t loaded (should be rare
   to never)
 * Change: Note compatibility through WP 6.3+
 * Change: Update copyright date (2023)
 * Change: Tweak code alignment
 * New: Add `.gitignore` file
 * Unit tests:
    - Fix: Allow tests to run against current versions of WordPress
    - New: Add `composer.json` for PHPUnit Polyfill dependency
    - Change: Prevent PHP warnings due to missing core-related generated files

_El registro de cambios completo está disponible en [CHANGELOG.md](https://github.com/coffee2code/disable-search/blob/master/CHANGELOG.md)._.

## Meta

 *  Versión **2.1.1**
 *  Última actualización **hace 1 año**
 *  Instalaciones activas **40,000+**
 *  Versión de WordPress ** 4.6 o superior **
 *  Probado hasta **6.8.5**
 *  Idiomas
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/disable-search/), [Czech](https://cs.wordpress.org/plugins/disable-search/),
   [Dutch](https://nl.wordpress.org/plugins/disable-search/), [English (US)](https://wordpress.org/plugins/disable-search/),
   [German](https://de.wordpress.org/plugins/disable-search/), [Japanese](https://ja.wordpress.org/plugins/disable-search/),
   [Spanish (Chile)](https://cl.wordpress.org/plugins/disable-search/), y [Spanish (Spain)](https://es.wordpress.org/plugins/disable-search/).
 *  [Traducir a tu idioma](https://translate.wordpress.org/projects/wp-plugins/disable-search)
 * Etiquetas
 * [coffee2code](https://cl.wordpress.org/plugins/tags/coffee2code/)[disable](https://cl.wordpress.org/plugins/tags/disable/)
   [search](https://cl.wordpress.org/plugins/tags/search/)
 *  [Vista Avanzada](https://cl.wordpress.org/plugins/disable-search/advanced/)

## Calificaciones

 4.7 de 5 estrellas.

 *  [  14 valoraciones de 5 estrellas     ](https://wordpress.org/support/plugin/disable-search/reviews/?filter=5)
 *  [  1 valoración de 4 estrellas     ](https://wordpress.org/support/plugin/disable-search/reviews/?filter=4)
 *  [  0 valoraciones de 3 estrellas     ](https://wordpress.org/support/plugin/disable-search/reviews/?filter=3)
 *  [  0 valoraciones de 2 estrellas     ](https://wordpress.org/support/plugin/disable-search/reviews/?filter=2)
 *  [  1 valoración de 1 estrellas     ](https://wordpress.org/support/plugin/disable-search/reviews/?filter=1)

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

[Ver todas las reseñas](https://wordpress.org/support/plugin/disable-search/reviews/)

## Colaboradores

 *   [ Scott Reilly ](https://profiles.wordpress.org/coffee2code/)

## Soporte

¿Tienes algo que decir? ¿Necesitas ayuda?

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

## Donar

¿Te gustaría apoyar el avance de este plugin?

 [ Donar para este plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=6ARCFJ9TX3522)