Descripció
Fine-grained control over how search engines index and display your WordPress content. Apply 5 independent robots directives to 22 different page contexts with flexible implementation methods.
5 Robots Directives:
- noindex: Prevent search engines from indexing the page
- nofollow: Prevent search engines from following links on the page
- noarchive: Prevent search engines from showing cached versions
- nosnippet: Prevent search engines from showing text snippets in results
- noimageindex: Prevent search engines from indexing images on the page
Implementation Methods:
- HTML Meta Tags: Traditional method, easy to verify in page source (default)
- HTTP Headers: More robust, works with all content types including PDFs and images
- Both: Maximum compatibility for all scenarios
Control Levels:
- Global Settings: Apply directives to 22 different page contexts (posts, pages, archives, etc.)
- Granular Control (Optional): Override global settings for individual posts, pages, and custom post types via meta boxes in the editor
Perfect for:
- Blocking indexing of attachment pages while allowing link following
- Preventing duplicate content issues with flexible directive combinations
- Controlling archive page indexing with granular control
- Managing pagination SEO with independent settings
- Protecting private content from search engine caching
- Preventing snippet display while still indexing content
Main pages
- Pàgina d’inici: bloca la indexació de la portada.
- Inici: bloca la indexació de la pàgina inicial del lloc web.
Pages and Posts
- Pàgina: bloca la indexació de les pàgines del lloc web.
- Política de privadesa: bloca la indexació de la pàgina de política de privadesa del lloc web.
- Única: bloca la indexació d’una publicació al lloc web.
- Singular: bloca la indexació d’una entrada o pàgina del lloc web.
Taxonomies
- Categoria: bloca la indexació de les categories del lloc web. Les llistes on apareixen les entrades.
- Etiqueta: bloca la indexació de les etiquetes del lloc web. Les llistes on apareixen les entrades.
Dates
- Data: bloca la indexació quan qualsevol pàgina d’arxiu estigui basada en dates (és a dir, un fitxer mensual, anual, diari o basat en el temps) del lloc web. Les llistes on apareixen les entrades.
- Dia: bloca la indexació quan es fa un arxiu diari del lloc web. Les llistes on apareixen les entrades.
- Mes: bloca la indexació quan feu un arxiu mensual del lloc web. Les llistes on apareixen les entrades.
- Temps: bloca la indexació quan hi hagi un arxiu per hora, «minut» o «segon» del lloc web. Les llistes on apareixen les entrades.
- Any: bloca la indexació quan es faci un arxiu anual del lloc web. Les llistes on apareixen les entrades.
Archives
- Arxiu: bloca la indexació de qualsevol tipus de pàgina d’arxiu. Les pàgines basades en categoria, etiqueta, autor i data són tota mena d’arxius. Les llistes on apareixen les entrades.
- Autor: bloca la indexació de la pàgina de l’autor, on apareixen les seves entrades.
- Entrada de tipus arxiu: bloquegeu la indexació de qualsevol pàgina de tipus arxiu.
Pagination
- Paginació: bloca la indexació de la paginació, és a dir, totes les pàgines que no siguin la pàgina principal d’un arxiu.
Search
- Cerca: bloca la indexació de les pàgines de resultats de cerca interna.
Attachments
- Adjunt: bloca la indexació d’un fitxer adjunt a una publicació o pàgina. Un fitxer adjunt és una imatge o un altre fitxer penjat mitjançant la utilitat de càrrega de l’editor de publicacions. Els fitxers adjunts es poden mostrar a la seva pròpia «pàgina» o plantilla. Això no provocarà que es bloquegi la indexació de la imatge o el fitxer.
Previews
- Vista prèvia personalitzada: bloca la indexació quan un contingut es mostra en mode personalitzat.
- Vista prèvia: bloca la indexació quan una sola entrada es mostri en mode esborrany.
Error Page
- Error 404: Això farà que la indexació d’una pàgina d’error es bloquegi. Com que és una pàgina d’error, no s’ha d’indexar per se, però per si de cas.
Nota important: si teniu algun dubte sobre algun dels elements següents, és millor no activar l’opció, ja que podríeu perdre resultats als cercadors.
Using the plugin
REST API
The plugin exposes two read-only endpoints under /wp-json/noindex-seo/v1/ so headless consumers can read the configuration:
GET /settings: returns the consolidated settings array (contexts and directives plus config). Requires an authenticated user with themanage_optionscapability.GET /effective?post_id=123: returns the list of active directives for a specific post, computed with the same precedence used on the front-end (per-post override, then per-post-type default, then the built-in context). Public only for published, non-password-protected posts; everything else requiresedit_postcapabilities.
On WordPress versions with XML sitemaps (5.5+), URLs that are noindexed are automatically excluded from the core sitemaps.
Compatibility
- WordPress: 4.0 – 7.1
- PHP: 5.6 – 8.5
Compliance
This plugin adheres to the following security measures and review protocols for each version:
- WordPress Plugin Handbook
- WordPress Plugin Security
- WordPress APIs Security
- WordPress Coding Standards
- Plugin Check (PCP)
Privacy
- This plugin does not collect any information about your site, your identity, the plugins, themes or content the site has.
Vulnerabilities
- No vulnerabilities have been published up to version 3.1.3.
Found a security vulnerability? Please report it to us privately at the noindex SEO GitHub repository.
Instal·lació
Automatic download
Visit the plugin section in your WordPress, search for [noindex-seo]; download and install the plugin.
Manual download
Extract the contents of the ZIP and upload the contents to the /wp-content/plugins/noindex-seo/ directory. Once uploaded, it will appear in your plugin list.
PMF
-
Does the noindex directive remove the URL from the XML sitemap?
-
Yes. On WordPress 5.5 or newer, any URL that receives a noindex directive from the plugin is excluded from the core XML sitemaps (
/wp-sitemap.xml), both through the global context settings and through the granular per-post / per-term overrides. -
Both send the same robots directives to search engines. The meta tag method outputs a
<meta name="robots">tag in the HTML head and is easy to verify in the page source. The HTTP header method sends anX-Robots-Tagheader, which also works for non-HTML content such as PDFs, images and feeds. The «Both» method sends the two signals at the same time. -
Will I lose my settings when I uninstall the plugin?
-
No. By default all plugin data is preserved on uninstall. If you want a complete cleanup, enable the «Delete all plugin data on uninstall» option in the settings page before removing the plugin.
Ressenyes
Col·laboradors i desenvolupadors
«no índex SEO» és programari de codi obert. La següent gent ha col·laborat en aquesta extensió.
Col·laboradors“no índex SEO” s’ha traduït a 3 configuracions regionals. Gràcies als traductors per les seves aportacions.
Traduïu «no índex SEO» a la vostra llengua.
Interessats en el desenvolupament?
Navegueu pel codi, baixeu-vos el repositori SVN, o subscriviu-vos al registre de desenvolupament per fisl de subscripció RSS.
Registre de canvis
3.1.3
Compatibility release: WordPress 4.0+ and PHP 5.6+ supported again (the classic <meta name="robots"> output covers WordPress versions without the wp_robots API, and every newer-API integration degrades gracefully). Branding moved to robotstxt.software.
3.1.2
Audit-driven maintenance release: fixed the composer-audit gate in the preflight script, un-nested the settings page forms, added load_plugin_textdomain() for the bundled translations, pinned all dev dependencies, wired up coverage measurement.
3.1.1
Security: tightened the ACL on the REST endpoints. /settings now requires manage_options; /effective is public only for published, non-password-protected posts and requires edit_post for everything else.
Previous versions
If you want to see the full changelog, visit the noindex SEO plugin page.
