From 54122d3d951557da6c63d3ec18606ce8b43e4fe0 Mon Sep 17 00:00:00 2001 From: Javier Casares Date: Wed, 4 Nov 2026 13:43:04 +0000 Subject: [PATCH] v3.7.0 --- assets/css/admin.css | 28 ++ assets/js/admin.js | 49 +- changelog.txt | 39 ++ languages/noindex-seo-ca.mo | Bin 20667 -> 24175 bytes languages/noindex-seo-ca.po | 558 +++++++++++++-------- languages/noindex-seo-es_ES.mo | Bin 20512 -> 24158 bytes languages/noindex-seo-es_ES.po | 556 +++++++++++++-------- languages/noindex-seo.pot | 612 +++++++++++++---------- noindex-seo.php | 886 ++++++++++++++++++++++++++++++++- readme.txt | 26 +- 10 files changed, 2055 insertions(+), 699 deletions(-) diff --git a/assets/css/admin.css b/assets/css/admin.css index 48192ae..58c776b 100644 --- a/assets/css/admin.css +++ b/assets/css/admin.css @@ -852,3 +852,31 @@ input:checked + .noindex-seo-slider:before { margin-top: 4px; line-height: 1; } + +/* =========================== + Robots.txt management (3.7.0) + =========================== */ + +.noindex-seo-robotstxt-table { + margin-top: 12px; +} + +.noindex-seo-robotstxt-table input[type="text"] { + width: 100%; + max-width: 320px; +} + +.noindex-seo-robotstxt-preview { + max-width: 480px; + padding: 12px; + background: #fff; + border: 1px solid #c3c4c7; + border-radius: 3px; + overflow: auto; +} + +.noindex-seo-robotstxt-preview code { + font-family: Consolas, Monaco, monospace; + font-size: 12px; + white-space: pre; +} diff --git a/assets/js/admin.js b/assets/js/admin.js index 13cdd70..dc9e784 100644 --- a/assets/js/admin.js +++ b/assets/js/admin.js @@ -21,22 +21,24 @@ } /** - * Initialize the conditional-rules table (add / remove rows) + * Initialize the rule tables (conditional rules + robots.txt): + * add / remove rows, and the robots.txt preset buttons. */ function initRules() { - // Add rule: clone the last row and clear its inputs. + // Add rule: clone the last row of the target container and clear it. $( '.noindex-seo-rule-add' ).on( 'click', function () { - const $rows = $( '.noindex-seo-rule-rows' ); - const max = parseInt( $rows.data( 'max-rules' ) || 20, 10 ); + const target = $( this ).data( 'target' ) || '.noindex-seo-rule-rows'; + const $rows = $( target ).first(); + const max = parseInt( $rows.data( 'max-rules' ) || 20, 10 ); if ( $rows.find( '.noindex-seo-rule-row' ).length >= max ) { return; } const $clone = $rows.find( '.noindex-seo-rule-row' ).last().clone(); - $clone.find( 'input' ).val( '' ); + $clone.find( 'input[type="text"], input[type="number"], input[type="datetime-local"]' ).val( '' ); $rows.append( $clone ); } ); @@ -52,10 +54,45 @@ if ( $rows.find( '.noindex-seo-rule-row' ).length > 1 ) { $row.remove(); } else { - $row.find( 'input' ).val( '' ); + $row.find( 'input[type="text"]' ).val( '' ); } } ); + + // Robots.txt presets: append one blocked row per bot of the preset + // (skipping agents that already have a rule). + $( '.noindex-seo-robotstxt-preset' ).on( + 'click', + function () { + const preset = $( this ).data( 'preset' ); + const bots = ( 'search' === preset ) ? ( window.noindexSeoAdmin.searchBots || [] ) : ( window.noindexSeoAdmin.aiBots || [] ); + const $rows = $( '.noindex-seo-robotstxt-rows' ).first(); + const max = parseInt( $rows.data( 'max-rules' ) || 30, 10 ); + + const existing = {}; + $rows.find( 'input[name="noindex_seo_robotstxt_agent[]"]' ).each( + function () { + existing[ $( this ).val().toLowerCase() ] = true; + } + ); + + bots.forEach( + function ( bot ) { + if ( existing[ bot.toLowerCase() ] ) { + return; + } + if ( $rows.find( '.noindex-seo-rule-row' ).length >= max ) { + return; + } + + const $clone = $rows.find( '.noindex-seo-rule-row' ).last().clone(); + $clone.find( 'input[name="noindex_seo_robotstxt_agent[]"]' ).val( bot ); + $clone.find( 'select' ).val( 'block' ); + $rows.append( $clone ); + } + ); + } + ); } /** diff --git a/changelog.txt b/changelog.txt index 5857615..a9ee4b0 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,5 +1,44 @@ == Changelog == += 3.7.0 = + +_Release date: 2026-11-03_ + +**Highlights** + +* Import from other SEO plugins (spec section 5): on-demand migration of the noindex / nofollow flags stored by Yoast SEO, Rank Math, SEOPress and All in One SEO into noindex SEO per-post and per-term overrides — detected from data presence (the source plugin does not need to be installed), user-confirmed, and never overwriting content that already has its own override. +* Virtual robots.txt management (spec section 7): block (`Disallow: /`) or allow (`Allow: /`) individual crawlers, appended to the robots.txt WordPress generates virtually — never replacing it — with one-click presets for the well-known AI and search-engine crawlers. Inactive by default. + +**Added** + +* **Import from other plugins.** A new section on the Import / Export tab lists every supported source plugin together with how many posts and terms carry its robots flags, and imports the checked ones on explicit confirmation. The runner converts source flags into granular overrides (`_noindex_seo_override=1` plus noindex / nofollow), skips and reports content that already carries a noindex SEO override row (an explicit "off" counts as data), re-verifies LIKE-based matches (Rank Math's serialized arrays) per post so false positives are dropped, and whitelists source slugs server-side. Sources are data-driven and filterable (`noindex_seo_import_sources`) so third parties can register or correct one. +* **Robots.txt tab.** A fourth settings tab manages up to 30 bot rules (User-agent token + block/allow policy; `*` wildcard supported, duplicates collapse, agents stripped to the robots.txt-legal charset). The rules are appended through core's `robots_txt` filter only while the feature is enabled, a live preview shows the exact block appended, and preset buttons add the well-known AI crawlers (GPTBot, ClaudeBot, Google-Extended, CCBot, Bytespider… — filterable via `noindex_seo_ai_bots`) or the main search engine crawlers (`noindex_seo_search_bots`) as blocked rules. The core output — and a physical robots.txt or "Discourage search engines" — always takes precedence. +* The robots.txt settings ride the consolidated option and the JSON export/import. + +**Changed** + +* The settings page gained a fourth tab (General / SEO Settings / Import-Export / Robots.txt); the rule-table JavaScript is now shared between the conditional rules and the robots.txt tables, scoped per container. + +**Fixed** + +* Block editor granular overrides now save on custom post types registered without `custom-fields` support (a very common CPT registration). Without that support the REST API exposes no `meta` field for the post type, so the editor sidebar's saves were silently dropped with an HTTP 200 — the override checkbox appeared to do nothing. The plugin now adds `custom-fields` support for exactly the post types it registers meta on (while per-post granular control is enabled). + +**Security** + +* No new attack surface: the import handler is `manage_options` + nonce gated with whitelisted sources, writes only through the meta API after re-reading each source flag, and skips content with existing override data; robots.txt agents are charset-stripped (no newline or comment injection into the file) and policies are whitelisted; the tab form rides the existing nonce + capability path. PHPCS/PHPStan/composer audit clean. + +**Compatibility** + +* WordPress: 7.0 - 7.2 +* PHP: 8.3 - 8.6 + +**Tests** + +* PHPUnit: 9.6.38 (230 tests, 1152 assertions, all passing) on the WordPress 7.2-beta3 test library, run under PHP 8.3, 8.4, 8.5 and 8.6.0RC3 — including the new robots.txt sanitization/output/filter/form suites and the import detection/conversion/never-overwrite/false-positive/handler suites. +* PHPCompatibility: 0 errors on the declared range 8.3-8.6 and on the full review range 5.6-8.6. +* PHPCS (WordPress-Core, -Docs, -Extra) and PHPStan level 9: 0 errors. +* Translations: Catalan and Spanish catalogs regenerated and 100% complete (209 strings each). + = 3.6.0 = _Release date: 2026-11-03_ diff --git a/languages/noindex-seo-ca.mo b/languages/noindex-seo-ca.mo index 17f19847ef88e6ff8ea8bd759a68d62fbce9d7f8..ced548a4b8fee6d18e6a3c41905f6fe00522f0ba 100644 GIT binary patch delta 7663 zcmb7{36vGpna8Wyp+i^{6xl9I+Y8-~McHXcOM|o^v@99}##Fyo-Tmm-ubx%)dKuK` zBu1k#(V<<&U;s&sF$4wLF(ViU?Tm@2LG;W_;y9i&OB|DU#G~ghah%cl{j2IV5a;B~ z)Zzbrw{BJ4``z#R?suD`50{*Jrlj!J*g^MMT(6@^=*c0LHKD|^){RuJWgQ%2SqtDH zI2yha^CLKv`w?R;i+|SGm}PJ>_lw{#cr`o^UJv!X4=;kZLcT9pduZszM_~;-2=(Gy zuoRwx*kpYSe-8&Rng)E2pNn;WzGcmWm2e5%24}+uU<3R)oCU{>i^i{oRou71napq9 zPotcUqp%wOD_jgmkGHG@yaMWjZa58oA6CE@;2d}gUJA_xmemfoKz-K-HQonM228y$ zGHfl>{SH{m{MMs1^uceSLU8^B%NhjdLV0FE%oXr^+^>P3gYQD3V0{F)!BYJCm#`J8 zzhq*>^Pt8ngNkYu90(V|!VDVAXkeuE6*wPuL51RRh%>A=A&ay=fOT*##I@Pjn=6)hv2fs5F|4$*?|DBFnIAmI6K>hS6 zOE*Bpb~}_u_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Bb7SXX zoakX6&0zlj!hwyvHD1AoDxAl0U?ndX+Ks3+pT*lqYqtb-C#x`A-y{3Wwjlf1PP#@` zIe(~3!&Hth!U9~65qJnSkk|cG)Zr=jz&VVeeFdZO8fq7Rg;5xFw{w014x#PE1{{aK z#4gmpYQN?5Q;+I@4Ql3^P#11NZC3wYD$GP^behr|WrSNv#PvjX_e0W2m_6fXp}q1n zs<1ahcc%L5`k-jQ+TbN>P~Ifnq>!v6ef71b?@6LZL}e!#L%vUT6O}BYNASBOpUfvL zeQ3#E!Vbbpg*KJ$axYP7bqIYnxpmFv7V;_y*YJE)77~>Q$+rp1_>HoLR-jRd zjT|D2h)Oy+PP9){H0?K++M60>Zhf$(N9&=re8xR^6i1OZqTPLvEGIuD%_NejB#_sL z_KQjl8BQKhgR+BcBIDJdyg(i%yVRiEM?%lPHo_Y^;+D;*7t%Jjy&Buey>9zQSV#7g zACP*ok!&D)$n8Xhr#MvR@|j2OCrd&{oR1=BdpLj5PUTn{S?hckdXpWX{)F3JirJ)v zEFeE2%gD_o%x%1l-yth*`m&4qi{vTy*c^OI>;D{;VdN3Aim0TJ4DvHlK~&a}AbFPL z5dJFaS$`fW8|>bKbNRX34NM<&-Ec}AcIIe*-li( zI)pxt@wt@*$l}lu=WoAz+`6bHjbt>LN#>FML?!WgK1xGXvmaw1CMhkjAZbXjDXHEQ z_%t~&c)#{^=Bo(m+UHU~1&`d_ W78YDQdz~kkTD{g2JUZ`K)c*mvRL6(_ diff --git a/languages/noindex-seo-ca.po b/languages/noindex-seo-ca.po index 0658c70..bb8b655 100644 --- a/languages/noindex-seo-ca.po +++ b/languages/noindex-seo-ca.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: noindex SEO 3.1.3\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/noindex-seo\n" -"POT-Creation-Date: 2026-11-03T17:16:14+00:00\n" +"POT-Creation-Date: 2026-11-03T20:17:27+00:00\n" "PO-Revision-Date: 2026-08-17T20:00+00:00\n" "Last-Translator: ROBOTSTXT \n" "Language-Team: Catalan — https://translate.wordpress.org/locale/ca/default/\n" @@ -18,7 +18,7 @@ msgstr "" "X-Domain: noindex-seo\n" #. Plugin Name of the plugin -#: noindex-seo.php noindex-seo.php:2044 noindex-seo.php:2045 +#: noindex-seo.php noindex-seo.php:2590 noindex-seo.php:2591 msgid "noindex SEO" msgstr "noindex SEO" @@ -48,40 +48,40 @@ msgstr "ROBOTSTXT" msgid "https://www.robotstxt.software/" msgstr "https://www.robotstxt.software/" -#: noindex-seo.php:1449 +#: noindex-seo.php:1993 msgid "Post ID to compute effective directives for." msgstr "ID de l'entrada per a calcular les directives efectives." -#: noindex-seo.php:1476 +#: noindex-seo.php:2020 msgid "You do not have permission to read the noindex SEO settings." msgstr "No teniu permís per a llegir els ajustaments de noindex SEO." -#: noindex-seo.php:1526 +#: noindex-seo.php:2070 msgid "You do not have permission to read directives for this post." msgstr "No teniu permís per a llegir les directives d'aquesta entrada." -#: noindex-seo.php:1589 +#: noindex-seo.php:2133 msgid "No post exists with that post_id." msgstr "No existeix cap entrada amb aquest post_id." -#: noindex-seo.php:1895 +#: noindex-seo.php:2439 msgid "Settings saved successfully!" msgstr "S'han desat els ajustaments correctament." -#: noindex-seo.php:1896 +#: noindex-seo.php:2440 msgid "Expand All" msgstr "Expandeix-ho tot" -#: noindex-seo.php:1897 +#: noindex-seo.php:2441 msgid "Collapse All" msgstr "Redueix-ho tot" -#: noindex-seo.php:1977 +#: noindex-seo.php:2523 msgid "Settings" msgstr "Ajustaments" #. translators: plugin name. -#: noindex-seo.php:2270 +#: noindex-seo.php:2816 #, php-format msgid "" "noindex SEO has detected that %s is active. This may cause conflicts. Please " @@ -91,7 +91,7 @@ msgstr "" "Configureu les opcions en conseqüència." #. translators: %s: comma-separated list of wp_robots callbacks. -#: noindex-seo.php:2291 +#: noindex-seo.php:2837 #, php-format msgid "" "noindex SEO has detected that another plugin or theme is adding robots " @@ -102,20 +102,20 @@ msgstr "" "directrius de robots a través de l'API wp_robots (%s). Això pot causar " "conflictes. Configureu les opcions en conseqüència." -#: noindex-seo.php:2408 noindex-seo.php:2561 noindex-seo.php:2612 -#: noindex-seo.php:2710 +#: noindex-seo.php:2954 noindex-seo.php:3129 noindex-seo.php:3180 +#: noindex-seo.php:3284 noindex-seo.php:3345 msgid "Permission denied." msgstr "S'ha denegat el permís." -#: noindex-seo.php:3402 noindex-seo.php:3791 assets/js/editor-sidebar.js:176 +#: noindex-seo.php:4033 noindex-seo.php:4422 assets/js/editor-sidebar.js:176 msgid "Search Engine Visibility" msgstr "Visibilitat als cercadors" -#: noindex-seo.php:3463 noindex-seo.php:4161 assets/js/editor-sidebar.js:187 +#: noindex-seo.php:4094 noindex-seo.php:4792 assets/js/editor-sidebar.js:187 msgid "Override global settings" msgstr "Sobreescriu els ajustaments globals" -#: noindex-seo.php:3468 +#: noindex-seo.php:4099 msgid "" "When enabled, these directives will override the global settings for this " "specific content." @@ -123,97 +123,97 @@ msgstr "" "En activar-se, aquestes directrius sobreescriuran els ajustaments globals " "per a aquest contingut específic." -#: noindex-seo.php:3475 +#: noindex-seo.php:4106 msgid "Prevent indexing" msgstr "Evita la indexació" -#: noindex-seo.php:3480 +#: noindex-seo.php:4111 msgid "Prevent link following" msgstr "Evita el seguiment d'enllaços" -#: noindex-seo.php:3485 +#: noindex-seo.php:4116 msgid "Prevent caching" msgstr "Evita la memòria cau" -#: noindex-seo.php:3490 +#: noindex-seo.php:4121 msgid "Prevent snippets" msgstr "Evita els fragments" -#: noindex-seo.php:3495 +#: noindex-seo.php:4126 msgid "Prevent image indexing" msgstr "Evita la indexació d'imatges" -#: noindex-seo.php:3500 +#: noindex-seo.php:4131 msgid "Prevent translation" msgstr "Evita la traducció" -#: noindex-seo.php:3505 +#: noindex-seo.php:4136 msgid "Value directives (empty = off):" msgstr "Directives amb valor (buit = desactivat):" -#: noindex-seo.php:3508 noindex-seo.php:3514 noindex-seo.php:3523 -#: noindex-seo.php:3810 noindex-seo.php:3818 noindex-seo.php:4195 -#: noindex-seo.php:4200 noindex-seo.php:4208 noindex-seo.php:5296 -#: noindex-seo.php:5312 assets/js/editor-sidebar.js:141 +#: noindex-seo.php:4139 noindex-seo.php:4145 noindex-seo.php:4154 +#: noindex-seo.php:4441 noindex-seo.php:4449 noindex-seo.php:4826 +#: noindex-seo.php:4831 noindex-seo.php:4839 noindex-seo.php:5923 +#: noindex-seo.php:5939 assets/js/editor-sidebar.js:141 msgid "Off" msgstr "Desactivat" -#: noindex-seo.php:3509 noindex-seo.php:4962 +#: noindex-seo.php:4140 noindex-seo.php:5589 msgid "Maximum snippet length in characters (-1 = no limit)" msgstr "Longitud màxima del fragment en caràcters (-1 = sense límit)" -#: noindex-seo.php:3515 noindex-seo.php:3811 noindex-seo.php:4201 -#: noindex-seo.php:5313 assets/js/editor-sidebar.js:142 +#: noindex-seo.php:4146 noindex-seo.php:4442 noindex-seo.php:4832 +#: noindex-seo.php:5940 assets/js/editor-sidebar.js:142 msgid "none" msgstr "cap" -#: noindex-seo.php:3516 noindex-seo.php:3812 noindex-seo.php:4202 -#: noindex-seo.php:5314 assets/js/editor-sidebar.js:143 +#: noindex-seo.php:4147 noindex-seo.php:4443 noindex-seo.php:4833 +#: noindex-seo.php:5941 assets/js/editor-sidebar.js:143 msgid "standard" msgstr "estàndard" -#: noindex-seo.php:3517 noindex-seo.php:3813 noindex-seo.php:4203 -#: noindex-seo.php:5315 assets/js/editor-sidebar.js:144 +#: noindex-seo.php:4148 noindex-seo.php:4444 noindex-seo.php:4834 +#: noindex-seo.php:5942 assets/js/editor-sidebar.js:144 msgid "large" msgstr "gran" -#: noindex-seo.php:3519 noindex-seo.php:4967 +#: noindex-seo.php:4150 noindex-seo.php:5594 msgid "Maximum image preview size" msgstr "Mida màxima de la previsualització d'imatges" -#: noindex-seo.php:3524 noindex-seo.php:4972 +#: noindex-seo.php:4155 noindex-seo.php:5599 msgid "Maximum video preview seconds (-1 = no limit)" msgstr "Segons màxims de la previsualització de vídeo (-1 = sense límit)" -#: noindex-seo.php:3529 +#: noindex-seo.php:4160 msgid "Stop indexing after this date and time" msgstr "Deixa d'indexar després d'aquesta data i hora" -#: noindex-seo.php:3537 +#: noindex-seo.php:4168 msgid "Effective Directives:" msgstr "Directrius efectives:" -#: noindex-seo.php:3547 +#: noindex-seo.php:4178 msgid "Override active:" msgstr "Sobreescriptura activa:" -#: noindex-seo.php:3552 +#: noindex-seo.php:4183 msgid "Override enabled but no directives selected" msgstr "Sobreescriptura activada però sense directrius seleccionades" -#: noindex-seo.php:3558 +#: noindex-seo.php:4189 msgid "Global settings:" msgstr "Ajustaments globals:" -#: noindex-seo.php:3563 +#: noindex-seo.php:4194 msgid "No restrictions (indexable)" msgstr "Sense restriccions (indexable)" -#: noindex-seo.php:3795 +#: noindex-seo.php:4426 msgid "Override global settings for this term" msgstr "Sobreescriu els ajustaments globals d'aquest terme" -#: noindex-seo.php:3826 +#: noindex-seo.php:4457 msgid "" "When override is enabled, the directives checked above apply to this term's " "archive page and take precedence over the global category / tag / archive " @@ -223,69 +223,69 @@ msgstr "" "asobre s'apliquen a la pàgina d'arxiu d'aquest terme i prevalen sobre " "elsajustaments globals de categories, etiquetes i arxius." -#: noindex-seo.php:3928 noindex-seo.php:3934 noindex-seo.php:4050 -#: noindex-seo.php:4056 +#: noindex-seo.php:4559 noindex-seo.php:4565 noindex-seo.php:4681 +#: noindex-seo.php:4687 msgid "Robots" msgstr "Robots" -#: noindex-seo.php:3992 noindex-seo.php:4111 +#: noindex-seo.php:4623 noindex-seo.php:4742 msgid "Override (none)" msgstr "Sobreescriptura (cap)" -#: noindex-seo.php:4157 +#: noindex-seo.php:4788 msgid "Robots Directives" msgstr "Directrius Robots" -#: noindex-seo.php:4167 noindex-seo.php:4931 +#: noindex-seo.php:4798 noindex-seo.php:5558 msgid "noindex" msgstr "noindex" -#: noindex-seo.php:4172 noindex-seo.php:4936 +#: noindex-seo.php:4803 noindex-seo.php:5563 msgid "nofollow" msgstr "nofollow" -#: noindex-seo.php:4177 noindex-seo.php:4941 +#: noindex-seo.php:4808 noindex-seo.php:5568 msgid "noarchive" msgstr "noarchive" -#: noindex-seo.php:4182 noindex-seo.php:4946 +#: noindex-seo.php:4813 noindex-seo.php:5573 msgid "nosnippet" msgstr "nosnippet" -#: noindex-seo.php:4187 noindex-seo.php:4951 +#: noindex-seo.php:4818 noindex-seo.php:5578 msgid "noimageindex" msgstr "noimageindex" -#: noindex-seo.php:4192 noindex-seo.php:4956 +#: noindex-seo.php:4823 noindex-seo.php:5583 msgid "notranslate" msgstr "notranslate" -#: noindex-seo.php:4196 noindex-seo.php:4961 +#: noindex-seo.php:4827 noindex-seo.php:5588 msgid "max-snippet" msgstr "max-snippet" -#: noindex-seo.php:4205 noindex-seo.php:4966 +#: noindex-seo.php:4836 noindex-seo.php:5593 msgid "max-image-preview" msgstr "max-image-preview" -#: noindex-seo.php:4209 noindex-seo.php:4971 +#: noindex-seo.php:4840 noindex-seo.php:5598 msgid "max-video-preview" msgstr "max-video-preview" -#: noindex-seo.php:4213 noindex-seo.php:4976 +#: noindex-seo.php:4844 noindex-seo.php:5603 msgid "unavailable_after" msgstr "unavailable_after" -#: noindex-seo.php:4326 +#: noindex-seo.php:4957 msgid "Enable Robots Override" msgstr "Activa la sobreescriptura Robots" -#: noindex-seo.php:4327 +#: noindex-seo.php:4958 msgid "Disable Robots Override" msgstr "Desactiva la sobreescriptura Robots" #. translators: %d: Number of posts updated -#: noindex-seo.php:4424 +#: noindex-seo.php:5050 #, php-format msgid "Robots override enabled for %d post." msgid_plural "Robots override enabled for %d posts." @@ -293,309 +293,315 @@ msgstr[0] "S'ha activat la sobreescriptura Robots per a %d entrada." msgstr[1] "S'ha activat la sobreescriptura Robots per a %d entrades." #. translators: %d: Number of posts updated -#: noindex-seo.php:4445 +#: noindex-seo.php:5071 #, php-format msgid "Robots override disabled for %d post." msgid_plural "Robots override disabled for %d posts." msgstr[0] "S'ha desactivat la sobreescriptura Robots per a %d entrada." msgstr[1] "S'ha desactivat la sobreescriptura Robots per a %d entrades." -#: noindex-seo.php:4494 +#: noindex-seo.php:5120 msgid "All robots settings" msgstr "Tots els ajustaments robots" -#: noindex-seo.php:4496 +#: noindex-seo.php:5122 msgid "With override" msgstr "Amb sobreescriptura" -#: noindex-seo.php:4499 +#: noindex-seo.php:5125 msgid "Without override" msgstr "Sense sobreescriptura" -#: noindex-seo.php:4618 +#: noindex-seo.php:5244 msgid "You do not have sufficient permissions to access this page." msgstr "No teniu permisos suficients per a accedir a aquesta pàgina." -#: noindex-seo.php:4619 +#: noindex-seo.php:5245 msgid "Permission Denied" msgstr "Permís denegat" -#: noindex-seo.php:4631 +#: noindex-seo.php:5257 msgid "General" msgstr "General" -#: noindex-seo.php:4632 +#: noindex-seo.php:5258 msgid "SEO Settings" msgstr "Ajustaments SEO" -#: noindex-seo.php:4633 +#: noindex-seo.php:5259 msgid "Import / Export" msgstr "Importació i exportació" -#: noindex-seo.php:4653 +#: noindex-seo.php:5260 +msgid "Robots.txt" +msgstr "Robots.txt" + +#: noindex-seo.php:5280 msgid "Main Pages" msgstr "Pàgines principals" -#: noindex-seo.php:4656 +#: noindex-seo.php:5283 msgid "Front Page" msgstr "Pàgina d'inici" -#: noindex-seo.php:4657 noindex-seo.php:4664 noindex-seo.php:4676 -#: noindex-seo.php:4682 noindex-seo.php:4689 noindex-seo.php:4695 -#: noindex-seo.php:4706 noindex-seo.php:4712 noindex-seo.php:4723 -#: noindex-seo.php:4729 noindex-seo.php:4735 noindex-seo.php:4741 -#: noindex-seo.php:4747 noindex-seo.php:4758 noindex-seo.php:4764 -#: noindex-seo.php:4770 noindex-seo.php:4781 noindex-seo.php:4792 -#: noindex-seo.php:4803 noindex-seo.php:4814 noindex-seo.php:4820 -#: noindex-seo.php:4831 noindex-seo.php:4855 noindex-seo.php:4896 -#: noindex-seo.php:5254 +#: noindex-seo.php:5284 noindex-seo.php:5291 noindex-seo.php:5303 +#: noindex-seo.php:5309 noindex-seo.php:5316 noindex-seo.php:5322 +#: noindex-seo.php:5333 noindex-seo.php:5339 noindex-seo.php:5350 +#: noindex-seo.php:5356 noindex-seo.php:5362 noindex-seo.php:5368 +#: noindex-seo.php:5374 noindex-seo.php:5385 noindex-seo.php:5391 +#: noindex-seo.php:5397 noindex-seo.php:5408 noindex-seo.php:5419 +#: noindex-seo.php:5430 noindex-seo.php:5441 noindex-seo.php:5447 +#: noindex-seo.php:5458 noindex-seo.php:5482 noindex-seo.php:5523 +#: noindex-seo.php:5881 msgid "Recommended" msgstr "Recomanat" -#: noindex-seo.php:4659 +#: noindex-seo.php:5286 msgid "Block the indexing of the site's front page." msgstr "Bloqueja la indexació de la pàgina d'inici del lloc." -#: noindex-seo.php:4663 +#: noindex-seo.php:5290 msgid "Home" msgstr "Inici" -#: noindex-seo.php:4666 +#: noindex-seo.php:5293 msgid "Block the indexing of the site's home page." msgstr "Bloqueja la indexació de la pàgina principal del lloc." -#: noindex-seo.php:4672 +#: noindex-seo.php:5299 msgid "Pages and Posts" msgstr "Pàgines i entrades" -#: noindex-seo.php:4675 +#: noindex-seo.php:5302 msgid "Page" msgstr "Pàgina" -#: noindex-seo.php:4678 +#: noindex-seo.php:5305 msgid "Block the indexing of site pages." msgstr "Bloqueja la indexació de les pàgines del lloc." -#: noindex-seo.php:4681 +#: noindex-seo.php:5308 msgid "Privacy Policy" msgstr "Política de privadesa" -#: noindex-seo.php:4684 +#: noindex-seo.php:5311 msgid "Block the indexing of the privacy policy page." msgstr "Bloqueja la indexació de la pàgina de política de privadesa." -#: noindex-seo.php:4688 +#: noindex-seo.php:5315 msgid "Single Post" msgstr "Entrada individual" -#: noindex-seo.php:4691 +#: noindex-seo.php:5318 msgid "Block the indexing of individual posts." msgstr "Bloqueja la indexació d'entrades individuals." -#: noindex-seo.php:4694 +#: noindex-seo.php:5321 msgid "Singular" msgstr "Singular" -#: noindex-seo.php:4697 +#: noindex-seo.php:5324 msgid "Block the indexing of any singular content (post or page)." -msgstr "Bloqueja la indexació de qualsevol contingut singular (entrada o pàgina)." +msgstr "" +"Bloqueja la indexació de qualsevol contingut singular (entrada o pàgina)." "Bloqueja la indexació de qualsevol contingut singular (entrada o pàgina)." -#: noindex-seo.php:4702 +#: noindex-seo.php:5329 msgid "Taxonomies" msgstr "Taxonomies" -#: noindex-seo.php:4705 +#: noindex-seo.php:5332 msgid "Category" msgstr "Categoria" -#: noindex-seo.php:4708 +#: noindex-seo.php:5335 msgid "Block the indexing of category archive pages." msgstr "Bloqueja la indexació de les pàgines d'arxiu de categories." -#: noindex-seo.php:4711 +#: noindex-seo.php:5338 msgid "Tag" msgstr "Etiqueta" -#: noindex-seo.php:4714 +#: noindex-seo.php:5341 msgid "Block the indexing of tag archive pages." msgstr "Bloqueja la indexació de les pàgines d'arxiu d'etiquetes." -#: noindex-seo.php:4719 +#: noindex-seo.php:5346 msgid "Date Archives" msgstr "Arxius de data" -#: noindex-seo.php:4722 +#: noindex-seo.php:5349 msgid "Date" msgstr "Data" -#: noindex-seo.php:4725 +#: noindex-seo.php:5352 msgid "Block the indexing of any date-based archive page." msgstr "Bloqueja la indexació de qualsevol pàgina d'arxiu basada en data." -#: noindex-seo.php:4728 +#: noindex-seo.php:5355 msgid "Day" msgstr "Dia" -#: noindex-seo.php:4731 +#: noindex-seo.php:5358 msgid "Block the indexing of daily archive pages." msgstr "Bloqueja la indexació d'arxius diaris." -#: noindex-seo.php:4734 +#: noindex-seo.php:5361 msgid "Month" msgstr "Mes" -#: noindex-seo.php:4737 +#: noindex-seo.php:5364 msgid "Block the indexing of monthly archive pages." msgstr "Bloqueja la indexació d'arxius mensuals." -#: noindex-seo.php:4740 +#: noindex-seo.php:5367 msgid "Time" msgstr "Hora" -#: noindex-seo.php:4743 +#: noindex-seo.php:5370 msgid "Block the indexing of time-based archive pages." msgstr "Bloqueja la indexació d'arxius basats en hora." -#: noindex-seo.php:4746 +#: noindex-seo.php:5373 msgid "Year" msgstr "Any" -#: noindex-seo.php:4749 +#: noindex-seo.php:5376 msgid "Block the indexing of yearly archive pages." msgstr "Bloqueja la indexació d'arxius anuals." -#: noindex-seo.php:4754 +#: noindex-seo.php:5381 msgid "Archives" msgstr "Arxius" -#: noindex-seo.php:4757 +#: noindex-seo.php:5384 msgid "Archive" msgstr "Arxiu" -#: noindex-seo.php:4760 +#: noindex-seo.php:5387 msgid "Block the indexing of any type of archive page." msgstr "Bloqueja la indexació de qualsevol tipus de pàgina d'arxiu." -#: noindex-seo.php:4763 +#: noindex-seo.php:5390 msgid "Author" msgstr "Autor" -#: noindex-seo.php:4766 +#: noindex-seo.php:5393 msgid "Block the indexing of author archive pages." msgstr "Bloqueja la indexació de les pàgines d'arxiu d'autor." -#: noindex-seo.php:4769 +#: noindex-seo.php:5396 msgid "Post Type Archive" msgstr "Arxiu de tipus de contingut" -#: noindex-seo.php:4772 +#: noindex-seo.php:5399 msgid "Block the indexing of post type archive pages." msgstr "Bloqueja la indexació de les pàgines d'arxiu de tipus de contingut." -#: noindex-seo.php:4777 +#: noindex-seo.php:5404 msgid "Pagination" msgstr "Paginació" -#: noindex-seo.php:4780 +#: noindex-seo.php:5407 msgid "Paginated Pages" msgstr "Pàgines paginades" -#: noindex-seo.php:4783 +#: noindex-seo.php:5410 msgid "Block the indexing of pagination pages (page 2, 3, etc.)." msgstr "Bloqueja la indexació de les pàgines de paginació (pàgina 2, 3, etc.)." -#: noindex-seo.php:4788 +#: noindex-seo.php:5415 msgid "Search" msgstr "Cerca" -#: noindex-seo.php:4791 +#: noindex-seo.php:5418 msgid "Search Results" msgstr "Resultats de cerca" -#: noindex-seo.php:4794 +#: noindex-seo.php:5421 msgid "Block the indexing of search result pages." msgstr "Bloqueja la indexació de les pàgines de resultats de cerca." -#: noindex-seo.php:4799 +#: noindex-seo.php:5426 msgid "Attachments" msgstr "Adjunts" -#: noindex-seo.php:4802 +#: noindex-seo.php:5429 msgid "Attachment Pages" msgstr "Pàgines d'adjunts" -#: noindex-seo.php:4805 +#: noindex-seo.php:5432 msgid "" "Block the indexing of attachment pages (does not affect the file itself)." msgstr "" "Bloqueja la indexació de les pàgines d'adjunts (no afecta el fitxer en si)." -#: noindex-seo.php:4810 +#: noindex-seo.php:5437 msgid "Previews" msgstr "Previsualitzacions" -#: noindex-seo.php:4813 +#: noindex-seo.php:5440 msgid "Customize Preview" msgstr "Previsualització del personalitzador" -#: noindex-seo.php:4816 +#: noindex-seo.php:5443 msgid "Block the indexing when content is in customize preview mode." -msgstr "Bloqueja la indexació quan el contingut es mostra en mode de previsualització del personalitzador." -"Bloqueja la indexació quan el contingut és en mode de previsualització del " -"personalitzador." +msgstr "" +"Bloqueja la indexació quan el contingut es mostra en mode de " +"previsualització del personalitzador.Bloqueja la indexació quan el contingut " +"és en mode de previsualització del personalitzador." -#: noindex-seo.php:4819 +#: noindex-seo.php:5446 msgid "Post Preview" msgstr "Previsualització de l'entrada" -#: noindex-seo.php:4822 +#: noindex-seo.php:5449 msgid "Block the indexing when viewing post previews." msgstr "Bloqueja la indexació en veure previsualitzacions d'entrades." -#: noindex-seo.php:4827 +#: noindex-seo.php:5454 msgid "Error Pages" msgstr "Pàgines d'error" -#: noindex-seo.php:4830 +#: noindex-seo.php:5457 msgid "Error 404" msgstr "Error 404" -#: noindex-seo.php:4833 +#: noindex-seo.php:5460 msgid "Block the indexing of 404 error pages." msgstr "Bloqueja la indexació de les pàgines d'error 404." #. translators: %s: post type singular name. -#: noindex-seo.php:4858 +#: noindex-seo.php:5485 #, php-format msgid "Block the indexing of individual %s." msgstr "Bloqueja la indexació de %s individuals." -#: noindex-seo.php:4862 +#: noindex-seo.php:5489 msgid "Custom Post Types" msgstr "Tipus de contingut personalitzats" -#: noindex-seo.php:4875 +#: noindex-seo.php:5502 msgid "Cart" msgstr "Cistella" -#: noindex-seo.php:4876 +#: noindex-seo.php:5503 msgid "Block the indexing of the WooCommerce cart page." msgstr "Bloqueja la indexació de la pàgina de la cistella del WooCommerce." -#: noindex-seo.php:4879 +#: noindex-seo.php:5506 msgid "Checkout" msgstr "Pagament" -#: noindex-seo.php:4880 +#: noindex-seo.php:5507 msgid "Block the indexing of the WooCommerce checkout page." msgstr "Bloqueja la indexació de la pàgina de pagament del WooCommerce." -#: noindex-seo.php:4883 +#: noindex-seo.php:5510 msgid "My Account" msgstr "El meu compte" -#: noindex-seo.php:4884 +#: noindex-seo.php:5511 msgid "" "Block the indexing of the WooCommerce customer account pages (including " "order history and address endpoints)." @@ -603,43 +609,43 @@ msgstr "" "Bloqueja la indexació de les pàgines del compte de client del WooCommerce " "(incloent-hi l'historial de comandes i les adreces)." -#: noindex-seo.php:4904 +#: noindex-seo.php:5531 msgid "WooCommerce" msgstr "WooCommerce" -#: noindex-seo.php:4932 +#: noindex-seo.php:5559 msgid "Prevent search engines from indexing this page" msgstr "Evita que els cercadors indexin aquesta pàgina" -#: noindex-seo.php:4937 +#: noindex-seo.php:5564 msgid "Prevent search engines from following links on this page" msgstr "Evita que els cercadors segueixin els enllaços en aquesta pàgina" -#: noindex-seo.php:4942 +#: noindex-seo.php:5569 msgid "Prevent search engines from showing a cached version" msgstr "Evita que els cercadors mostrin una versió en memòria cau" -#: noindex-seo.php:4947 +#: noindex-seo.php:5574 msgid "Prevent search engines from showing text snippets" msgstr "Evita que els cercadors mostrin fragments de text" -#: noindex-seo.php:4952 +#: noindex-seo.php:5579 msgid "Prevent search engines from indexing images" msgstr "Evita que els cercadors indexin imatges" -#: noindex-seo.php:4957 +#: noindex-seo.php:5584 msgid "Ask search engines not to translate this page" msgstr "Demaneu als cercadors que no tradueixin aquesta pàgina" -#: noindex-seo.php:4977 +#: noindex-seo.php:5604 msgid "Stop indexing this page after this date and time" msgstr "Deixa d'indexar aquesta pàgina a partir d'aquesta data i hora" -#: noindex-seo.php:4984 +#: noindex-seo.php:5611 msgid "noindex SEO Settings" msgstr "Ajustaments de noindex SEO" -#: noindex-seo.php:4985 +#: noindex-seo.php:5612 msgid "" "Control how search engines index and display your WordPress content using " "robots directives." @@ -647,7 +653,7 @@ msgstr "" "Controla com els cercadors indexen i mostren el vostre contingut de " "WordPress fent servir directrius robots." -#: noindex-seo.php:4996 +#: noindex-seo.php:5623 msgid "" "Recommended defaults applied. Review the changes below and click \"Save " "Changes\" to keep them, or uncheck anything you do not want." @@ -655,11 +661,11 @@ msgstr "" "Valors recomanats aplicats. Reviseu els canvis de baix i feu clic a «Desaels " "canvis» per a conservar-los, o desmarqueu el que no vulgueu." -#: noindex-seo.php:5004 +#: noindex-seo.php:5631 msgid "Settings imported successfully." msgstr "S'han importat els ajustaments correctament." -#: noindex-seo.php:5011 +#: noindex-seo.php:5638 msgid "" "The settings file could not be imported: it is missing, too large, or not a " "valid noindex SEO export." @@ -667,35 +673,35 @@ msgstr "" "No s'ha pogut importar el fitxer d'ajustaments: no existeix, és massa gran o " "no és una exportació vàlida de noindex SEO." -#: noindex-seo.php:5019 +#: noindex-seo.php:5646 msgid "Settings sections" msgstr "Seccions dels ajustaments" -#: noindex-seo.php:5046 +#: noindex-seo.php:5673 msgid "General Configuration" msgstr "Configuració general" -#: noindex-seo.php:5060 +#: noindex-seo.php:5687 msgid "Disable compatibility warnings with other SEO plugins" msgstr "Desactiva els avisos de compatibilitat amb altres complements de SEO" -#: noindex-seo.php:5067 +#: noindex-seo.php:5694 msgid "Implementation Method" msgstr "Mètode d'implementació" -#: noindex-seo.php:5075 +#: noindex-seo.php:5702 msgid "HTML Meta Tags (default, easier to verify)" msgstr "Etiquetes meta HTML (per defecte, més fàcil de comprovar)" -#: noindex-seo.php:5078 +#: noindex-seo.php:5705 msgid "HTTP Headers (more robust, works with PDFs/images)" msgstr "Capçaleres HTTP (més robust, funciona amb PDFs/imatges)" -#: noindex-seo.php:5081 +#: noindex-seo.php:5708 msgid "Both (maximum compatibility)" msgstr "Ambdós (màxima compatibilitat)" -#: noindex-seo.php:5085 +#: noindex-seo.php:5712 msgid "" "Choose how noindex directives are sent to search engines. Meta tags work for " "HTML pages. HTTP headers work for all content types including PDFs, images, " @@ -705,11 +711,11 @@ msgstr "" "funcionen per a pàgines HTML. Les capçaleres HTTP funcionen per a tots els " "tipus de contingut, incloent-hi PDFs, imatges i feeds." -#: noindex-seo.php:5103 +#: noindex-seo.php:5730 msgid "Enable per-post/page granular control" msgstr "Activa el control granular per entrada/pàgina" -#: noindex-seo.php:5106 +#: noindex-seo.php:5733 msgid "" "When enabled, a meta box will appear in the post/page editor allowing you to " "override global settings for individual content. Useful for specific pages " @@ -719,11 +725,11 @@ msgstr "" "permet sobreescriure els ajustaments globals per a contingut individual. " "Útil per a pàgines específiques que necessiten directrius robots diferents." -#: noindex-seo.php:5124 +#: noindex-seo.php:5751 msgid "Enable per-term granular control" msgstr "Activa el control granular per terme" -#: noindex-seo.php:5127 +#: noindex-seo.php:5754 msgid "" "When enabled, a \"Search Engine Visibility\" panel will appear on the Edit " "screen for every public taxonomy (categories, tags, and custom taxonomies " @@ -736,11 +742,11 @@ msgstr "" "És útil per a aplicar noindex a una categoria o etiqueta concreta " "senseafectar les altres." -#: noindex-seo.php:5145 +#: noindex-seo.php:5772 msgid "Delete all plugin data on uninstall" msgstr "Suprimeix totes les dades del complement en desinstal·lar" -#: noindex-seo.php:5148 +#: noindex-seo.php:5775 msgid "" "When enabled, all settings and per-post robots directives will be " "permanently deleted when the plugin is uninstalled. By default data is " @@ -750,11 +756,11 @@ msgstr "" "suprimiran de forma permanent en desinstal·lar el complement. Per defecte, " "les dades es conserven." -#: noindex-seo.php:5164 +#: noindex-seo.php:5791 msgid "Recommended settings" msgstr "Ajustaments recomanats" -#: noindex-seo.php:5166 +#: noindex-seo.php:5793 msgid "" "Enables all 5 directives on the 15 contexts flagged \"Recommended\" (privacy " "policy, date archives, pagination, search results, attachment pages, " @@ -765,36 +771,37 @@ msgstr "" "cerca,pàgines d'adjunts, previsualitzacions, 404 i cistella, pagament i " "compte del WooCommerce). Reviseu i deseu." -#: noindex-seo.php:5173 +#: noindex-seo.php:5800 msgid "Apply Recommended Defaults" msgstr "Aplica els valors recomanats" -#: noindex-seo.php:5178 +#: noindex-seo.php:5805 msgid "Enable all directives for the 15 contexts flagged as recommended." -msgstr "Activa totes les directives dels 15 contextos marcats com a recomanats." +msgstr "" +"Activa totes les directives dels 15 contextos marcats com a recomanats." "Activa totes les directives en els 15 contextos marcats com a recomanats." -#: noindex-seo.php:5192 +#: noindex-seo.php:5819 msgid "Overview" msgstr "Resum" -#: noindex-seo.php:5196 +#: noindex-seo.php:5823 msgid "Total Options" msgstr "Opcions totals" -#: noindex-seo.php:5200 +#: noindex-seo.php:5827 msgid "Enabled" msgstr "Activades" -#: noindex-seo.php:5204 +#: noindex-seo.php:5831 msgid "Recommended to Enable" msgstr "Recomanades per a activar" -#: noindex-seo.php:5209 +#: noindex-seo.php:5836 msgid "Page contexts" msgstr "Contextos de pàgina" -#: noindex-seo.php:5214 +#: noindex-seo.php:5841 msgid "" "Important: Enabling noindex on the wrong pages can harm your search engine " "rankings. Only enable options you fully understand." @@ -803,89 +810,158 @@ msgstr "" "vostre posicionament als cercadors. Activeu només les opcions que enteneu " "completament." -#: noindex-seo.php:5221 +#: noindex-seo.php:5848 msgid "Search options..." msgstr "Cerca opcions…" -#: noindex-seo.php:5222 +#: noindex-seo.php:5849 msgid "Search options" msgstr "Cerca opcions" -#: noindex-seo.php:5247 +#: noindex-seo.php:5874 msgid "This option only works with HTTP Headers implementation method" -msgstr "Aquesta opció només funciona amb el mètode d'implementació de capçaleres HTTP" -"Aquesta opció només funciona amb el mètode d'implementació de capçaleres HTTP" +msgstr "" +"Aquesta opció només funciona amb el mètode d'implementació de capçaleres " +"HTTPAquesta opció només funciona amb el mètode d'implementació de capçaleres " +"HTTP" -#: noindex-seo.php:5256 +#: noindex-seo.php:5883 msgid "Not Recommended" msgstr "No recomanat" -#: noindex-seo.php:5261 +#: noindex-seo.php:5888 msgid "View Page" msgstr "Mostra la pàgina" -#: noindex-seo.php:5342 noindex-seo.php:5350 +#: noindex-seo.php:5969 noindex-seo.php:5977 msgid "Conditional rules" msgstr "Regles condicionals" -#: noindex-seo.php:5344 +#: noindex-seo.php:5971 msgid "" "Automatically apply noindex to any post whose custom field (for example an " "ACF field) exactly matches a value. Rules run below the per-post overrides " "and above the global context settings, and matched posts drop out of the XML " "sitemap." msgstr "" -"Apliqueu automàticament noindex a qualsevol entrada el camp personalitzat " -"de la qual (per exemple, un camp d'ACF) coincideixi exactament amb un valor. " +"Apliqueu automàticament noindex a qualsevol entrada el camp personalitzat de " +"la qual (per exemple, un camp d'ACF) coincideixi exactament amb un valor. " "Les regles s'executen per sota dels ajustos individuals de cada entrada i " "per sobre dels ajustos globals de context, i les entrades coincidents " "desapareixen del mapa del lloc XML." -#: noindex-seo.php:5357 +#: noindex-seo.php:5984 msgid "Field name" msgstr "Nom del camp" -#: noindex-seo.php:5358 +#: noindex-seo.php:5985 msgid "Value" msgstr "Valor" -#: noindex-seo.php:5359 +#: noindex-seo.php:5986 noindex-seo.php:6210 msgid "Actions" msgstr "Accions" -#: noindex-seo.php:5375 +#: noindex-seo.php:6002 msgid "custom_field_name" msgstr "nom_del_camp_personalitzat" -#: noindex-seo.php:5376 +#: noindex-seo.php:6003 msgid "value that triggers noindex" msgstr "valor que activa noindex" -#: noindex-seo.php:5377 +#: noindex-seo.php:6004 noindex-seo.php:6231 msgid "Remove rule" msgstr "Suprimeix la regla" -#: noindex-seo.php:5382 +#: noindex-seo.php:6009 noindex-seo.php:6236 msgid "Add rule" msgstr "Afegeix una regla" -#: noindex-seo.php:5383 +#: noindex-seo.php:6010 msgid "Up to 20 rules. Rows with an empty field or value are ignored." msgstr "Fins a 20 regles. Les files amb un camp o un valor buits s'ignoren." -#: noindex-seo.php:5397 noindex-seo.php:5406 +#. translators: %d: number of posts. +#: noindex-seo.php:6036 +#, php-format +msgid "Imported robots overrides for %d post" +msgid_plural "Imported robots overrides for %d posts" +msgstr[0] "S'han importat ajustos robots per a %d entrada" +msgstr[1] "S'han importat ajustos robots per a %d entrades" + +#. translators: %d: number of terms. +#. translators: %d: number of terms found. +#: noindex-seo.php:6041 noindex-seo.php:6105 +#, php-format +msgid "%d term" +msgid_plural "%d terms" +msgstr[0] "%d terme" +msgstr[1] "%d termes" + +#. translators: 1: number of skipped posts, 2: number of skipped terms. +#: noindex-seo.php:6052 +#, php-format +msgid "%1$d posts and %2$d terms skipped (already configured)" +msgstr "%1$d entrades i %2$d termes omesos (ja estaven configurats)" + +#: noindex-seo.php:6062 +msgid "No plugins were selected to import from." +msgstr "No s'ha seleccionat cap complement del qual importar." + +#: noindex-seo.php:6067 +msgid "The selected plugins had no importable robots data left." +msgstr "Els complements seleccionats no tenien cap dada robots importable." + +#: noindex-seo.php:6073 +msgid "Import from other plugins" +msgstr "Importa d'altres complements" + +#: noindex-seo.php:6075 +msgid "" +"Imports the noindex and nofollow flags stored by other SEO plugins (Yoast " +"SEO, Rank Math, SEOPress, All in One SEO) as per-post and per-term " +"overrides. Nothing is imported automatically: you pick the plugins below and " +"confirm. Content that already has its own override is never touched." +msgstr "" +"Importa els ajustos noindex i nofollow desats per altres complements de SEO " +"(Yoast SEO, Rank Math, SEOPress, All in One SEO) com a substitucions per " +"entrada i per terme. No s'importa res automàticament: trieu els complements " +"de sota i confirmeu-ho. El contingut que ja tingui la seva pròpia " +"substitució no es toca." + +#. translators: %d: number of posts found. +#: noindex-seo.php:6094 +#, php-format +msgid "%d post" +msgid_plural "%d posts" +msgstr[0] "%d entrada" +msgstr[1] "%d entrades" + +#: noindex-seo.php:6116 +msgid "" +"No importable robots data from other SEO plugins was found on this site." +msgstr "" +"No s'han trobat dades robots importables d'altres complements de SEO en " +"aquest lloc." + +#: noindex-seo.php:6120 +msgid "Import selected plugins" +msgstr "Importa els complements seleccionats" + +#: noindex-seo.php:6130 noindex-seo.php:6139 msgid "Export settings" msgstr "Exporta els ajustaments" -#: noindex-seo.php:5399 +#: noindex-seo.php:6132 msgid "Download the current settings as a JSON file." msgstr "Baixa els ajustaments actuals en un fitxer JSON." -#: noindex-seo.php:5415 noindex-seo.php:5423 noindex-seo.php:5433 +#: noindex-seo.php:6148 noindex-seo.php:6156 noindex-seo.php:6166 msgid "Import settings" msgstr "Importa els ajustaments" -#: noindex-seo.php:5417 +#: noindex-seo.php:6150 msgid "" "Restore the global settings from a previously exported JSON file. Per-post " "and per-term overrides are kept." @@ -893,11 +969,72 @@ msgstr "" "Restaura els ajustaments globals des d'un fitxer JSON exportat anteriorment. " "Les sobreescriptures per entrada i per terme es conserven." +#: noindex-seo.php:6198 +msgid "Extend the virtual robots.txt with bot rules" +msgstr "Amplia el robots.txt virtual amb regles per a bots" + +#: noindex-seo.php:6201 +msgid "" +"Inactive by default. When enabled, the rules below are appended to the " +"robots.txt that WordPress generates virtually — they never replace it. This " +"only applies when WordPress serves robots.txt itself: a physical robots.txt " +"file in the site root, or \"Discourage search engines\" in Reading settings, " +"takes precedence." +msgstr "" +"Inactiu per defecte. En activar-lo, les regles de sota s'afegeixen al final " +"del robots.txt que el WordPress genera virtualment; mai no el substitueixen. " +"Només s'aplica quan el WordPress serveix el robots.txt ell mateix: un fitxer " +"robots.txt físic a l'arrel del lloc o l'opció «Desaconsella els cercadors» " +"als Ajustos de lectura tenen prioritat." + +#: noindex-seo.php:6208 +msgid "User-agent" +msgstr "User-agent" + +#: noindex-seo.php:6209 +msgid "Policy" +msgstr "Política" + +#: noindex-seo.php:6226 +msgid "User-agent token, e.g. GPTBot or *" +msgstr "Token de user-agent, per exemple GPTBot o *" + +#: noindex-seo.php:6228 +msgid "Block (Disallow: /)" +msgstr "Bloqueja (Disallow: /)" + +#: noindex-seo.php:6229 +msgid "Allow (Allow: /)" +msgstr "Permet (Allow: /)" + +#: noindex-seo.php:6237 +msgid "Add common AI bots" +msgstr "Afegeix bots d'IA habituals" + +#: noindex-seo.php:6238 +msgid "Add common search engine bots" +msgstr "Afegeix bots de cercadors habituals" + +#: noindex-seo.php:6241 +msgid "" +"Up to 30 rules. Blocked bots receive \"Disallow: /\" for the whole site; " +"allowed bots receive \"Allow: /\" (useful to allow one crawler inside a " +"broader block set with a * rule). Duplicate user-agents are ignored." +msgstr "" +"Fins a 30 regles. Els bots bloquejats reben «Disallow: /» per a tot el lloc; " +"els permesos reben «Allow: /» (útil per a permetre un rastrejador dins d'un " +"bloqueig més ampli definit amb *). Els user-agent duplicats s'ignoren." + +#: noindex-seo.php:6247 +msgid "Preview of the appended block" +msgstr "Previsualització del bloc afegit" + #: assets/js/editor-sidebar.js:188 msgid "Enable to set custom robots directives for this content" -msgstr "Activeu-la per a definir directives robots personalitzades per a aquest contingut" -"Activeu per a establir directrius robots personalitzades per a aquest " -"contingut" +msgstr "" +"Activeu-la per a definir directives robots personalitzades per a aquest " +"contingutActiveu per a establir directrius robots personalitzades per a " +"aquest contingut" #: assets/js/editor-sidebar.js:218 msgid "Robots Directives:" @@ -933,4 +1070,3 @@ msgstr "Directrius actives:" #~ msgid "🖼️ noimageindex" #~ msgstr "🖼️ noimageindex" - diff --git a/languages/noindex-seo-es_ES.mo b/languages/noindex-seo-es_ES.mo index 4dbc926e7c3a788e6c19940f1e4c5d9501298377..81b1b84a09faa89bd604158f64d4956d4ec7b709 100644 GIT binary patch delta 7737 zcmb7{3zQYbna6A7H8K)j0umk;FBxFCfQTZ9F!GR>Fn~&YMSJe;nQ7)u_t>}Z3=>>$ zH0rt<6ZIN37*HXJAqGVzt67M|IL1U1!-`Qi>au&x$(qe(^&CAXn;f&*{r$W94ud&+ z&ZZ9k`BhbSSAF$;UsYWmd8F$2_p3_BNA&-Sp}dC1qwfwhW^9!)>xZbZ{39Ghd+-Qj_-96>oCYV*UI?q<b zHShz7P3B|xAMg}L(}3^u=Pb2PH|A_O11^GB!#VH)xCZ_h&Vs{7CF3uFGikTNsmyQg zr!t+6!>|ti3Z4&#jW#9&*Ft^J1t-C;!&>+voC`mI=RiBgm^OGB)OS5l<9!Haz?o+x zhOL8Y?|@5~-#kV|AN(3B1gDQRraznq<(YF+E`@t(uZE|=-$9~a{s^yzHTd;G*aFpG zH7?;usPU#jMRg|Z2N%N96e<@`!ANr*TmZL2h2jZ_Gt4`XMVb#`JvKd;=P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ua%KAet4^W64Y)UJLJwZ?BF?-=_8hhWle?)Ao^ zt~b?dm-?w_&1x|e8*mt|zz|%A`oTujm)y(POrr3?(W%Ne0n~RC34*WHw=m|F6{1 zV!3TQ(G1^C^2y8OpcZKXl}#j#+)wnjIz%=Qm0QV^|R{r)$38OoT)_HT1C4-C7YCzS>(s0k*LfeGsus~%|vA)DIpakkGw`yHoEXh7qzWg z$x`wlQF)O(GEj3re(u$u!lJJoFZAk__$v7!X(rz%(}~JGgk3)HKhpmh-wJcWQ@Wg()F!8F?Eb*Qan-)S z!SrAH0$VeqgPf\n" "Language-Team: Spanish (Spain) — https://translate.wordpress.org/locale/es/" @@ -19,7 +19,7 @@ msgstr "" "X-Domain: noindex-seo\n" #. Plugin Name of the plugin -#: noindex-seo.php noindex-seo.php:2044 noindex-seo.php:2045 +#: noindex-seo.php noindex-seo.php:2590 noindex-seo.php:2591 msgid "noindex SEO" msgstr "noindex SEO" @@ -49,40 +49,40 @@ msgstr "ROBOTSTXT" msgid "https://www.robotstxt.software/" msgstr "https://www.robotstxt.software/" -#: noindex-seo.php:1449 +#: noindex-seo.php:1993 msgid "Post ID to compute effective directives for." msgstr "ID de la entrada para calcular las directivas efectivas." -#: noindex-seo.php:1476 +#: noindex-seo.php:2020 msgid "You do not have permission to read the noindex SEO settings." msgstr "No tienes permiso para leer los ajustes de noindex SEO." -#: noindex-seo.php:1526 +#: noindex-seo.php:2070 msgid "You do not have permission to read directives for this post." msgstr "No tienes permiso para leer las directivas de esta entrada." -#: noindex-seo.php:1589 +#: noindex-seo.php:2133 msgid "No post exists with that post_id." msgstr "No existe ninguna entrada con ese post_id." -#: noindex-seo.php:1895 +#: noindex-seo.php:2439 msgid "Settings saved successfully!" msgstr "¡Ajustes guardados correctamente!" -#: noindex-seo.php:1896 +#: noindex-seo.php:2440 msgid "Expand All" msgstr "Expandir todo" -#: noindex-seo.php:1897 +#: noindex-seo.php:2441 msgid "Collapse All" msgstr "Contraer todo" -#: noindex-seo.php:1977 +#: noindex-seo.php:2523 msgid "Settings" msgstr "Ajustes" #. translators: plugin name. -#: noindex-seo.php:2270 +#: noindex-seo.php:2816 #, php-format msgid "" "noindex SEO has detected that %s is active. This may cause conflicts. Please " @@ -92,7 +92,7 @@ msgstr "" "Configura las opciones en consecuencia." #. translators: %s: comma-separated list of wp_robots callbacks. -#: noindex-seo.php:2291 +#: noindex-seo.php:2837 #, php-format msgid "" "noindex SEO has detected that another plugin or theme is adding robots " @@ -103,20 +103,20 @@ msgstr "" "robots mediante la API wp_robots (%s). Esto puede causar conflictos. " "Configura las opciones en consecuencia." -#: noindex-seo.php:2408 noindex-seo.php:2561 noindex-seo.php:2612 -#: noindex-seo.php:2710 +#: noindex-seo.php:2954 noindex-seo.php:3129 noindex-seo.php:3180 +#: noindex-seo.php:3284 noindex-seo.php:3345 msgid "Permission denied." msgstr "Permiso denegado." -#: noindex-seo.php:3402 noindex-seo.php:3791 assets/js/editor-sidebar.js:176 +#: noindex-seo.php:4033 noindex-seo.php:4422 assets/js/editor-sidebar.js:176 msgid "Search Engine Visibility" msgstr "Visibilidad en buscadores" -#: noindex-seo.php:3463 noindex-seo.php:4161 assets/js/editor-sidebar.js:187 +#: noindex-seo.php:4094 noindex-seo.php:4792 assets/js/editor-sidebar.js:187 msgid "Override global settings" msgstr "Sobrescribir ajustes globales" -#: noindex-seo.php:3468 +#: noindex-seo.php:4099 msgid "" "When enabled, these directives will override the global settings for this " "specific content." @@ -124,95 +124,97 @@ msgstr "" "Al activarse, estas directivas sobrescribirán los ajustes globales para este " "contenido específico." -#: noindex-seo.php:3475 +#: noindex-seo.php:4106 msgid "Prevent indexing" msgstr "Evitar indexación" -#: noindex-seo.php:3480 +#: noindex-seo.php:4111 msgid "Prevent link following" msgstr "Evitar seguimiento de enlaces" -#: noindex-seo.php:3485 +#: noindex-seo.php:4116 msgid "Prevent caching" msgstr "Evitar caché" -#: noindex-seo.php:3490 +#: noindex-seo.php:4121 msgid "Prevent snippets" msgstr "Evitar snippets" -#: noindex-seo.php:3495 +#: noindex-seo.php:4126 msgid "Prevent image indexing" msgstr "Evitar indexación de imágenes" -#: noindex-seo.php:3500 +#: noindex-seo.php:4131 msgid "Prevent translation" msgstr "Evitar la traducción" -#: noindex-seo.php:3505 +#: noindex-seo.php:4136 msgid "Value directives (empty = off):" msgstr "Directivas con valor (vacío = desactivado):" -#: noindex-seo.php:3508 noindex-seo.php:3514 noindex-seo.php:3523 -#: noindex-seo.php:3810 noindex-seo.php:3818 noindex-seo.php:4195 -#: noindex-seo.php:4200 noindex-seo.php:4208 noindex-seo.php:5296 -#: noindex-seo.php:5312 assets/js/editor-sidebar.js:141 +#: noindex-seo.php:4139 noindex-seo.php:4145 noindex-seo.php:4154 +#: noindex-seo.php:4441 noindex-seo.php:4449 noindex-seo.php:4826 +#: noindex-seo.php:4831 noindex-seo.php:4839 noindex-seo.php:5923 +#: noindex-seo.php:5939 assets/js/editor-sidebar.js:141 msgid "Off" msgstr "Desactivado" -#: noindex-seo.php:3509 noindex-seo.php:4962 +#: noindex-seo.php:4140 noindex-seo.php:5589 msgid "Maximum snippet length in characters (-1 = no limit)" msgstr "Longitud máxima del fragmento en caracteres (-1 = sin límite)" -#: noindex-seo.php:3515 noindex-seo.php:3811 noindex-seo.php:4201 -#: noindex-seo.php:5313 assets/js/editor-sidebar.js:142 +#: noindex-seo.php:4146 noindex-seo.php:4442 noindex-seo.php:4832 +#: noindex-seo.php:5940 assets/js/editor-sidebar.js:142 msgid "none" msgstr "ninguna" -#: noindex-seo.php:3516 noindex-seo.php:3812 noindex-seo.php:4202 -#: noindex-seo.php:5314 assets/js/editor-sidebar.js:143 +#: noindex-seo.php:4147 noindex-seo.php:4443 noindex-seo.php:4833 +#: noindex-seo.php:5941 assets/js/editor-sidebar.js:143 msgid "standard" msgstr "estándar" -#: noindex-seo.php:3517 noindex-seo.php:3813 noindex-seo.php:4203 -#: noindex-seo.php:5315 assets/js/editor-sidebar.js:144 +#: noindex-seo.php:4148 noindex-seo.php:4444 noindex-seo.php:4834 +#: noindex-seo.php:5942 assets/js/editor-sidebar.js:144 msgid "large" msgstr "grande" -#: noindex-seo.php:3519 noindex-seo.php:4967 +#: noindex-seo.php:4150 noindex-seo.php:5594 msgid "Maximum image preview size" msgstr "Tamaño máximo de la vista previa de imágenes" -#: noindex-seo.php:3524 noindex-seo.php:4972 +#: noindex-seo.php:4155 noindex-seo.php:5599 msgid "Maximum video preview seconds (-1 = no limit)" msgstr "Segundos máximos de la vista previa de vídeo (-1 = sin límite)" -#: noindex-seo.php:3529 +#: noindex-seo.php:4160 +msgid "Stop indexing after this date and time" +msgstr "Dejar de indexar tras esta fecha y hora" -#: noindex-seo.php:3537 +#: noindex-seo.php:4168 msgid "Effective Directives:" msgstr "Directivas efectivas:" -#: noindex-seo.php:3547 +#: noindex-seo.php:4178 msgid "Override active:" msgstr "Sobrescritura activa:" -#: noindex-seo.php:3552 +#: noindex-seo.php:4183 msgid "Override enabled but no directives selected" msgstr "Sobrescritura activada pero sin directivas seleccionadas" -#: noindex-seo.php:3558 +#: noindex-seo.php:4189 msgid "Global settings:" msgstr "Ajustes globales:" -#: noindex-seo.php:3563 +#: noindex-seo.php:4194 msgid "No restrictions (indexable)" msgstr "Sin restricciones (indexable)" -#: noindex-seo.php:3795 +#: noindex-seo.php:4426 msgid "Override global settings for this term" msgstr "Sobrescribir los ajustes globales para este término" -#: noindex-seo.php:3826 +#: noindex-seo.php:4457 msgid "" "When override is enabled, the directives checked above apply to this term's " "archive page and take precedence over the global category / tag / archive " @@ -222,69 +224,69 @@ msgstr "" "marcadasarriba se aplican a la página de archivo de este término y " "prevalecen sobrelos ajustes globales de categorías, etiquetas y archivos." -#: noindex-seo.php:3928 noindex-seo.php:3934 noindex-seo.php:4050 -#: noindex-seo.php:4056 +#: noindex-seo.php:4559 noindex-seo.php:4565 noindex-seo.php:4681 +#: noindex-seo.php:4687 msgid "Robots" msgstr "Robots" -#: noindex-seo.php:3992 noindex-seo.php:4111 +#: noindex-seo.php:4623 noindex-seo.php:4742 msgid "Override (none)" msgstr "Sobrescritura (ninguna)" -#: noindex-seo.php:4157 +#: noindex-seo.php:4788 msgid "Robots Directives" msgstr "Directivas Robots" -#: noindex-seo.php:4167 noindex-seo.php:4931 +#: noindex-seo.php:4798 noindex-seo.php:5558 msgid "noindex" msgstr "noindex" -#: noindex-seo.php:4172 noindex-seo.php:4936 +#: noindex-seo.php:4803 noindex-seo.php:5563 msgid "nofollow" msgstr "nofollow" -#: noindex-seo.php:4177 noindex-seo.php:4941 +#: noindex-seo.php:4808 noindex-seo.php:5568 msgid "noarchive" msgstr "noarchive" -#: noindex-seo.php:4182 noindex-seo.php:4946 +#: noindex-seo.php:4813 noindex-seo.php:5573 msgid "nosnippet" msgstr "nosnippet" -#: noindex-seo.php:4187 noindex-seo.php:4951 +#: noindex-seo.php:4818 noindex-seo.php:5578 msgid "noimageindex" msgstr "noimageindex" -#: noindex-seo.php:4192 noindex-seo.php:4956 +#: noindex-seo.php:4823 noindex-seo.php:5583 msgid "notranslate" msgstr "notranslate" -#: noindex-seo.php:4196 noindex-seo.php:4961 +#: noindex-seo.php:4827 noindex-seo.php:5588 msgid "max-snippet" msgstr "max-snippet" -#: noindex-seo.php:4205 noindex-seo.php:4966 +#: noindex-seo.php:4836 noindex-seo.php:5593 msgid "max-image-preview" msgstr "max-image-preview" -#: noindex-seo.php:4209 noindex-seo.php:4971 +#: noindex-seo.php:4840 noindex-seo.php:5598 msgid "max-video-preview" msgstr "max-video-preview" -#: noindex-seo.php:4213 noindex-seo.php:4976 +#: noindex-seo.php:4844 noindex-seo.php:5603 msgid "unavailable_after" msgstr "unavailable_after" -#: noindex-seo.php:4326 +#: noindex-seo.php:4957 msgid "Enable Robots Override" msgstr "Activar sobrescritura Robots" -#: noindex-seo.php:4327 +#: noindex-seo.php:4958 msgid "Disable Robots Override" msgstr "Desactivar sobrescritura Robots" #. translators: %d: Number of posts updated -#: noindex-seo.php:4424 +#: noindex-seo.php:5050 #, php-format msgid "Robots override enabled for %d post." msgid_plural "Robots override enabled for %d posts." @@ -292,313 +294,319 @@ msgstr[0] "Sobrescritura Robots activada para %d entrada." msgstr[1] "Sobrescritura Robots activada para %d entradas." #. translators: %d: Number of posts updated -#: noindex-seo.php:4445 +#: noindex-seo.php:5071 #, php-format msgid "Robots override disabled for %d post." msgid_plural "Robots override disabled for %d posts." msgstr[0] "Sobrescritura Robots desactivada para %d entrada." msgstr[1] "Sobrescritura Robots desactivada para %d entradas." -#: noindex-seo.php:4494 +#: noindex-seo.php:5120 msgid "All robots settings" msgstr "Todos los ajustes robots" -#: noindex-seo.php:4496 +#: noindex-seo.php:5122 msgid "With override" msgstr "Con sobrescritura" -#: noindex-seo.php:4499 +#: noindex-seo.php:5125 msgid "Without override" msgstr "Sin sobrescritura" -#: noindex-seo.php:4618 +#: noindex-seo.php:5244 msgid "You do not have sufficient permissions to access this page." msgstr "No tienes permisos suficientes para acceder a esta página." -#: noindex-seo.php:4619 +#: noindex-seo.php:5245 msgid "Permission Denied" msgstr "Permiso denegado" -#: noindex-seo.php:4631 +#: noindex-seo.php:5257 msgid "General" msgstr "General" -#: noindex-seo.php:4632 +#: noindex-seo.php:5258 msgid "SEO Settings" msgstr "Ajustes SEO" -#: noindex-seo.php:4633 +#: noindex-seo.php:5259 msgid "Import / Export" msgstr "Importación y exportación" -#: noindex-seo.php:4653 +#: noindex-seo.php:5260 +msgid "Robots.txt" +msgstr "Robots.txt" + +#: noindex-seo.php:5280 msgid "Main Pages" msgstr "Páginas principales" -#: noindex-seo.php:4656 +#: noindex-seo.php:5283 msgid "Front Page" msgstr "Página de inicio" -#: noindex-seo.php:4657 noindex-seo.php:4664 noindex-seo.php:4676 -#: noindex-seo.php:4682 noindex-seo.php:4689 noindex-seo.php:4695 -#: noindex-seo.php:4706 noindex-seo.php:4712 noindex-seo.php:4723 -#: noindex-seo.php:4729 noindex-seo.php:4735 noindex-seo.php:4741 -#: noindex-seo.php:4747 noindex-seo.php:4758 noindex-seo.php:4764 -#: noindex-seo.php:4770 noindex-seo.php:4781 noindex-seo.php:4792 -#: noindex-seo.php:4803 noindex-seo.php:4814 noindex-seo.php:4820 -#: noindex-seo.php:4831 noindex-seo.php:4855 noindex-seo.php:4896 -#: noindex-seo.php:5254 +#: noindex-seo.php:5284 noindex-seo.php:5291 noindex-seo.php:5303 +#: noindex-seo.php:5309 noindex-seo.php:5316 noindex-seo.php:5322 +#: noindex-seo.php:5333 noindex-seo.php:5339 noindex-seo.php:5350 +#: noindex-seo.php:5356 noindex-seo.php:5362 noindex-seo.php:5368 +#: noindex-seo.php:5374 noindex-seo.php:5385 noindex-seo.php:5391 +#: noindex-seo.php:5397 noindex-seo.php:5408 noindex-seo.php:5419 +#: noindex-seo.php:5430 noindex-seo.php:5441 noindex-seo.php:5447 +#: noindex-seo.php:5458 noindex-seo.php:5482 noindex-seo.php:5523 +#: noindex-seo.php:5881 msgid "Recommended" msgstr "Recomendado" -#: noindex-seo.php:4659 +#: noindex-seo.php:5286 msgid "Block the indexing of the site's front page." msgstr "Bloquear la indexación de la página de inicio del sitio." -#: noindex-seo.php:4663 +#: noindex-seo.php:5290 msgid "Home" msgstr "Inicio" -#: noindex-seo.php:4666 +#: noindex-seo.php:5293 msgid "Block the indexing of the site's home page." msgstr "Bloquear la indexación de la página principal del sitio." -#: noindex-seo.php:4672 +#: noindex-seo.php:5299 msgid "Pages and Posts" msgstr "Páginas y entradas" -#: noindex-seo.php:4675 +#: noindex-seo.php:5302 msgid "Page" msgstr "Página" -#: noindex-seo.php:4678 +#: noindex-seo.php:5305 msgid "Block the indexing of site pages." msgstr "Bloquear la indexación de las páginas del sitio." -#: noindex-seo.php:4681 +#: noindex-seo.php:5308 msgid "Privacy Policy" msgstr "Política de privacidad" -#: noindex-seo.php:4684 +#: noindex-seo.php:5311 msgid "Block the indexing of the privacy policy page." msgstr "Bloquear la indexación de la página de política de privacidad." -#: noindex-seo.php:4688 +#: noindex-seo.php:5315 msgid "Single Post" msgstr "Entrada individual" -#: noindex-seo.php:4691 +#: noindex-seo.php:5318 msgid "Block the indexing of individual posts." msgstr "Bloquear la indexación de entradas individuales." -#: noindex-seo.php:4694 +#: noindex-seo.php:5321 msgid "Singular" msgstr "Singular" -#: noindex-seo.php:4697 +#: noindex-seo.php:5324 msgid "Block the indexing of any singular content (post or page)." -msgstr "Bloquear la indexación de cualquier contenido singular (entrada o página)." +msgstr "" +"Bloquear la indexación de cualquier contenido singular (entrada o página)." "Bloquear la indexación de cualquier contenido singular (entrada o página)." -#: noindex-seo.php:4702 +#: noindex-seo.php:5329 msgid "Taxonomies" msgstr "Taxonomías" -#: noindex-seo.php:4705 +#: noindex-seo.php:5332 msgid "Category" msgstr "Categoría" -#: noindex-seo.php:4708 +#: noindex-seo.php:5335 msgid "Block the indexing of category archive pages." msgstr "Bloquear la indexación de las páginas de archivo de categorías." -#: noindex-seo.php:4711 +#: noindex-seo.php:5338 msgid "Tag" msgstr "Etiqueta" -#: noindex-seo.php:4714 +#: noindex-seo.php:5341 msgid "Block the indexing of tag archive pages." msgstr "Bloquear la indexación de las páginas de archivo de etiquetas." -#: noindex-seo.php:4719 +#: noindex-seo.php:5346 msgid "Date Archives" msgstr "Archivos de fecha" -#: noindex-seo.php:4722 +#: noindex-seo.php:5349 msgid "Date" msgstr "Fecha" -#: noindex-seo.php:4725 +#: noindex-seo.php:5352 msgid "Block the indexing of any date-based archive page." msgstr "Bloquear la indexación de cualquier página de archivo basada en fecha." -#: noindex-seo.php:4728 +#: noindex-seo.php:5355 msgid "Day" msgstr "Día" -#: noindex-seo.php:4731 +#: noindex-seo.php:5358 msgid "Block the indexing of daily archive pages." msgstr "Bloquear la indexación de archivos diarios." -#: noindex-seo.php:4734 +#: noindex-seo.php:5361 msgid "Month" msgstr "Mes" -#: noindex-seo.php:4737 +#: noindex-seo.php:5364 msgid "Block the indexing of monthly archive pages." msgstr "Bloquear la indexación de archivos mensuales." -#: noindex-seo.php:4740 +#: noindex-seo.php:5367 msgid "Time" msgstr "Hora" -#: noindex-seo.php:4743 +#: noindex-seo.php:5370 msgid "Block the indexing of time-based archive pages." msgstr "Bloquear la indexación de archivos basados en hora." -#: noindex-seo.php:4746 +#: noindex-seo.php:5373 msgid "Year" msgstr "Año" -#: noindex-seo.php:4749 +#: noindex-seo.php:5376 msgid "Block the indexing of yearly archive pages." msgstr "Bloquear la indexación de archivos anuales." -#: noindex-seo.php:4754 +#: noindex-seo.php:5381 msgid "Archives" msgstr "Archivos" -#: noindex-seo.php:4757 +#: noindex-seo.php:5384 msgid "Archive" msgstr "Archivo" -#: noindex-seo.php:4760 +#: noindex-seo.php:5387 msgid "Block the indexing of any type of archive page." msgstr "Bloquear la indexación de cualquier tipo de página de archivo." -#: noindex-seo.php:4763 +#: noindex-seo.php:5390 msgid "Author" msgstr "Autor" -#: noindex-seo.php:4766 +#: noindex-seo.php:5393 msgid "Block the indexing of author archive pages." msgstr "Bloquear la indexación de las páginas de archivo de autor." -#: noindex-seo.php:4769 +#: noindex-seo.php:5396 msgid "Post Type Archive" msgstr "Archivo de tipo de contenido" -#: noindex-seo.php:4772 +#: noindex-seo.php:5399 msgid "Block the indexing of post type archive pages." msgstr "" "Bloquear la indexación de las páginas de archivo de tipos de contenido." -#: noindex-seo.php:4777 +#: noindex-seo.php:5404 msgid "Pagination" msgstr "Paginación" -#: noindex-seo.php:4780 +#: noindex-seo.php:5407 msgid "Paginated Pages" msgstr "Páginas paginadas" -#: noindex-seo.php:4783 +#: noindex-seo.php:5410 msgid "Block the indexing of pagination pages (page 2, 3, etc.)." msgstr "" "Bloquear la indexación de las páginas de paginación (página 2, 3, etc.)." -#: noindex-seo.php:4788 +#: noindex-seo.php:5415 msgid "Search" msgstr "Buscar" -#: noindex-seo.php:4791 +#: noindex-seo.php:5418 msgid "Search Results" msgstr "Resultados de búsqueda" -#: noindex-seo.php:4794 +#: noindex-seo.php:5421 msgid "Block the indexing of search result pages." msgstr "Bloquear la indexación de las páginas de resultados de búsqueda." -#: noindex-seo.php:4799 +#: noindex-seo.php:5426 msgid "Attachments" msgstr "Adjuntos" -#: noindex-seo.php:4802 +#: noindex-seo.php:5429 msgid "Attachment Pages" msgstr "Páginas de adjuntos" -#: noindex-seo.php:4805 +#: noindex-seo.php:5432 msgid "" "Block the indexing of attachment pages (does not affect the file itself)." msgstr "" "Bloquear la indexación de las páginas de adjuntos (no afecta al archivo en " "sí)." -#: noindex-seo.php:4810 +#: noindex-seo.php:5437 msgid "Previews" msgstr "Vistas previas" -#: noindex-seo.php:4813 +#: noindex-seo.php:5440 msgid "Customize Preview" msgstr "Vista previa del personalizador" -#: noindex-seo.php:4816 +#: noindex-seo.php:5443 msgid "Block the indexing when content is in customize preview mode." -msgstr "Bloquear la indexación cuando el contenido se muestra en modo de vista previa del personalizador." -"Bloquear la indexación cuando el contenido está en modo de vista previa del " -"personalizador." +msgstr "" +"Bloquear la indexación cuando el contenido se muestra en modo de vista " +"previa del personalizador.Bloquear la indexación cuando el contenido está en " +"modo de vista previa del personalizador." -#: noindex-seo.php:4819 +#: noindex-seo.php:5446 msgid "Post Preview" msgstr "Vista previa de entrada" -#: noindex-seo.php:4822 +#: noindex-seo.php:5449 msgid "Block the indexing when viewing post previews." msgstr "Bloquear la indexación al ver vistas previas de entradas." -#: noindex-seo.php:4827 +#: noindex-seo.php:5454 msgid "Error Pages" msgstr "Páginas de error" -#: noindex-seo.php:4830 +#: noindex-seo.php:5457 msgid "Error 404" msgstr "Error 404" -#: noindex-seo.php:4833 +#: noindex-seo.php:5460 msgid "Block the indexing of 404 error pages." msgstr "Bloquear la indexación de las páginas de error 404." #. translators: %s: post type singular name. -#: noindex-seo.php:4858 +#: noindex-seo.php:5485 #, php-format msgid "Block the indexing of individual %s." msgstr "Bloquear la indexación de %s individuales." -#: noindex-seo.php:4862 +#: noindex-seo.php:5489 msgid "Custom Post Types" msgstr "Tipos de contenido personalizados" -#: noindex-seo.php:4875 +#: noindex-seo.php:5502 msgid "Cart" msgstr "Carrito" -#: noindex-seo.php:4876 +#: noindex-seo.php:5503 msgid "Block the indexing of the WooCommerce cart page." msgstr "Bloquear la indexación de la página del carrito de WooCommerce." -#: noindex-seo.php:4879 +#: noindex-seo.php:5506 msgid "Checkout" msgstr "Finalizar compra" -#: noindex-seo.php:4880 +#: noindex-seo.php:5507 msgid "Block the indexing of the WooCommerce checkout page." msgstr "" "Bloquear la indexación de la página de finalización de compra de WooCommerce." -#: noindex-seo.php:4883 +#: noindex-seo.php:5510 msgid "My Account" msgstr "Mi cuenta" -#: noindex-seo.php:4884 +#: noindex-seo.php:5511 msgid "" "Block the indexing of the WooCommerce customer account pages (including " "order history and address endpoints)." @@ -606,43 +614,43 @@ msgstr "" "Bloquear la indexación de las páginas de la cuenta de cliente de WooCommerce " "(incluidos el historial de pedidos y las direcciones)." -#: noindex-seo.php:4904 +#: noindex-seo.php:5531 msgid "WooCommerce" msgstr "WooCommerce" -#: noindex-seo.php:4932 +#: noindex-seo.php:5559 msgid "Prevent search engines from indexing this page" msgstr "Evitar que los buscadores indexen esta página" -#: noindex-seo.php:4937 +#: noindex-seo.php:5564 msgid "Prevent search engines from following links on this page" msgstr "Evitar que los buscadores sigan los enlaces en esta página" -#: noindex-seo.php:4942 +#: noindex-seo.php:5569 msgid "Prevent search engines from showing a cached version" msgstr "Evitar que los buscadores muestren una versión en caché" -#: noindex-seo.php:4947 +#: noindex-seo.php:5574 msgid "Prevent search engines from showing text snippets" msgstr "Evitar que los buscadores muestren fragmentos de texto" -#: noindex-seo.php:4952 +#: noindex-seo.php:5579 msgid "Prevent search engines from indexing images" msgstr "Evitar que los buscadores indexen imágenes" -#: noindex-seo.php:4957 +#: noindex-seo.php:5584 msgid "Ask search engines not to translate this page" msgstr "Pedir a los buscadores que no traduzcan esta página" -#: noindex-seo.php:4977 +#: noindex-seo.php:5604 msgid "Stop indexing this page after this date and time" msgstr "Dejar de indexar esta página a partir de esta fecha y hora" -#: noindex-seo.php:4984 +#: noindex-seo.php:5611 msgid "noindex SEO Settings" msgstr "Ajustes de noindex SEO" -#: noindex-seo.php:4985 +#: noindex-seo.php:5612 msgid "" "Control how search engines index and display your WordPress content using " "robots directives." @@ -650,7 +658,7 @@ msgstr "" "Controla cómo los buscadores indexan y muestran tu contenido de WordPress " "usando directivas robots." -#: noindex-seo.php:4996 +#: noindex-seo.php:5623 msgid "" "Recommended defaults applied. Review the changes below and click \"Save " "Changes\" to keep them, or uncheck anything you do not want." @@ -658,11 +666,11 @@ msgstr "" "Valores recomendados aplicados. Revisa los cambios de abajo y haz clic " "en«Guardar cambios» para conservarlos, o desmarca lo que no quieras." -#: noindex-seo.php:5004 +#: noindex-seo.php:5631 msgid "Settings imported successfully." msgstr "Ajustes importados correctamente." -#: noindex-seo.php:5011 +#: noindex-seo.php:5638 msgid "" "The settings file could not be imported: it is missing, too large, or not a " "valid noindex SEO export." @@ -670,35 +678,35 @@ msgstr "" "No se ha podido importar el archivo de ajustes: falta, es demasiado grande o " "no es una exportación válida de noindex SEO." -#: noindex-seo.php:5019 +#: noindex-seo.php:5646 msgid "Settings sections" msgstr "Secciones de los ajustes" -#: noindex-seo.php:5046 +#: noindex-seo.php:5673 msgid "General Configuration" msgstr "Configuración general" -#: noindex-seo.php:5060 +#: noindex-seo.php:5687 msgid "Disable compatibility warnings with other SEO plugins" msgstr "Desactivar avisos de compatibilidad con otros plugins de SEO" -#: noindex-seo.php:5067 +#: noindex-seo.php:5694 msgid "Implementation Method" msgstr "Método de implementación" -#: noindex-seo.php:5075 +#: noindex-seo.php:5702 msgid "HTML Meta Tags (default, easier to verify)" msgstr "Etiquetas meta HTML (predeterminado, más fácil de verificar)" -#: noindex-seo.php:5078 +#: noindex-seo.php:5705 msgid "HTTP Headers (more robust, works with PDFs/images)" msgstr "Cabeceras HTTP (más robusto, funciona con PDFs/imágenes)" -#: noindex-seo.php:5081 +#: noindex-seo.php:5708 msgid "Both (maximum compatibility)" msgstr "Ambos (máxima compatibilidad)" -#: noindex-seo.php:5085 +#: noindex-seo.php:5712 msgid "" "Choose how noindex directives are sent to search engines. Meta tags work for " "HTML pages. HTTP headers work for all content types including PDFs, images, " @@ -708,11 +716,11 @@ msgstr "" "meta funcionan para páginas HTML. Las cabeceras HTTP funcionan para todos " "los tipos de contenido, incluidos PDFs, imágenes y feeds." -#: noindex-seo.php:5103 +#: noindex-seo.php:5730 msgid "Enable per-post/page granular control" msgstr "Activar control granular por entrada/página" -#: noindex-seo.php:5106 +#: noindex-seo.php:5733 msgid "" "When enabled, a meta box will appear in the post/page editor allowing you to " "override global settings for individual content. Useful for specific pages " @@ -722,11 +730,11 @@ msgstr "" "permite sobrescribir los ajustes globales para contenido individual. Útil " "para páginas específicas que necesitan directivas robots diferentes." -#: noindex-seo.php:5124 +#: noindex-seo.php:5751 msgid "Enable per-term granular control" msgstr "Activar el control granular por término" -#: noindex-seo.php:5127 +#: noindex-seo.php:5754 msgid "" "When enabled, a \"Search Engine Visibility\" panel will appear on the Edit " "screen for every public taxonomy (categories, tags, and custom taxonomies " @@ -739,11 +747,11 @@ msgstr "" "WooCommerce).Resulta útil para aplicar noindex a una categoría o etiqueta " "concreta sinafectar a las demás." -#: noindex-seo.php:5145 +#: noindex-seo.php:5772 msgid "Delete all plugin data on uninstall" msgstr "Borrar todos los datos del plugin al desinstalar" -#: noindex-seo.php:5148 +#: noindex-seo.php:5775 msgid "" "When enabled, all settings and per-post robots directives will be " "permanently deleted when the plugin is uninstalled. By default data is " @@ -753,11 +761,11 @@ msgstr "" "borrarán de forma permanente al desinstalar el plugin. Por defecto, los " "datos se conservan." -#: noindex-seo.php:5164 +#: noindex-seo.php:5791 msgid "Recommended settings" msgstr "Ajustes recomendados" -#: noindex-seo.php:5166 +#: noindex-seo.php:5793 msgid "" "Enables all 5 directives on the 15 contexts flagged \"Recommended\" (privacy " "policy, date archives, pagination, search results, attachment pages, " @@ -768,36 +776,37 @@ msgstr "" "resultados de búsqueda, páginas de adjuntos, vistas previas, 404 y carrito, " "finalización de compra y mi cuenta de WooCommerce). Revisa y guarda." -#: noindex-seo.php:5173 +#: noindex-seo.php:5800 msgid "Apply Recommended Defaults" msgstr "Aplicar los valores recomendados" -#: noindex-seo.php:5178 +#: noindex-seo.php:5805 msgid "Enable all directives for the 15 contexts flagged as recommended." -msgstr "Activar todas las directivas de los 15 contextos marcados como recomendados." +msgstr "" +"Activar todas las directivas de los 15 contextos marcados como recomendados." "Activa todas las directivas en los 15 contextos marcados como recomendados." -#: noindex-seo.php:5192 +#: noindex-seo.php:5819 msgid "Overview" msgstr "Resumen" -#: noindex-seo.php:5196 +#: noindex-seo.php:5823 msgid "Total Options" msgstr "Opciones totales" -#: noindex-seo.php:5200 +#: noindex-seo.php:5827 msgid "Enabled" msgstr "Activadas" -#: noindex-seo.php:5204 +#: noindex-seo.php:5831 msgid "Recommended to Enable" msgstr "Recomendadas para activar" -#: noindex-seo.php:5209 +#: noindex-seo.php:5836 msgid "Page contexts" msgstr "Contextos de página" -#: noindex-seo.php:5214 +#: noindex-seo.php:5841 msgid "" "Important: Enabling noindex on the wrong pages can harm your search engine " "rankings. Only enable options you fully understand." @@ -806,32 +815,34 @@ msgstr "" "posicionamiento en buscadores. Activa solo las opciones que entiendas " "completamente." -#: noindex-seo.php:5221 +#: noindex-seo.php:5848 msgid "Search options..." msgstr "Buscar opciones…" -#: noindex-seo.php:5222 +#: noindex-seo.php:5849 msgid "Search options" msgstr "Buscar opciones" -#: noindex-seo.php:5247 +#: noindex-seo.php:5874 msgid "This option only works with HTTP Headers implementation method" -msgstr "Esta opción solo funciona con el método de implementación de cabeceras HTTP" -"Esta opción solo funciona con el método de implementación de cabeceras HTTP" +msgstr "" +"Esta opción solo funciona con el método de implementación de cabeceras " +"HTTPEsta opción solo funciona con el método de implementación de cabeceras " +"HTTP" -#: noindex-seo.php:5256 +#: noindex-seo.php:5883 msgid "Not Recommended" msgstr "No recomendado" -#: noindex-seo.php:5261 +#: noindex-seo.php:5888 msgid "View Page" msgstr "Ver página" -#: noindex-seo.php:5342 noindex-seo.php:5350 +#: noindex-seo.php:5969 noindex-seo.php:5977 msgid "Conditional rules" msgstr "Reglas condicionales" -#: noindex-seo.php:5344 +#: noindex-seo.php:5971 msgid "" "Automatically apply noindex to any post whose custom field (for example an " "ACF field) exactly matches a value. Rules run below the per-post overrides " @@ -844,51 +855,118 @@ msgstr "" "encima de los ajustes globales de contexto, y las entradas coincidentes " "desaparecen del mapa del sitio XML." -#: noindex-seo.php:5357 +#: noindex-seo.php:5984 msgid "Field name" msgstr "Nombre del campo" -#: noindex-seo.php:5358 +#: noindex-seo.php:5985 msgid "Value" msgstr "Valor" -#: noindex-seo.php:5359 +#: noindex-seo.php:5986 noindex-seo.php:6210 msgid "Actions" msgstr "Acciones" -#: noindex-seo.php:5375 +#: noindex-seo.php:6002 msgid "custom_field_name" msgstr "nombre_campo_personalizado" -#: noindex-seo.php:5376 +#: noindex-seo.php:6003 msgid "value that triggers noindex" msgstr "valor que activa noindex" -#: noindex-seo.php:5377 +#: noindex-seo.php:6004 noindex-seo.php:6231 msgid "Remove rule" msgstr "Eliminar regla" -#: noindex-seo.php:5382 +#: noindex-seo.php:6009 noindex-seo.php:6236 msgid "Add rule" msgstr "Añadir regla" -#: noindex-seo.php:5383 +#: noindex-seo.php:6010 msgid "Up to 20 rules. Rows with an empty field or value are ignored." msgstr "Hasta 20 reglas. Las filas con un campo o un valor vacíos se ignoran." -#: noindex-seo.php:5397 noindex-seo.php:5406 +#. translators: %d: number of posts. +#: noindex-seo.php:6036 +#, php-format +msgid "Imported robots overrides for %d post" +msgid_plural "Imported robots overrides for %d posts" +msgstr[0] "Se han importado ajustos robots para %d entrada" +msgstr[1] "Se han importado ajustos robots para %d entradas" + +#. translators: %d: number of terms. +#. translators: %d: number of terms found. +#: noindex-seo.php:6041 noindex-seo.php:6105 +#, php-format +msgid "%d term" +msgid_plural "%d terms" +msgstr[0] "%d término" +msgstr[1] "%d términos" + +#. translators: 1: number of skipped posts, 2: number of skipped terms. +#: noindex-seo.php:6052 +#, php-format +msgid "%1$d posts and %2$d terms skipped (already configured)" +msgstr "%1$d entradas y %2$d términos omitidos (ya estaban configurados)" + +#: noindex-seo.php:6062 +msgid "No plugins were selected to import from." +msgstr "No se ha seleccionado ningún plugin del que importar." + +#: noindex-seo.php:6067 +msgid "The selected plugins had no importable robots data left." +msgstr "Los plugins seleccionados no tenían ningún dato robots importable." + +#: noindex-seo.php:6073 +msgid "Import from other plugins" +msgstr "Importar de otros plugins" + +#: noindex-seo.php:6075 +msgid "" +"Imports the noindex and nofollow flags stored by other SEO plugins (Yoast " +"SEO, Rank Math, SEOPress, All in One SEO) as per-post and per-term " +"overrides. Nothing is imported automatically: you pick the plugins below and " +"confirm. Content that already has its own override is never touched." +msgstr "" +"Importa los ajustes noindex y nofollow guardados por otros plugins de SEO " +"(Yoast SEO, Rank Math, SEOPress, All in One SEO) como anulaciones por " +"entrada y por término. No se importa nada automáticamente: eliges los " +"plugins de abajo y confirmas. El contenido que ya tenga su propia anulación " +"no se toca." + +#. translators: %d: number of posts found. +#: noindex-seo.php:6094 +#, php-format +msgid "%d post" +msgid_plural "%d posts" +msgstr[0] "%d entrada" +msgstr[1] "%d entradas" + +#: noindex-seo.php:6116 +msgid "" +"No importable robots data from other SEO plugins was found on this site." +msgstr "" +"No se han encontrado datos robots importables de otros plugins de SEO en " +"este sitio." + +#: noindex-seo.php:6120 +msgid "Import selected plugins" +msgstr "Importar los plugins seleccionados" + +#: noindex-seo.php:6130 noindex-seo.php:6139 msgid "Export settings" msgstr "Exportar ajustes" -#: noindex-seo.php:5399 +#: noindex-seo.php:6132 msgid "Download the current settings as a JSON file." msgstr "Descarga los ajustes actuales en un archivo JSON." -#: noindex-seo.php:5415 noindex-seo.php:5423 noindex-seo.php:5433 +#: noindex-seo.php:6148 noindex-seo.php:6156 noindex-seo.php:6166 msgid "Import settings" msgstr "Importar ajustes" -#: noindex-seo.php:5417 +#: noindex-seo.php:6150 msgid "" "Restore the global settings from a previously exported JSON file. Per-post " "and per-term overrides are kept." @@ -896,10 +974,73 @@ msgstr "" "Restaura los ajustes globales desde un archivo JSON exportado anteriormente. " "Las sobrescrituras por entrada y por término se conservan." +#: noindex-seo.php:6198 +msgid "Extend the virtual robots.txt with bot rules" +msgstr "Ampliar el robots.txt virtual con reglas para bots" + +#: noindex-seo.php:6201 +msgid "" +"Inactive by default. When enabled, the rules below are appended to the " +"robots.txt that WordPress generates virtually — they never replace it. This " +"only applies when WordPress serves robots.txt itself: a physical robots.txt " +"file in the site root, or \"Discourage search engines\" in Reading settings, " +"takes precedence." +msgstr "" +"Inactivo por defecto. Al activarlo, las reglas de abajo se añaden al final " +"del robots.txt que WordPress genera virtualmente; nunca lo sustituyen. Solo " +"se aplica cuando WordPress sirve el robots.txt él mismo: un archivo robots." +"txt físico en la raíz del sitio o la opción «Disuadir a los motores de " +"búsqueda» en Ajustos de lectura tienen prioridad." + +#: noindex-seo.php:6208 +msgid "User-agent" +msgstr "User-agent" + +#: noindex-seo.php:6209 +msgid "Policy" +msgstr "Política" + +#: noindex-seo.php:6226 +msgid "User-agent token, e.g. GPTBot or *" +msgstr "Token de user-agent, por ejemplo GPTBot o *" + +#: noindex-seo.php:6228 +msgid "Block (Disallow: /)" +msgstr "Bloquear (Disallow: /)" + +#: noindex-seo.php:6229 +msgid "Allow (Allow: /)" +msgstr "Permitir (Allow: /)" + +#: noindex-seo.php:6237 +msgid "Add common AI bots" +msgstr "Añadir bots de IA habituales" + +#: noindex-seo.php:6238 +msgid "Add common search engine bots" +msgstr "Añadir bots de buscadores habituales" + +#: noindex-seo.php:6241 +msgid "" +"Up to 30 rules. Blocked bots receive \"Disallow: /\" for the whole site; " +"allowed bots receive \"Allow: /\" (useful to allow one crawler inside a " +"broader block set with a * rule). Duplicate user-agents are ignored." +msgstr "" +"Hasta 30 reglas. Los bots bloqueados reciben «Disallow: /» para todo el " +"sitio; los permitidos reciben «Allow: /» (útil para permitir un rastreador " +"dentro de un bloqueo más amplio definido con *). Los user-agent duplicados " +"se ignoran." + +#: noindex-seo.php:6247 +msgid "Preview of the appended block" +msgstr "Vista previa del bloque añadido" + #: assets/js/editor-sidebar.js:188 msgid "Enable to set custom robots directives for this content" -msgstr "Actívala para definir directivas robots personalizadas para este contenido" -"Activa para establecer directivas robots personalizadas para este contenido" +msgstr "" +"Actívala para definir directivas robots personalizadas para este " +"contenidoActiva para establecer directivas robots personalizadas para este " +"contenido" #: assets/js/editor-sidebar.js:218 msgid "Robots Directives:" @@ -935,4 +1076,3 @@ msgstr "Directivas activas:" #~ msgid "🖼️ noimageindex" #~ msgstr "🖼️ noimageindex" - diff --git a/languages/noindex-seo.pot b/languages/noindex-seo.pot index f34c1c7..507379b 100644 --- a/languages/noindex-seo.pot +++ b/languages/noindex-seo.pot @@ -2,22 +2,22 @@ # This file is distributed under the GPL-3.0-or-later. msgid "" msgstr "" -"Project-Id-Version: noindex SEO 3.6.0\n" +"Project-Id-Version: noindex SEO 3.7.0\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/noindex-seo\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2026-11-03T17:16:14+00:00\n" +"POT-Creation-Date: 2026-11-03T20:17:27+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.12.0\n" "X-Domain: noindex-seo\n" #. Plugin Name of the plugin #: noindex-seo.php -#: noindex-seo.php:2044 -#: noindex-seo.php:2045 +#: noindex-seo.php:2590 +#: noindex-seo.php:2591 msgid "noindex SEO" msgstr "" @@ -41,262 +41,263 @@ msgstr "" msgid "https://www.robotstxt.software/" msgstr "" -#: noindex-seo.php:1449 +#: noindex-seo.php:1993 msgid "Post ID to compute effective directives for." msgstr "" -#: noindex-seo.php:1476 +#: noindex-seo.php:2020 msgid "You do not have permission to read the noindex SEO settings." msgstr "" -#: noindex-seo.php:1526 +#: noindex-seo.php:2070 msgid "You do not have permission to read directives for this post." msgstr "" -#: noindex-seo.php:1589 +#: noindex-seo.php:2133 msgid "No post exists with that post_id." msgstr "" -#: noindex-seo.php:1895 +#: noindex-seo.php:2439 msgid "Settings saved successfully!" msgstr "" -#: noindex-seo.php:1896 +#: noindex-seo.php:2440 msgid "Expand All" msgstr "" -#: noindex-seo.php:1897 +#: noindex-seo.php:2441 msgid "Collapse All" msgstr "" -#: noindex-seo.php:1977 +#: noindex-seo.php:2523 msgid "Settings" msgstr "" #. translators: plugin name. -#: noindex-seo.php:2270 +#: noindex-seo.php:2816 #, php-format msgid "noindex SEO has detected that %s is active. This may cause conflicts. Please configure the options accordingly." msgstr "" #. translators: %s: comma-separated list of wp_robots callbacks. -#: noindex-seo.php:2291 +#: noindex-seo.php:2837 #, php-format msgid "noindex SEO has detected that another plugin or theme is adding robots directives through the wp_robots API (%s). This may cause conflicts. Please configure the options accordingly." msgstr "" -#: noindex-seo.php:2408 -#: noindex-seo.php:2561 -#: noindex-seo.php:2612 -#: noindex-seo.php:2710 +#: noindex-seo.php:2954 +#: noindex-seo.php:3129 +#: noindex-seo.php:3180 +#: noindex-seo.php:3284 +#: noindex-seo.php:3345 msgid "Permission denied." msgstr "" -#: noindex-seo.php:3402 -#: noindex-seo.php:3791 +#: noindex-seo.php:4033 +#: noindex-seo.php:4422 #: assets/js/editor-sidebar.js:176 msgid "Search Engine Visibility" msgstr "" -#: noindex-seo.php:3463 -#: noindex-seo.php:4161 +#: noindex-seo.php:4094 +#: noindex-seo.php:4792 #: assets/js/editor-sidebar.js:187 msgid "Override global settings" msgstr "" -#: noindex-seo.php:3468 +#: noindex-seo.php:4099 msgid "When enabled, these directives will override the global settings for this specific content." msgstr "" -#: noindex-seo.php:3475 +#: noindex-seo.php:4106 msgid "Prevent indexing" msgstr "" -#: noindex-seo.php:3480 +#: noindex-seo.php:4111 msgid "Prevent link following" msgstr "" -#: noindex-seo.php:3485 +#: noindex-seo.php:4116 msgid "Prevent caching" msgstr "" -#: noindex-seo.php:3490 +#: noindex-seo.php:4121 msgid "Prevent snippets" msgstr "" -#: noindex-seo.php:3495 +#: noindex-seo.php:4126 msgid "Prevent image indexing" msgstr "" -#: noindex-seo.php:3500 +#: noindex-seo.php:4131 msgid "Prevent translation" msgstr "" -#: noindex-seo.php:3505 +#: noindex-seo.php:4136 msgid "Value directives (empty = off):" msgstr "" -#: noindex-seo.php:3508 -#: noindex-seo.php:3514 -#: noindex-seo.php:3523 -#: noindex-seo.php:3810 -#: noindex-seo.php:3818 -#: noindex-seo.php:4195 -#: noindex-seo.php:4200 -#: noindex-seo.php:4208 -#: noindex-seo.php:5296 -#: noindex-seo.php:5312 +#: noindex-seo.php:4139 +#: noindex-seo.php:4145 +#: noindex-seo.php:4154 +#: noindex-seo.php:4441 +#: noindex-seo.php:4449 +#: noindex-seo.php:4826 +#: noindex-seo.php:4831 +#: noindex-seo.php:4839 +#: noindex-seo.php:5923 +#: noindex-seo.php:5939 #: assets/js/editor-sidebar.js:141 msgid "Off" msgstr "" -#: noindex-seo.php:3509 -#: noindex-seo.php:4962 +#: noindex-seo.php:4140 +#: noindex-seo.php:5589 msgid "Maximum snippet length in characters (-1 = no limit)" msgstr "" -#: noindex-seo.php:3515 -#: noindex-seo.php:3811 -#: noindex-seo.php:4201 -#: noindex-seo.php:5313 +#: noindex-seo.php:4146 +#: noindex-seo.php:4442 +#: noindex-seo.php:4832 +#: noindex-seo.php:5940 #: assets/js/editor-sidebar.js:142 msgid "none" msgstr "" -#: noindex-seo.php:3516 -#: noindex-seo.php:3812 -#: noindex-seo.php:4202 -#: noindex-seo.php:5314 +#: noindex-seo.php:4147 +#: noindex-seo.php:4443 +#: noindex-seo.php:4833 +#: noindex-seo.php:5941 #: assets/js/editor-sidebar.js:143 msgid "standard" msgstr "" -#: noindex-seo.php:3517 -#: noindex-seo.php:3813 -#: noindex-seo.php:4203 -#: noindex-seo.php:5315 +#: noindex-seo.php:4148 +#: noindex-seo.php:4444 +#: noindex-seo.php:4834 +#: noindex-seo.php:5942 #: assets/js/editor-sidebar.js:144 msgid "large" msgstr "" -#: noindex-seo.php:3519 -#: noindex-seo.php:4967 +#: noindex-seo.php:4150 +#: noindex-seo.php:5594 msgid "Maximum image preview size" msgstr "" -#: noindex-seo.php:3524 -#: noindex-seo.php:4972 +#: noindex-seo.php:4155 +#: noindex-seo.php:5599 msgid "Maximum video preview seconds (-1 = no limit)" msgstr "" -#: noindex-seo.php:3529 +#: noindex-seo.php:4160 msgid "Stop indexing after this date and time" msgstr "" -#: noindex-seo.php:3537 +#: noindex-seo.php:4168 msgid "Effective Directives:" msgstr "" -#: noindex-seo.php:3547 +#: noindex-seo.php:4178 msgid "Override active:" msgstr "" -#: noindex-seo.php:3552 +#: noindex-seo.php:4183 msgid "Override enabled but no directives selected" msgstr "" -#: noindex-seo.php:3558 +#: noindex-seo.php:4189 msgid "Global settings:" msgstr "" -#: noindex-seo.php:3563 +#: noindex-seo.php:4194 msgid "No restrictions (indexable)" msgstr "" -#: noindex-seo.php:3795 +#: noindex-seo.php:4426 msgid "Override global settings for this term" msgstr "" -#: noindex-seo.php:3826 +#: noindex-seo.php:4457 msgid "When override is enabled, the directives checked above apply to this term's archive page and take precedence over the global category / tag / archive settings." msgstr "" -#: noindex-seo.php:3928 -#: noindex-seo.php:3934 -#: noindex-seo.php:4050 -#: noindex-seo.php:4056 +#: noindex-seo.php:4559 +#: noindex-seo.php:4565 +#: noindex-seo.php:4681 +#: noindex-seo.php:4687 msgid "Robots" msgstr "" -#: noindex-seo.php:3992 -#: noindex-seo.php:4111 +#: noindex-seo.php:4623 +#: noindex-seo.php:4742 msgid "Override (none)" msgstr "" -#: noindex-seo.php:4157 +#: noindex-seo.php:4788 msgid "Robots Directives" msgstr "" -#: noindex-seo.php:4167 -#: noindex-seo.php:4931 +#: noindex-seo.php:4798 +#: noindex-seo.php:5558 msgid "noindex" msgstr "" -#: noindex-seo.php:4172 -#: noindex-seo.php:4936 +#: noindex-seo.php:4803 +#: noindex-seo.php:5563 msgid "nofollow" msgstr "" -#: noindex-seo.php:4177 -#: noindex-seo.php:4941 +#: noindex-seo.php:4808 +#: noindex-seo.php:5568 msgid "noarchive" msgstr "" -#: noindex-seo.php:4182 -#: noindex-seo.php:4946 +#: noindex-seo.php:4813 +#: noindex-seo.php:5573 msgid "nosnippet" msgstr "" -#: noindex-seo.php:4187 -#: noindex-seo.php:4951 +#: noindex-seo.php:4818 +#: noindex-seo.php:5578 msgid "noimageindex" msgstr "" -#: noindex-seo.php:4192 -#: noindex-seo.php:4956 +#: noindex-seo.php:4823 +#: noindex-seo.php:5583 msgid "notranslate" msgstr "" -#: noindex-seo.php:4196 -#: noindex-seo.php:4961 +#: noindex-seo.php:4827 +#: noindex-seo.php:5588 msgid "max-snippet" msgstr "" -#: noindex-seo.php:4205 -#: noindex-seo.php:4966 +#: noindex-seo.php:4836 +#: noindex-seo.php:5593 msgid "max-image-preview" msgstr "" -#: noindex-seo.php:4209 -#: noindex-seo.php:4971 +#: noindex-seo.php:4840 +#: noindex-seo.php:5598 msgid "max-video-preview" msgstr "" -#: noindex-seo.php:4213 -#: noindex-seo.php:4976 +#: noindex-seo.php:4844 +#: noindex-seo.php:5603 msgid "unavailable_after" msgstr "" -#: noindex-seo.php:4326 +#: noindex-seo.php:4957 msgid "Enable Robots Override" msgstr "" -#: noindex-seo.php:4327 +#: noindex-seo.php:4958 msgid "Disable Robots Override" msgstr "" #. translators: %d: Number of posts updated -#: noindex-seo.php:4424 +#: noindex-seo.php:5050 #, php-format msgid "Robots override enabled for %d post." msgid_plural "Robots override enabled for %d posts." @@ -304,551 +305,658 @@ msgstr[0] "" msgstr[1] "" #. translators: %d: Number of posts updated -#: noindex-seo.php:4445 +#: noindex-seo.php:5071 #, php-format msgid "Robots override disabled for %d post." msgid_plural "Robots override disabled for %d posts." msgstr[0] "" msgstr[1] "" -#: noindex-seo.php:4494 +#: noindex-seo.php:5120 msgid "All robots settings" msgstr "" -#: noindex-seo.php:4496 +#: noindex-seo.php:5122 msgid "With override" msgstr "" -#: noindex-seo.php:4499 +#: noindex-seo.php:5125 msgid "Without override" msgstr "" -#: noindex-seo.php:4618 +#: noindex-seo.php:5244 msgid "You do not have sufficient permissions to access this page." msgstr "" -#: noindex-seo.php:4619 +#: noindex-seo.php:5245 msgid "Permission Denied" msgstr "" -#: noindex-seo.php:4631 +#: noindex-seo.php:5257 msgid "General" msgstr "" -#: noindex-seo.php:4632 +#: noindex-seo.php:5258 msgid "SEO Settings" msgstr "" -#: noindex-seo.php:4633 +#: noindex-seo.php:5259 msgid "Import / Export" msgstr "" -#: noindex-seo.php:4653 +#: noindex-seo.php:5260 +msgid "Robots.txt" +msgstr "" + +#: noindex-seo.php:5280 msgid "Main Pages" msgstr "" -#: noindex-seo.php:4656 +#: noindex-seo.php:5283 msgid "Front Page" msgstr "" -#: noindex-seo.php:4657 -#: noindex-seo.php:4664 -#: noindex-seo.php:4676 -#: noindex-seo.php:4682 -#: noindex-seo.php:4689 -#: noindex-seo.php:4695 -#: noindex-seo.php:4706 -#: noindex-seo.php:4712 -#: noindex-seo.php:4723 -#: noindex-seo.php:4729 -#: noindex-seo.php:4735 -#: noindex-seo.php:4741 -#: noindex-seo.php:4747 -#: noindex-seo.php:4758 -#: noindex-seo.php:4764 -#: noindex-seo.php:4770 -#: noindex-seo.php:4781 -#: noindex-seo.php:4792 -#: noindex-seo.php:4803 -#: noindex-seo.php:4814 -#: noindex-seo.php:4820 -#: noindex-seo.php:4831 -#: noindex-seo.php:4855 -#: noindex-seo.php:4896 -#: noindex-seo.php:5254 +#: noindex-seo.php:5284 +#: noindex-seo.php:5291 +#: noindex-seo.php:5303 +#: noindex-seo.php:5309 +#: noindex-seo.php:5316 +#: noindex-seo.php:5322 +#: noindex-seo.php:5333 +#: noindex-seo.php:5339 +#: noindex-seo.php:5350 +#: noindex-seo.php:5356 +#: noindex-seo.php:5362 +#: noindex-seo.php:5368 +#: noindex-seo.php:5374 +#: noindex-seo.php:5385 +#: noindex-seo.php:5391 +#: noindex-seo.php:5397 +#: noindex-seo.php:5408 +#: noindex-seo.php:5419 +#: noindex-seo.php:5430 +#: noindex-seo.php:5441 +#: noindex-seo.php:5447 +#: noindex-seo.php:5458 +#: noindex-seo.php:5482 +#: noindex-seo.php:5523 +#: noindex-seo.php:5881 msgid "Recommended" msgstr "" -#: noindex-seo.php:4659 +#: noindex-seo.php:5286 msgid "Block the indexing of the site's front page." msgstr "" -#: noindex-seo.php:4663 +#: noindex-seo.php:5290 msgid "Home" msgstr "" -#: noindex-seo.php:4666 +#: noindex-seo.php:5293 msgid "Block the indexing of the site's home page." msgstr "" -#: noindex-seo.php:4672 +#: noindex-seo.php:5299 msgid "Pages and Posts" msgstr "" -#: noindex-seo.php:4675 +#: noindex-seo.php:5302 msgid "Page" msgstr "" -#: noindex-seo.php:4678 +#: noindex-seo.php:5305 msgid "Block the indexing of site pages." msgstr "" -#: noindex-seo.php:4681 +#: noindex-seo.php:5308 msgid "Privacy Policy" msgstr "" -#: noindex-seo.php:4684 +#: noindex-seo.php:5311 msgid "Block the indexing of the privacy policy page." msgstr "" -#: noindex-seo.php:4688 +#: noindex-seo.php:5315 msgid "Single Post" msgstr "" -#: noindex-seo.php:4691 +#: noindex-seo.php:5318 msgid "Block the indexing of individual posts." msgstr "" -#: noindex-seo.php:4694 +#: noindex-seo.php:5321 msgid "Singular" msgstr "" -#: noindex-seo.php:4697 +#: noindex-seo.php:5324 msgid "Block the indexing of any singular content (post or page)." msgstr "" -#: noindex-seo.php:4702 +#: noindex-seo.php:5329 msgid "Taxonomies" msgstr "" -#: noindex-seo.php:4705 +#: noindex-seo.php:5332 msgid "Category" msgstr "" -#: noindex-seo.php:4708 +#: noindex-seo.php:5335 msgid "Block the indexing of category archive pages." msgstr "" -#: noindex-seo.php:4711 +#: noindex-seo.php:5338 msgid "Tag" msgstr "" -#: noindex-seo.php:4714 +#: noindex-seo.php:5341 msgid "Block the indexing of tag archive pages." msgstr "" -#: noindex-seo.php:4719 +#: noindex-seo.php:5346 msgid "Date Archives" msgstr "" -#: noindex-seo.php:4722 +#: noindex-seo.php:5349 msgid "Date" msgstr "" -#: noindex-seo.php:4725 +#: noindex-seo.php:5352 msgid "Block the indexing of any date-based archive page." msgstr "" -#: noindex-seo.php:4728 +#: noindex-seo.php:5355 msgid "Day" msgstr "" -#: noindex-seo.php:4731 +#: noindex-seo.php:5358 msgid "Block the indexing of daily archive pages." msgstr "" -#: noindex-seo.php:4734 +#: noindex-seo.php:5361 msgid "Month" msgstr "" -#: noindex-seo.php:4737 +#: noindex-seo.php:5364 msgid "Block the indexing of monthly archive pages." msgstr "" -#: noindex-seo.php:4740 +#: noindex-seo.php:5367 msgid "Time" msgstr "" -#: noindex-seo.php:4743 +#: noindex-seo.php:5370 msgid "Block the indexing of time-based archive pages." msgstr "" -#: noindex-seo.php:4746 +#: noindex-seo.php:5373 msgid "Year" msgstr "" -#: noindex-seo.php:4749 +#: noindex-seo.php:5376 msgid "Block the indexing of yearly archive pages." msgstr "" -#: noindex-seo.php:4754 +#: noindex-seo.php:5381 msgid "Archives" msgstr "" -#: noindex-seo.php:4757 +#: noindex-seo.php:5384 msgid "Archive" msgstr "" -#: noindex-seo.php:4760 +#: noindex-seo.php:5387 msgid "Block the indexing of any type of archive page." msgstr "" -#: noindex-seo.php:4763 +#: noindex-seo.php:5390 msgid "Author" msgstr "" -#: noindex-seo.php:4766 +#: noindex-seo.php:5393 msgid "Block the indexing of author archive pages." msgstr "" -#: noindex-seo.php:4769 +#: noindex-seo.php:5396 msgid "Post Type Archive" msgstr "" -#: noindex-seo.php:4772 +#: noindex-seo.php:5399 msgid "Block the indexing of post type archive pages." msgstr "" -#: noindex-seo.php:4777 +#: noindex-seo.php:5404 msgid "Pagination" msgstr "" -#: noindex-seo.php:4780 +#: noindex-seo.php:5407 msgid "Paginated Pages" msgstr "" -#: noindex-seo.php:4783 +#: noindex-seo.php:5410 msgid "Block the indexing of pagination pages (page 2, 3, etc.)." msgstr "" -#: noindex-seo.php:4788 +#: noindex-seo.php:5415 msgid "Search" msgstr "" -#: noindex-seo.php:4791 +#: noindex-seo.php:5418 msgid "Search Results" msgstr "" -#: noindex-seo.php:4794 +#: noindex-seo.php:5421 msgid "Block the indexing of search result pages." msgstr "" -#: noindex-seo.php:4799 +#: noindex-seo.php:5426 msgid "Attachments" msgstr "" -#: noindex-seo.php:4802 +#: noindex-seo.php:5429 msgid "Attachment Pages" msgstr "" -#: noindex-seo.php:4805 +#: noindex-seo.php:5432 msgid "Block the indexing of attachment pages (does not affect the file itself)." msgstr "" -#: noindex-seo.php:4810 +#: noindex-seo.php:5437 msgid "Previews" msgstr "" -#: noindex-seo.php:4813 +#: noindex-seo.php:5440 msgid "Customize Preview" msgstr "" -#: noindex-seo.php:4816 +#: noindex-seo.php:5443 msgid "Block the indexing when content is in customize preview mode." msgstr "" -#: noindex-seo.php:4819 +#: noindex-seo.php:5446 msgid "Post Preview" msgstr "" -#: noindex-seo.php:4822 +#: noindex-seo.php:5449 msgid "Block the indexing when viewing post previews." msgstr "" -#: noindex-seo.php:4827 +#: noindex-seo.php:5454 msgid "Error Pages" msgstr "" -#: noindex-seo.php:4830 +#: noindex-seo.php:5457 msgid "Error 404" msgstr "" -#: noindex-seo.php:4833 +#: noindex-seo.php:5460 msgid "Block the indexing of 404 error pages." msgstr "" #. translators: %s: post type singular name. -#: noindex-seo.php:4858 +#: noindex-seo.php:5485 #, php-format msgid "Block the indexing of individual %s." msgstr "" -#: noindex-seo.php:4862 +#: noindex-seo.php:5489 msgid "Custom Post Types" msgstr "" -#: noindex-seo.php:4875 +#: noindex-seo.php:5502 msgid "Cart" msgstr "" -#: noindex-seo.php:4876 +#: noindex-seo.php:5503 msgid "Block the indexing of the WooCommerce cart page." msgstr "" -#: noindex-seo.php:4879 +#: noindex-seo.php:5506 msgid "Checkout" msgstr "" -#: noindex-seo.php:4880 +#: noindex-seo.php:5507 msgid "Block the indexing of the WooCommerce checkout page." msgstr "" -#: noindex-seo.php:4883 +#: noindex-seo.php:5510 msgid "My Account" msgstr "" -#: noindex-seo.php:4884 +#: noindex-seo.php:5511 msgid "Block the indexing of the WooCommerce customer account pages (including order history and address endpoints)." msgstr "" -#: noindex-seo.php:4904 +#: noindex-seo.php:5531 msgid "WooCommerce" msgstr "" -#: noindex-seo.php:4932 +#: noindex-seo.php:5559 msgid "Prevent search engines from indexing this page" msgstr "" -#: noindex-seo.php:4937 +#: noindex-seo.php:5564 msgid "Prevent search engines from following links on this page" msgstr "" -#: noindex-seo.php:4942 +#: noindex-seo.php:5569 msgid "Prevent search engines from showing a cached version" msgstr "" -#: noindex-seo.php:4947 +#: noindex-seo.php:5574 msgid "Prevent search engines from showing text snippets" msgstr "" -#: noindex-seo.php:4952 +#: noindex-seo.php:5579 msgid "Prevent search engines from indexing images" msgstr "" -#: noindex-seo.php:4957 +#: noindex-seo.php:5584 msgid "Ask search engines not to translate this page" msgstr "" -#: noindex-seo.php:4977 +#: noindex-seo.php:5604 msgid "Stop indexing this page after this date and time" msgstr "" -#: noindex-seo.php:4984 +#: noindex-seo.php:5611 msgid "noindex SEO Settings" msgstr "" -#: noindex-seo.php:4985 +#: noindex-seo.php:5612 msgid "Control how search engines index and display your WordPress content using robots directives." msgstr "" -#: noindex-seo.php:4996 +#: noindex-seo.php:5623 msgid "Recommended defaults applied. Review the changes below and click \"Save Changes\" to keep them, or uncheck anything you do not want." msgstr "" -#: noindex-seo.php:5004 +#: noindex-seo.php:5631 msgid "Settings imported successfully." msgstr "" -#: noindex-seo.php:5011 +#: noindex-seo.php:5638 msgid "The settings file could not be imported: it is missing, too large, or not a valid noindex SEO export." msgstr "" -#: noindex-seo.php:5019 +#: noindex-seo.php:5646 msgid "Settings sections" msgstr "" -#: noindex-seo.php:5046 +#: noindex-seo.php:5673 msgid "General Configuration" msgstr "" -#: noindex-seo.php:5060 +#: noindex-seo.php:5687 msgid "Disable compatibility warnings with other SEO plugins" msgstr "" -#: noindex-seo.php:5067 +#: noindex-seo.php:5694 msgid "Implementation Method" msgstr "" -#: noindex-seo.php:5075 +#: noindex-seo.php:5702 msgid "HTML Meta Tags (default, easier to verify)" msgstr "" -#: noindex-seo.php:5078 +#: noindex-seo.php:5705 msgid "HTTP Headers (more robust, works with PDFs/images)" msgstr "" -#: noindex-seo.php:5081 +#: noindex-seo.php:5708 msgid "Both (maximum compatibility)" msgstr "" -#: noindex-seo.php:5085 +#: noindex-seo.php:5712 msgid "Choose how noindex directives are sent to search engines. Meta tags work for HTML pages. HTTP headers work for all content types including PDFs, images, and feeds." msgstr "" -#: noindex-seo.php:5103 +#: noindex-seo.php:5730 msgid "Enable per-post/page granular control" msgstr "" -#: noindex-seo.php:5106 +#: noindex-seo.php:5733 msgid "When enabled, a meta box will appear in the post/page editor allowing you to override global settings for individual content. Useful for specific pages that need different robots directives." msgstr "" -#: noindex-seo.php:5124 +#: noindex-seo.php:5751 msgid "Enable per-term granular control" msgstr "" -#: noindex-seo.php:5127 +#: noindex-seo.php:5754 msgid "When enabled, a \"Search Engine Visibility\" panel will appear on the Edit screen for every public taxonomy (categories, tags, and custom taxonomies like WooCommerce product categories). Useful for noindexing a specific category or tag without affecting the others." msgstr "" -#: noindex-seo.php:5145 +#: noindex-seo.php:5772 msgid "Delete all plugin data on uninstall" msgstr "" -#: noindex-seo.php:5148 +#: noindex-seo.php:5775 msgid "When enabled, all settings and per-post robots directives will be permanently deleted when the plugin is uninstalled. By default data is preserved." msgstr "" -#: noindex-seo.php:5164 +#: noindex-seo.php:5791 msgid "Recommended settings" msgstr "" -#: noindex-seo.php:5166 +#: noindex-seo.php:5793 msgid "Enables all 5 directives on the 15 contexts flagged \"Recommended\" (privacy policy, date archives, pagination, search results, attachment pages, previews, 404, WooCommerce cart / checkout / my account). Review and save." msgstr "" -#: noindex-seo.php:5173 +#: noindex-seo.php:5800 msgid "Apply Recommended Defaults" msgstr "" -#: noindex-seo.php:5178 +#: noindex-seo.php:5805 msgid "Enable all directives for the 15 contexts flagged as recommended." msgstr "" -#: noindex-seo.php:5192 +#: noindex-seo.php:5819 msgid "Overview" msgstr "" -#: noindex-seo.php:5196 +#: noindex-seo.php:5823 msgid "Total Options" msgstr "" -#: noindex-seo.php:5200 +#: noindex-seo.php:5827 msgid "Enabled" msgstr "" -#: noindex-seo.php:5204 +#: noindex-seo.php:5831 msgid "Recommended to Enable" msgstr "" -#: noindex-seo.php:5209 +#: noindex-seo.php:5836 msgid "Page contexts" msgstr "" -#: noindex-seo.php:5214 +#: noindex-seo.php:5841 msgid "Important: Enabling noindex on the wrong pages can harm your search engine rankings. Only enable options you fully understand." msgstr "" -#: noindex-seo.php:5221 +#: noindex-seo.php:5848 msgid "Search options..." msgstr "" -#: noindex-seo.php:5222 +#: noindex-seo.php:5849 msgid "Search options" msgstr "" -#: noindex-seo.php:5247 +#: noindex-seo.php:5874 msgid "This option only works with HTTP Headers implementation method" msgstr "" -#: noindex-seo.php:5256 +#: noindex-seo.php:5883 msgid "Not Recommended" msgstr "" -#: noindex-seo.php:5261 +#: noindex-seo.php:5888 msgid "View Page" msgstr "" -#: noindex-seo.php:5342 -#: noindex-seo.php:5350 +#: noindex-seo.php:5969 +#: noindex-seo.php:5977 msgid "Conditional rules" msgstr "" -#: noindex-seo.php:5344 +#: noindex-seo.php:5971 msgid "Automatically apply noindex to any post whose custom field (for example an ACF field) exactly matches a value. Rules run below the per-post overrides and above the global context settings, and matched posts drop out of the XML sitemap." msgstr "" -#: noindex-seo.php:5357 +#: noindex-seo.php:5984 msgid "Field name" msgstr "" -#: noindex-seo.php:5358 +#: noindex-seo.php:5985 msgid "Value" msgstr "" -#: noindex-seo.php:5359 +#: noindex-seo.php:5986 +#: noindex-seo.php:6210 msgid "Actions" msgstr "" -#: noindex-seo.php:5375 +#: noindex-seo.php:6002 msgid "custom_field_name" msgstr "" -#: noindex-seo.php:5376 +#: noindex-seo.php:6003 msgid "value that triggers noindex" msgstr "" -#: noindex-seo.php:5377 +#: noindex-seo.php:6004 +#: noindex-seo.php:6231 msgid "Remove rule" msgstr "" -#: noindex-seo.php:5382 +#: noindex-seo.php:6009 +#: noindex-seo.php:6236 msgid "Add rule" msgstr "" -#: noindex-seo.php:5383 +#: noindex-seo.php:6010 msgid "Up to 20 rules. Rows with an empty field or value are ignored." msgstr "" -#: noindex-seo.php:5397 -#: noindex-seo.php:5406 +#. translators: %d: number of posts. +#: noindex-seo.php:6036 +#, php-format +msgid "Imported robots overrides for %d post" +msgid_plural "Imported robots overrides for %d posts" +msgstr[0] "" +msgstr[1] "" + +#. translators: %d: number of terms. +#. translators: %d: number of terms found. +#: noindex-seo.php:6041 +#: noindex-seo.php:6105 +#, php-format +msgid "%d term" +msgid_plural "%d terms" +msgstr[0] "" +msgstr[1] "" + +#. translators: 1: number of skipped posts, 2: number of skipped terms. +#: noindex-seo.php:6052 +#, php-format +msgid "%1$d posts and %2$d terms skipped (already configured)" +msgstr "" + +#: noindex-seo.php:6062 +msgid "No plugins were selected to import from." +msgstr "" + +#: noindex-seo.php:6067 +msgid "The selected plugins had no importable robots data left." +msgstr "" + +#: noindex-seo.php:6073 +msgid "Import from other plugins" +msgstr "" + +#: noindex-seo.php:6075 +msgid "Imports the noindex and nofollow flags stored by other SEO plugins (Yoast SEO, Rank Math, SEOPress, All in One SEO) as per-post and per-term overrides. Nothing is imported automatically: you pick the plugins below and confirm. Content that already has its own override is never touched." +msgstr "" + +#. translators: %d: number of posts found. +#: noindex-seo.php:6094 +#, php-format +msgid "%d post" +msgid_plural "%d posts" +msgstr[0] "" +msgstr[1] "" + +#: noindex-seo.php:6116 +msgid "No importable robots data from other SEO plugins was found on this site." +msgstr "" + +#: noindex-seo.php:6120 +msgid "Import selected plugins" +msgstr "" + +#: noindex-seo.php:6130 +#: noindex-seo.php:6139 msgid "Export settings" msgstr "" -#: noindex-seo.php:5399 +#: noindex-seo.php:6132 msgid "Download the current settings as a JSON file." msgstr "" -#: noindex-seo.php:5415 -#: noindex-seo.php:5423 -#: noindex-seo.php:5433 +#: noindex-seo.php:6148 +#: noindex-seo.php:6156 +#: noindex-seo.php:6166 msgid "Import settings" msgstr "" -#: noindex-seo.php:5417 +#: noindex-seo.php:6150 msgid "Restore the global settings from a previously exported JSON file. Per-post and per-term overrides are kept." msgstr "" +#: noindex-seo.php:6198 +msgid "Extend the virtual robots.txt with bot rules" +msgstr "" + +#: noindex-seo.php:6201 +msgid "Inactive by default. When enabled, the rules below are appended to the robots.txt that WordPress generates virtually — they never replace it. This only applies when WordPress serves robots.txt itself: a physical robots.txt file in the site root, or \"Discourage search engines\" in Reading settings, takes precedence." +msgstr "" + +#: noindex-seo.php:6208 +msgid "User-agent" +msgstr "" + +#: noindex-seo.php:6209 +msgid "Policy" +msgstr "" + +#: noindex-seo.php:6226 +msgid "User-agent token, e.g. GPTBot or *" +msgstr "" + +#: noindex-seo.php:6228 +msgid "Block (Disallow: /)" +msgstr "" + +#: noindex-seo.php:6229 +msgid "Allow (Allow: /)" +msgstr "" + +#: noindex-seo.php:6237 +msgid "Add common AI bots" +msgstr "" + +#: noindex-seo.php:6238 +msgid "Add common search engine bots" +msgstr "" + +#: noindex-seo.php:6241 +msgid "Up to 30 rules. Blocked bots receive \"Disallow: /\" for the whole site; allowed bots receive \"Allow: /\" (useful to allow one crawler inside a broader block set with a * rule). Duplicate user-agents are ignored." +msgstr "" + +#: noindex-seo.php:6247 +msgid "Preview of the appended block" +msgstr "" + #: assets/js/editor-sidebar.js:188 msgid "Enable to set custom robots directives for this content" msgstr "" diff --git a/noindex-seo.php b/noindex-seo.php index e6fd197..5df7333 100644 --- a/noindex-seo.php +++ b/noindex-seo.php @@ -3,7 +3,7 @@ * Plugin Name: noindex SEO * Plugin URI: https://www.robotstxt.software/plugins/noindex-seo/ * Description: Control search engine indexing with robots directives (noindex, nofollow, noarchive, nosnippet, noimageindex) for specific parts of your WordPress site. - * Version: 3.6.0 + * Version: 3.7.0 * Requires at least: 7.0 * Requires PHP: 8.3 * Author: ROBOTSTXT @@ -77,8 +77,12 @@ defined( 'ABSPATH' ) || die( 'Bye bye!' ); * every surface (global grid, per-post, per-term, Quick Edit, * block editor, REST, WP-CLI) and conditional auto-noindex * rules driven by custom-field (ACF) matches. + * @since 3.7.0 Bridge release: on-demand import of robots overrides from + * other SEO plugins (Yoast, Rank Math, SEOPress, AIOSEO) and + * virtual robots.txt management (bot rules appended to the + * WordPress-generated robots.txt, inactive by default). */ -define( 'NOINDEX_SEO_VERSION', '3.6.0' ); +define( 'NOINDEX_SEO_VERSION', '3.7.0' ); /** * Option key holding the consolidated plugin settings array. @@ -261,6 +265,10 @@ function noindex_seo_format_directives( array $directives ) { * version: int, * contexts: array>, * rules: array, + * robots_txt: array{ + * enabled: int, + * rules: array + * }, * config: array{ * method: string, * granular: int, @@ -278,10 +286,14 @@ function noindex_seo_get_settings( $force_refresh = false ) { } $defaults = array( - 'version' => 3, - 'contexts' => array(), - 'rules' => array(), - 'config' => array( + 'version' => 3, + 'contexts' => array(), + 'rules' => array(), + 'robots_txt' => array( + 'enabled' => 0, + 'rules' => array(), + ), + 'config' => array( 'method' => 'meta', 'granular' => 0, 'taxonomies_granular' => 0, @@ -325,6 +337,14 @@ function noindex_seo_get_settings( $force_refresh = false ) { $defaults['rules'] = noindex_seo_sanitize_rules( $saved['rules'] ); } + // Virtual robots.txt management (3.7.0). + if ( isset( $saved['robots_txt'] ) && is_array( $saved['robots_txt'] ) ) { + $defaults['robots_txt']['enabled'] = empty( $saved['robots_txt']['enabled'] ) ? 0 : 1; + if ( isset( $saved['robots_txt']['rules'] ) ) { + $defaults['robots_txt']['rules'] = noindex_seo_sanitize_robots_txt_rules( $saved['robots_txt']['rules'] ); + } + } + if ( isset( $saved['config'] ) && is_array( $saved['config'] ) ) { foreach ( $defaults['config'] as $key => $default_value ) { if ( ! isset( $saved['config'][ $key ] ) ) { @@ -448,6 +468,551 @@ function noindex_seo_matching_rule_for_post( $post_id ) { return null; } +/** + * Sanitizes the virtual robots.txt bot rules (3.7.0). + * + * Each rule is a `user_agent` string (letters, digits, `-`, `_`, `.`, `/`, + * `*` — the characters valid in a robots.txt User-agent token) plus a policy + * of `block` (Disallow: /) or `allow` (Allow: /). Empty agents are dropped, + * duplicates collapse (first policy wins) and at most 30 rules are kept. + * + * @since 3.7.0 + * + * @param mixed $raw Untrusted rules array. + * @return array Sanitized rules. + */ +function noindex_seo_sanitize_robots_txt_rules( $raw ) { + if ( ! is_array( $raw ) ) { + return array(); + } + + $rules = array(); + $seen = array(); + foreach ( $raw as $rule ) { + if ( ! is_array( $rule ) || ! isset( $rule['user_agent'], $rule['policy'] ) ) { + continue; + } + + $agent = is_scalar( $rule['user_agent'] ) ? preg_replace( '/[^A-Za-z0-9_*.\-\/]/', '', (string) $rule['user_agent'] ) : ''; + $agent = trim( substr( (string) $agent, 0, 100 ), " \t\0\x0B-_." ); // Length-capped; a lone '*' (all crawlers) stays valid. + if ( '' === $agent || isset( $seen[ strtolower( $agent ) ] ) ) { + continue; + } + + $policy = ( 'allow' === $rule['policy'] ) ? 'allow' : 'block'; + + $seen[ strtolower( $agent ) ] = true; + $rules[] = array( + 'user_agent' => $agent, + 'policy' => $policy, + ); + + if ( count( $rules ) >= 30 ) { + break; + } + } + + return $rules; +} + +/** + * Returns the well-known AI crawler User-agent tokens for the preset button. + * + * Source: public crawler documentation of the main AI vendors (OpenAI, + * Anthropic, Google, Perplexity, Amazon, Meta, Apple, Common Crawl, Cohere, + * ByteDance). Filterable so the list can track new crawlers without a release. + * + * @since 3.7.0 + * + * @return array User-agent tokens. + */ +function noindex_seo_get_ai_bots() { + /** + * Filter the AI crawler User-agent tokens offered by the preset button. + * + * @since 3.7.0 + * + * @param array $bots User-agent tokens. + */ + return apply_filters( + 'noindex_seo_ai_bots', + array( + 'GPTBot', + 'ChatGPT-User', + 'OAI-SearchBot', + 'ClaudeBot', + 'Claude-User', + 'anthropic-ai', + 'Google-Extended', + 'PerplexityBot', + 'Amazonbot', + 'meta-externalagent', + 'Applebot-Extended', + 'CCBot', + 'cohere-ai', + 'Bytespider', + 'YouBot', + ) + ); +} + +/** + * Returns the well-known search engine crawler User-agent tokens. + * + * @since 3.7.0 + * + * @return array User-agent tokens. + */ +function noindex_seo_get_search_bots() { + /** + * Filter the search engine crawler User-agent tokens offered by the preset button. + * + * @since 3.7.0 + * + * @param array $bots User-agent tokens. + */ + return apply_filters( + 'noindex_seo_search_bots', + array( + 'Googlebot', + 'Bingbot', + 'DuckDuckBot', + 'Slurp', + 'Baiduspider', + 'YandexBot', + ) + ); +} + +/** + * Returns the robots.txt block the plugin appends, or '' when inactive. + * + * Each rule renders as its own `User-agent: ` group: + * + * User-agent: GPTBot + * Disallow: / + * + * `allow` rules render `Allow: /` so they can override a broader block + * (the last matching group wins in most crawlers' implementations). + * + * @since 3.7.0 + * + * @return string Robots.txt snippet (no trailing newline), '' when disabled or empty. + */ +function noindex_seo_get_robots_txt_block() { + $settings = noindex_seo_get_settings(); + + if ( empty( $settings['robots_txt']['enabled'] ) ) { + return ''; + } + + $lines = array(); + foreach ( $settings['robots_txt']['rules'] as $rule ) { + $lines[] = 'User-agent: ' . $rule['user_agent']; + $lines[] = ( 'allow' === $rule['policy'] ) ? 'Allow: /' : 'Disallow: /'; + $lines[] = ''; + } + + return trim( implode( "\n", $lines ) ); +} + +/** + * Extends the virtual robots.txt generated by WordPress with the configured + * bot rules (3.7.0). + * + * Inactive by default; only appends when the feature is enabled and rules + * exist. This extends — never replaces — the core output, and only applies + * when WordPress serves robots.txt virtually (no physical robots.txt file + * in the site root and "Search engines visibility" allowed). + * + * Hooked to the {@see 'robots_txt'} filter. + * + * @since 3.7.0 + * + * @param string $output Robots.txt output so far. + * @return string Filtered output. + */ +function noindex_seo_filter_robots_txt( $output ) { + $block = noindex_seo_get_robots_txt_block(); + + if ( '' === $block ) { + return $output; + } + + return $output . "\n\n" . $block; +} +add_filter( 'robots_txt', 'noindex_seo_filter_robots_txt' ); + +/** + * Returns the supported import sources: other SEO plugins whose robots + * directive data noindex SEO can import (3.7.0, spec section 5). + * + * Each source declares how to read its per-post (and, where stored, per-term) + * noindex / nofollow flags: + * + * - `is` => exact meta value match (e.g. Yoast stores '1'). + * - `has` => the value contains the token (Rank Math stores a serialized + * array of directive names). + * + * Sources are data-driven so third parties can register or correct one via + * the filter. Only the two directives every source shares (noindex, + * nofollow) are imported; anything richer stays for the importing plugin's + * own UI. + * + * @since 3.7.0 + * + * @return array Source registry. + */ +function noindex_seo_get_import_sources() { + $sources = array( + 'yoast' => array( + 'label' => 'Yoast SEO', + 'posts' => array( + 'noindex' => array( + 'key' => '_yoast_wpseo_meta-robots-noindex', + 'is' => '1', + ), + 'nofollow' => array( + 'key' => '_yoast_wpseo_meta-robots-nofollow', + 'is' => '1', + ), + ), + 'terms' => array( + 'noindex' => array( + 'key' => '_yoast_wpseo_meta-robots-noindex', + 'is' => '1', + ), + 'nofollow' => array( + 'key' => '_yoast_wpseo_meta-robots-nofollow', + 'is' => '1', + ), + ), + ), + 'rankmath' => array( + 'label' => 'Rank Math SEO', + 'posts' => array( + 'noindex' => array( + 'key' => 'rank_math_robots', + 'has' => 'noindex', + ), + 'nofollow' => array( + 'key' => 'rank_math_robots', + 'has' => 'nofollow', + ), + ), + 'terms' => array( + 'noindex' => array( + 'key' => 'rank_math_robots', + 'has' => 'noindex', + ), + 'nofollow' => array( + 'key' => 'rank_math_robots', + 'has' => 'nofollow', + ), + ), + ), + 'seopress' => array( + 'label' => 'SEOPress', + 'posts' => array( + 'noindex' => array( + 'key' => '_seopress_robots_index', + 'is' => 'no', + ), + 'nofollow' => array( + 'key' => '_seopress_robots_follow', + 'is' => 'no', + ), + ), + ), + 'aioseo' => array( + 'label' => 'All in One SEO', + 'posts' => array( + 'noindex' => array( + 'key' => '_aioseop_noindex', + 'is' => 'on', + ), + 'nofollow' => array( + 'key' => '_aioseop_nofollow', + 'is' => 'on', + ), + ), + ), + ); + + /** + * Filter the importable SEO plugin sources. + * + * @since 3.7.0 + * + * @param array $sources Source registry (see noindex_seo_get_import_sources()). + */ + return apply_filters( 'noindex_seo_import_sources', $sources ); +} + +/** + * Builds the meta_query clause that finds content flagged by a source. + * + * @since 3.7.0 + * + * @param array> $flags noindex / nofollow flag specs of one source. + * @return array> meta_query clauses (unkeyed; caller wraps with OR). + */ +function noindex_seo_import_flags_meta_query( array $flags ) { + $clauses = array(); + foreach ( $flags as $spec ) { + if ( isset( $spec['is'] ) ) { + $clauses[] = array( + 'key' => $spec['key'], + 'value' => $spec['is'], + 'compare' => '=', + ); + } elseif ( isset( $spec['has'] ) ) { + $clauses[] = array( + 'key' => $spec['key'], + 'value' => $spec['has'], + 'compare' => 'LIKE', + ); + } + } + return $clauses; +} + +/** + * Returns the shared post-type and status coverage for finding posts flagged + * by a source. + * + * Attachments (status `inherit`) and CPTs that hide from search must be + * included: 'post_type' => 'any' would silently exclude both, and SEO + * plugins do store flags on media. + * + * @since 3.7.0 + * + * @return array{post_types: array, post_statuses: array} Coverage lists. + */ +function noindex_seo_import_posts_coverage() { + return array( + 'post_types' => array_values( get_post_types( array( 'show_ui' => true ), 'names' ) ), + 'post_statuses' => array( 'publish', 'draft', 'pending', 'private', 'future', 'inherit' ), + ); +} + +/** + * Counts the importable posts and terms per source. + * + * Detection is data-driven, not activation-driven: leftover meta from an + * uninstalled SEO plugin still counts (that is exactly the migration case). + * The counts are cached in a 15-minute transient because the LIKE-based + * meta scans are not free on large sites; noindex_seo_run_import() + * invalidates the cache after an import. + * + * @since 3.7.0 + * + * @return array Counts per source slug. + */ +function noindex_seo_count_import_sources() { + $cached = get_transient( 'noindex_seo_import_counts' ); + if ( is_array( $cached ) ) { + // Transients can hold stale or foreign shapes: validate per row. + $valid = array(); + foreach ( $cached as $slug => $row ) { + if ( is_string( $slug ) && is_array( $row ) && isset( $row['label'], $row['posts'], $row['terms'] ) ) { + $valid[ $slug ] = array( + 'label' => (string) $row['label'], + 'posts' => (int) $row['posts'], + 'terms' => (int) $row['terms'], + ); + } + } + if ( array() !== $valid ) { + return $valid; + } + } + + $counts = array(); + $coverage = noindex_seo_import_posts_coverage(); + + foreach ( noindex_seo_get_import_sources() as $slug => $source ) { + $found = get_posts( + array( + 'post_type' => $coverage['post_types'], + 'post_status' => $coverage['post_statuses'], + 'fields' => 'ids', + 'posts_per_page' => -1, + 'no_found_rows' => true, + 'suppress_filters' => true, + 'meta_query' => array( // phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_query + array_merge( array( 'relation' => 'OR' ), noindex_seo_import_flags_meta_query( $source['posts'] ) ), + ), + ) + ); + + $term_count = 0; + if ( isset( $source['terms'] ) ) { + $terms = get_terms( + array( + 'taxonomy' => get_taxonomies( array( 'public' => true ), 'names' ), + 'hide_empty' => false, + 'fields' => 'ids', + 'meta_query' => array( // phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_query + array_merge( array( 'relation' => 'OR' ), noindex_seo_import_flags_meta_query( $source['terms'] ) ), + ), + ) + ); + $term_count = is_array( $terms ) ? count( $terms ) : 0; + } + + $counts[ $slug ] = array( + 'label' => $source['label'], + 'posts' => count( $found ), + 'terms' => $term_count, + ); + } + + set_transient( 'noindex_seo_import_counts', $counts, 15 * MINUTE_IN_SECONDS ); + + return $counts; +} + +/** + * Reads one flag of a source from a raw meta value. + * + * @since 3.7.0 + * + * @param mixed $meta_value Raw meta value. + * @param array $spec Flag spec (key + is|has). + * @return bool True when the source flag is on. + */ +function noindex_seo_source_flag_is_on( $meta_value, array $spec ) { + if ( isset( $spec['is'] ) ) { + return is_scalar( $meta_value ) && (string) $meta_value === $spec['is']; + } + + if ( isset( $spec['has'] ) && is_scalar( $spec['has'] ) ) { + $token = (string) $spec['has']; + if ( is_string( $meta_value ) ) { + return false !== strpos( $meta_value, $token ); + } + if ( is_array( $meta_value ) ) { + return in_array( $token, $meta_value, true ); + } + } + + return false; +} + +/** + * Imports the robots overrides of the given sources (3.7.0, spec section 5). + * + * Rules, per the specification: + * + * - On-demand: only runs when the user asked for it. + * - Never overwrites: content that already carries a `_noindex_seo_override` + * meta row (even an "off" one) is skipped and counted. + * - Only the shared noindex / nofollow booleans are imported; they become + * granular per-post / per-term overrides with the override flag set. + * + * @since 3.7.0 + * + * @param array $slugs Source slugs to import. + * @return array{posts: int, terms: int, skipped_posts: int, skipped_terms: int} Totals across sources. + */ +function noindex_seo_run_import( array $slugs ) { + $totals = array( + 'posts' => 0, + 'terms' => 0, + 'skipped_posts' => 0, + 'skipped_terms' => 0, + ); + + $sources = noindex_seo_get_import_sources(); + + foreach ( $slugs as $slug ) { + if ( ! isset( $sources[ $slug ] ) ) { + continue; + } + $source = $sources[ $slug ]; + + // Posts. + $coverage = noindex_seo_import_posts_coverage(); + $post_ids = get_posts( + array( + 'post_type' => $coverage['post_types'], + 'post_status' => $coverage['post_statuses'], + 'fields' => 'ids', + 'posts_per_page' => -1, + 'no_found_rows' => true, + 'suppress_filters' => true, + 'meta_query' => array( // phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_query + array_merge( array( 'relation' => 'OR' ), noindex_seo_import_flags_meta_query( $source['posts'] ) ), + ), + ) + ); + + foreach ( (array) $post_ids as $post_id ) { + $post_id = (int) $post_id; + // Never overwrite existing data (an explicit "off" row counts as data too). + if ( metadata_exists( 'post', $post_id, '_noindex_seo_override' ) ) { + ++$totals['skipped_posts']; + continue; + } + + $noindex = noindex_seo_source_flag_is_on( get_post_meta( $post_id, $source['posts']['noindex']['key'], true ), $source['posts']['noindex'] ); + $nofollow = noindex_seo_source_flag_is_on( get_post_meta( $post_id, $source['posts']['nofollow']['key'], true ), $source['posts']['nofollow'] ); + + if ( ! $noindex && ! $nofollow ) { + continue; // False positive of the LIKE query: nothing to import. + } + + update_post_meta( $post_id, '_noindex_seo_override', 1 ); + update_post_meta( $post_id, '_noindex_seo_noindex', $noindex ? 1 : 0 ); + update_post_meta( $post_id, '_noindex_seo_nofollow', $nofollow ? 1 : 0 ); + ++$totals['posts']; + } + + // Terms (only sources that store term meta). + if ( isset( $source['terms'] ) ) { + $term_ids = get_terms( + array( + 'taxonomy' => get_taxonomies( array( 'public' => true ), 'names' ), + 'hide_empty' => false, + 'fields' => 'ids', + 'meta_query' => array( // phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_query + array_merge( array( 'relation' => 'OR' ), noindex_seo_import_flags_meta_query( $source['terms'] ) ), + ), + ) + ); + + foreach ( is_array( $term_ids ) ? $term_ids : array() as $term_id ) { + if ( metadata_exists( 'term', $term_id, '_noindex_seo_override' ) ) { + ++$totals['skipped_terms']; + continue; + } + + $noindex = noindex_seo_source_flag_is_on( get_term_meta( $term_id, $source['terms']['noindex']['key'], true ), $source['terms']['noindex'] ); + $nofollow = noindex_seo_source_flag_is_on( get_term_meta( $term_id, $source['terms']['nofollow']['key'], true ), $source['terms']['nofollow'] ); + + if ( ! $noindex && ! $nofollow ) { + continue; + } + + update_term_meta( $term_id, '_noindex_seo_override', 1 ); + update_term_meta( $term_id, '_noindex_seo_noindex', $noindex ? 1 : 0 ); + update_term_meta( $term_id, '_noindex_seo_nofollow', $nofollow ? 1 : 0 ); + ++$totals['terms']; + } + } + } + + // The counts shown on the Tools tab describe pre-import state: drop them. + delete_transient( 'noindex_seo_import_counts' ); + + return $totals; +} + /** * Collects the active directive map stored in a post's granular meta. * @@ -1533,9 +2098,9 @@ function noindex_seo_rest_effective_permission_check( WP_REST_Request $request ) * REST callback: returns the consolidated settings array. * * Strips the internal `version` key — that is an implementation detail that - * callers should not depend on. Everything else (contexts, config) is exposed - * verbatim so headless consumers can replicate the directive logic on their - * own front-end. + * callers should not depend on. Everything else (contexts, rules, + * robots_txt, config) is exposed verbatim so headless consumers can + * replicate the directive logic on their own front-end. * * @since 3.1.0 * @@ -1885,7 +2450,7 @@ function noindex_seo_enqueue_admin_assets( $hook ) { true ); - // Localize script with translations.. + // Localize script with translations and the robots.txt preset bot lists.. wp_localize_script( 'noindex-seo-admin', 'noindexSeoAdmin', @@ -1893,6 +2458,8 @@ function noindex_seo_enqueue_admin_assets( $hook ) { 'successMessage' => __( 'Settings saved successfully!', 'noindex-seo' ), 'expandAll' => __( 'Expand All', 'noindex-seo' ), 'collapseAll' => __( 'Collapse All', 'noindex-seo' ), + 'aiBots' => array_values( noindex_seo_get_ai_bots() ), + 'searchBots' => array_values( noindex_seo_get_search_bots() ), ) ); } @@ -2413,7 +2980,7 @@ function noindex_seo_process_form() { $scope = ( isset( $_POST['noindex_seo_form_scope'] ) && is_string( $_POST['noindex_seo_form_scope'] ) ) ? sanitize_key( wp_unslash( $_POST['noindex_seo_form_scope'] ) ) : 'settings'; - if ( ! in_array( $scope, array( 'general', 'settings' ), true ) ) { + if ( ! in_array( $scope, array( 'general', 'settings', 'robotstxt' ), true ) ) { $scope = 'settings'; } @@ -2475,6 +3042,28 @@ function noindex_seo_process_form() { } $settings['rules'] = noindex_seo_sanitize_rules( $raw_rules ); // phpcs:enable WordPress.Security.NonceVerification.Missing + } elseif ( 'robotstxt' === $scope ) { + // Virtual robots.txt management (3.7.0): feature toggle + bot rules + // from the parallel agent/policy arrays of the Robots.txt tab. + // phpcs:disable WordPress.Security.NonceVerification.Missing -- nonce verified above. + $settings['robots_txt']['enabled'] = isset( $_POST['noindex_seo_robotstxt_enabled'] ) ? 1 : 0; + + $raw_rules = array(); + if ( isset( $_POST['noindex_seo_robotstxt_agent'], $_POST['noindex_seo_robotstxt_policy'] ) + && is_array( $_POST['noindex_seo_robotstxt_agent'] ) && is_array( $_POST['noindex_seo_robotstxt_policy'] ) ) { + // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- array input; every element is sanitized in the loop below. + $agents = (array) wp_unslash( $_POST['noindex_seo_robotstxt_agent'] ); + // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- array input; every element is sanitized in the loop below. + $policies = (array) wp_unslash( $_POST['noindex_seo_robotstxt_policy'] ); + foreach ( $policies as $index => $policy ) { + $raw_rules[] = array( + 'user_agent' => isset( $agents[ $index ] ) && is_scalar( $agents[ $index ] ) ? sanitize_text_field( wp_unslash( (string) $agents[ $index ] ) ) : '', + 'policy' => is_scalar( $policy ) ? sanitize_key( wp_unslash( (string) $policy ) ) : '', + ); + } + } + $settings['robots_txt']['rules'] = noindex_seo_sanitize_robots_txt_rules( $raw_rules ); + // phpcs:enable WordPress.Security.NonceVerification.Missing } else { // phpcs:disable WordPress.Security.NonceVerification.Missing -- nonce verified above. // Get the implementation method to validate field compatibility. @@ -2671,6 +3260,14 @@ function noindex_seo_sanitize_imported_settings( $raw ) { $settings['rules'] = noindex_seo_sanitize_rules( $raw['rules'] ); } + // Virtual robots.txt rules (3.7.0) ride the JSON backup as well. + if ( isset( $raw['robots_txt'] ) && is_array( $raw['robots_txt'] ) ) { + $settings['robots_txt']['enabled'] = empty( $raw['robots_txt']['enabled'] ) ? 0 : 1; + if ( isset( $raw['robots_txt']['rules'] ) ) { + $settings['robots_txt']['rules'] = noindex_seo_sanitize_robots_txt_rules( $raw['robots_txt']['rules'] ); + } + } + $raw_config = $raw['config']; $method = isset( $raw_config['method'] ) && is_string( $raw_config['method'] ) @@ -2748,6 +3345,63 @@ function noindex_seo_handle_import() { } add_action( 'admin_post_noindex_seo_import', 'noindex_seo_handle_import' ); +/** + * Handles the "Import from other plugins" action (3.7.0, spec section 5). + * + * On-demand and confirmed by the user: only the sources checked in the form + * are imported, and noindex SEO never overwrites content that already + * carries its own override data (skipped and counted instead). Redirects + * back to the tools tab with the totals for the result notices. + * + * Hooked to the {@see 'admin_post_noindex_seo_plugin_import'} action. + * + * @since 3.7.0 + * + * @return void + */ +function noindex_seo_handle_plugin_import() { + if ( ! current_user_can( 'manage_options' ) ) { + wp_die( esc_html__( 'Permission denied.', 'noindex-seo' ) ); + } + check_admin_referer( 'noindex_seo_plugin_import' ); + + $known = array_keys( noindex_seo_get_import_sources() ); + $slugs = array(); + $raw_selection = isset( $_POST['noindex_seo_import_sources'] ) && is_array( $_POST['noindex_seo_import_sources'] ) + ? wp_unslash( $_POST['noindex_seo_import_sources'] ) // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- array of slugs, whitelisted against the known sources below. + : array(); + foreach ( $raw_selection as $slug ) { + if ( is_string( $slug ) && in_array( sanitize_key( $slug ), $known, true ) ) { + $slugs[] = sanitize_key( $slug ); + } + } + + $redirect = admin_url( 'options-general.php?page=noindex_seo&tab=tools' ); + + if ( array() === $slugs ) { + wp_safe_redirect( add_query_arg( 'plugin_import_empty', '1', $redirect ) ); + exit; + } + + $totals = noindex_seo_run_import( $slugs ); + + wp_safe_redirect( + add_query_arg( + array( + 'plugin_import_posts' => $totals['posts'], + 'plugin_import_terms' => $totals['terms'], + 'plugin_import_skipped_posts' => $totals['skipped_posts'], + 'plugin_import_skipped_terms' => $totals['skipped_terms'], + ), + ( $totals['posts'] || $totals['terms'] || $totals['skipped_posts'] || $totals['skipped_terms'] ) + ? $redirect + : add_query_arg( 'plugin_import_done', '1', $redirect ) + ) + ); + exit; +} +add_action( 'admin_post_noindex_seo_plugin_import', 'noindex_seo_handle_plugin_import' ); + /** * Applies a directive change to a context in the consolidated settings. * @@ -3281,6 +3935,10 @@ function noindex_seo_get_suggested_contexts() { * @since 3.1.3 Skipped on WordPress versions without register_post_meta() * (pre-4.9.6): granular control still works there through the * classic meta box, Quick Edit and bulk actions. + * @since 3.7.1 Adds 'custom-fields' post type support for the registered + * types: without it the REST API exposes no `meta` field and + * the block editor sidebar silently drops every save on + * custom post types registered without that support. * * @return void */ @@ -3298,6 +3956,17 @@ function noindex_seo_register_post_meta() { // Get all public post types. $post_types = get_post_types( array( 'public' => true ), 'names' ); + // The REST API (and with it the block editor sidebar) only exposes the + // `meta` field for post types that support 'custom-fields'. Custom post + // types registered without it (a very common registration) would + // silently drop every sidebar save with an HTTP 200, so the support is + // added for exactly the post types the plugin registers meta on. + foreach ( $post_types as $post_type ) { + if ( ! post_type_supports( $post_type, 'custom-fields' ) ) { + add_post_type_support( $post_type, 'custom-fields' ); + } + } + // Meta fields to register. Boolean directives (and the override flag) are // integers; value directives (3.6.0) are strings normalized on write. $boolean_meta_fields = array( @@ -4614,14 +5283,15 @@ function noindex_seo_admin() { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- read-only navigation state, not form data. $current_tab = isset( $_GET['tab'] ) && is_string( $_GET['tab'] ) ? sanitize_key( wp_unslash( $_GET['tab'] ) ) : 'general'; - if ( ! in_array( $current_tab, array( 'general', 'settings', 'tools' ), true ) ) { + if ( ! in_array( $current_tab, array( 'general', 'settings', 'tools', 'robotstxt' ), true ) ) { $current_tab = 'general'; } $tabs = array( - 'general' => __( 'General', 'noindex-seo' ), - 'settings' => __( 'SEO Settings', 'noindex-seo' ), - 'tools' => __( 'Import / Export', 'noindex-seo' ), + 'general' => __( 'General', 'noindex-seo' ), + 'settings' => __( 'SEO Settings', 'noindex-seo' ), + 'tools' => __( 'Import / Export', 'noindex-seo' ), + 'robotstxt' => __( 'Robots.txt', 'noindex-seo' ), ); // Define section icons (using Dashicons).. @@ -5384,6 +6054,112 @@ function noindex_seo_admin() { +

'; + echo esc_html( $imported_posts_text . ', ' . $imported_terms_text ); + + if ( $skipped_posts || $skipped_terms ) { + echo ' — ' . esc_html( + sprintf( + /* translators: 1: number of skipped posts, 2: number of skipped terms. */ + __( '%1$d posts and %2$d terms skipped (already configured)', 'noindex-seo' ), + $skipped_posts, + $skipped_terms + ) + ); + } + echo '

'; + } + if ( $import_selection_empty ) { + echo '

'; + esc_html_e( 'No plugins were selected to import from.', 'noindex-seo' ); + echo '

'; + } + if ( isset( $_GET['plugin_import_done'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- read-only result flag set by our own handler after a nonce check. + echo '

'; + esc_html_e( 'The selected plugins had no importable robots data left.', 'noindex-seo' ); + echo '

'; + } + ?> + + +

+

+ +

+
+ + + + + $import_count ) : ?> + + +

+ +

+ + + +

+ + + +
+

@@ -5430,6 +6206,86 @@ function noindex_seo_admin() { + + + + +

+ + + + +
+ +
+ +

+ +

+
+
+ +
+
+ + + +
+
+ + + '', + 'policy' => 'block', + ), + ); // One empty row to start from. + ?> + + +
+ + + +
+ +
+

+ + + +

+

+ +

+
+ + + +

+
+ + + +
+ +