diff --git a/assets/css/admin.css b/assets/css/admin.css index 58c776b..48192ae 100644 --- a/assets/css/admin.css +++ b/assets/css/admin.css @@ -852,31 +852,3 @@ 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 dc9e784..13cdd70 100644 --- a/assets/js/admin.js +++ b/assets/js/admin.js @@ -21,24 +21,22 @@ } /** - * Initialize the rule tables (conditional rules + robots.txt): - * add / remove rows, and the robots.txt preset buttons. + * Initialize the conditional-rules table (add / remove rows) */ function initRules() { - // Add rule: clone the last row of the target container and clear it. + // Add rule: clone the last row and clear its inputs. $( '.noindex-seo-rule-add' ).on( 'click', function () { - const target = $( this ).data( 'target' ) || '.noindex-seo-rule-rows'; - const $rows = $( target ).first(); - const max = parseInt( $rows.data( 'max-rules' ) || 20, 10 ); + const $rows = $( '.noindex-seo-rule-rows' ); + 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[type="text"], input[type="number"], input[type="datetime-local"]' ).val( '' ); + $clone.find( 'input' ).val( '' ); $rows.append( $clone ); } ); @@ -54,45 +52,10 @@ if ( $rows.find( '.noindex-seo-rule-row' ).length > 1 ) { $row.remove(); } else { - $row.find( 'input[type="text"]' ).val( '' ); + $row.find( 'input' ).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 a9ee4b0..5857615 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,44 +1,5 @@ == 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 ced548a..17f1984 100644 Binary files a/languages/noindex-seo-ca.mo and b/languages/noindex-seo-ca.mo differ diff --git a/languages/noindex-seo-ca.po b/languages/noindex-seo-ca.po index bb8b655..0658c70 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-03T20:17:27+00:00\n" +"POT-Creation-Date: 2026-11-03T17:16:14+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:2590 noindex-seo.php:2591 +#: noindex-seo.php noindex-seo.php:2044 noindex-seo.php:2045 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:1993 +#: noindex-seo.php:1449 msgid "Post ID to compute effective directives for." msgstr "ID de l'entrada per a calcular les directives efectives." -#: noindex-seo.php:2020 +#: noindex-seo.php:1476 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:2070 +#: noindex-seo.php:1526 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:2133 +#: noindex-seo.php:1589 msgid "No post exists with that post_id." msgstr "No existeix cap entrada amb aquest post_id." -#: noindex-seo.php:2439 +#: noindex-seo.php:1895 msgid "Settings saved successfully!" msgstr "S'han desat els ajustaments correctament." -#: noindex-seo.php:2440 +#: noindex-seo.php:1896 msgid "Expand All" msgstr "Expandeix-ho tot" -#: noindex-seo.php:2441 +#: noindex-seo.php:1897 msgid "Collapse All" msgstr "Redueix-ho tot" -#: noindex-seo.php:2523 +#: noindex-seo.php:1977 msgid "Settings" msgstr "Ajustaments" #. translators: plugin name. -#: noindex-seo.php:2816 +#: noindex-seo.php:2270 #, 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:2837 +#: noindex-seo.php:2291 #, 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:2954 noindex-seo.php:3129 noindex-seo.php:3180 -#: noindex-seo.php:3284 noindex-seo.php:3345 +#: noindex-seo.php:2408 noindex-seo.php:2561 noindex-seo.php:2612 +#: noindex-seo.php:2710 msgid "Permission denied." msgstr "S'ha denegat el permís." -#: noindex-seo.php:4033 noindex-seo.php:4422 assets/js/editor-sidebar.js:176 +#: noindex-seo.php:3402 noindex-seo.php:3791 assets/js/editor-sidebar.js:176 msgid "Search Engine Visibility" msgstr "Visibilitat als cercadors" -#: noindex-seo.php:4094 noindex-seo.php:4792 assets/js/editor-sidebar.js:187 +#: noindex-seo.php:3463 noindex-seo.php:4161 assets/js/editor-sidebar.js:187 msgid "Override global settings" msgstr "Sobreescriu els ajustaments globals" -#: noindex-seo.php:4099 +#: noindex-seo.php:3468 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:4106 +#: noindex-seo.php:3475 msgid "Prevent indexing" msgstr "Evita la indexació" -#: noindex-seo.php:4111 +#: noindex-seo.php:3480 msgid "Prevent link following" msgstr "Evita el seguiment d'enllaços" -#: noindex-seo.php:4116 +#: noindex-seo.php:3485 msgid "Prevent caching" msgstr "Evita la memòria cau" -#: noindex-seo.php:4121 +#: noindex-seo.php:3490 msgid "Prevent snippets" msgstr "Evita els fragments" -#: noindex-seo.php:4126 +#: noindex-seo.php:3495 msgid "Prevent image indexing" msgstr "Evita la indexació d'imatges" -#: noindex-seo.php:4131 +#: noindex-seo.php:3500 msgid "Prevent translation" msgstr "Evita la traducció" -#: noindex-seo.php:4136 +#: noindex-seo.php:3505 msgid "Value directives (empty = off):" msgstr "Directives amb valor (buit = desactivat):" -#: 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 +#: 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 msgid "Off" msgstr "Desactivat" -#: noindex-seo.php:4140 noindex-seo.php:5589 +#: noindex-seo.php:3509 noindex-seo.php:4962 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:4146 noindex-seo.php:4442 noindex-seo.php:4832 -#: noindex-seo.php:5940 assets/js/editor-sidebar.js:142 +#: noindex-seo.php:3515 noindex-seo.php:3811 noindex-seo.php:4201 +#: noindex-seo.php:5313 assets/js/editor-sidebar.js:142 msgid "none" msgstr "cap" -#: noindex-seo.php:4147 noindex-seo.php:4443 noindex-seo.php:4833 -#: noindex-seo.php:5941 assets/js/editor-sidebar.js:143 +#: noindex-seo.php:3516 noindex-seo.php:3812 noindex-seo.php:4202 +#: noindex-seo.php:5314 assets/js/editor-sidebar.js:143 msgid "standard" msgstr "estàndard" -#: noindex-seo.php:4148 noindex-seo.php:4444 noindex-seo.php:4834 -#: noindex-seo.php:5942 assets/js/editor-sidebar.js:144 +#: noindex-seo.php:3517 noindex-seo.php:3813 noindex-seo.php:4203 +#: noindex-seo.php:5315 assets/js/editor-sidebar.js:144 msgid "large" msgstr "gran" -#: noindex-seo.php:4150 noindex-seo.php:5594 +#: noindex-seo.php:3519 noindex-seo.php:4967 msgid "Maximum image preview size" msgstr "Mida màxima de la previsualització d'imatges" -#: noindex-seo.php:4155 noindex-seo.php:5599 +#: noindex-seo.php:3524 noindex-seo.php:4972 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:4160 +#: noindex-seo.php:3529 msgid "Stop indexing after this date and time" msgstr "Deixa d'indexar després d'aquesta data i hora" -#: noindex-seo.php:4168 +#: noindex-seo.php:3537 msgid "Effective Directives:" msgstr "Directrius efectives:" -#: noindex-seo.php:4178 +#: noindex-seo.php:3547 msgid "Override active:" msgstr "Sobreescriptura activa:" -#: noindex-seo.php:4183 +#: noindex-seo.php:3552 msgid "Override enabled but no directives selected" msgstr "Sobreescriptura activada però sense directrius seleccionades" -#: noindex-seo.php:4189 +#: noindex-seo.php:3558 msgid "Global settings:" msgstr "Ajustaments globals:" -#: noindex-seo.php:4194 +#: noindex-seo.php:3563 msgid "No restrictions (indexable)" msgstr "Sense restriccions (indexable)" -#: noindex-seo.php:4426 +#: noindex-seo.php:3795 msgid "Override global settings for this term" msgstr "Sobreescriu els ajustaments globals d'aquest terme" -#: noindex-seo.php:4457 +#: noindex-seo.php:3826 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:4559 noindex-seo.php:4565 noindex-seo.php:4681 -#: noindex-seo.php:4687 +#: noindex-seo.php:3928 noindex-seo.php:3934 noindex-seo.php:4050 +#: noindex-seo.php:4056 msgid "Robots" msgstr "Robots" -#: noindex-seo.php:4623 noindex-seo.php:4742 +#: noindex-seo.php:3992 noindex-seo.php:4111 msgid "Override (none)" msgstr "Sobreescriptura (cap)" -#: noindex-seo.php:4788 +#: noindex-seo.php:4157 msgid "Robots Directives" msgstr "Directrius Robots" -#: noindex-seo.php:4798 noindex-seo.php:5558 +#: noindex-seo.php:4167 noindex-seo.php:4931 msgid "noindex" msgstr "noindex" -#: noindex-seo.php:4803 noindex-seo.php:5563 +#: noindex-seo.php:4172 noindex-seo.php:4936 msgid "nofollow" msgstr "nofollow" -#: noindex-seo.php:4808 noindex-seo.php:5568 +#: noindex-seo.php:4177 noindex-seo.php:4941 msgid "noarchive" msgstr "noarchive" -#: noindex-seo.php:4813 noindex-seo.php:5573 +#: noindex-seo.php:4182 noindex-seo.php:4946 msgid "nosnippet" msgstr "nosnippet" -#: noindex-seo.php:4818 noindex-seo.php:5578 +#: noindex-seo.php:4187 noindex-seo.php:4951 msgid "noimageindex" msgstr "noimageindex" -#: noindex-seo.php:4823 noindex-seo.php:5583 +#: noindex-seo.php:4192 noindex-seo.php:4956 msgid "notranslate" msgstr "notranslate" -#: noindex-seo.php:4827 noindex-seo.php:5588 +#: noindex-seo.php:4196 noindex-seo.php:4961 msgid "max-snippet" msgstr "max-snippet" -#: noindex-seo.php:4836 noindex-seo.php:5593 +#: noindex-seo.php:4205 noindex-seo.php:4966 msgid "max-image-preview" msgstr "max-image-preview" -#: noindex-seo.php:4840 noindex-seo.php:5598 +#: noindex-seo.php:4209 noindex-seo.php:4971 msgid "max-video-preview" msgstr "max-video-preview" -#: noindex-seo.php:4844 noindex-seo.php:5603 +#: noindex-seo.php:4213 noindex-seo.php:4976 msgid "unavailable_after" msgstr "unavailable_after" -#: noindex-seo.php:4957 +#: noindex-seo.php:4326 msgid "Enable Robots Override" msgstr "Activa la sobreescriptura Robots" -#: noindex-seo.php:4958 +#: noindex-seo.php:4327 msgid "Disable Robots Override" msgstr "Desactiva la sobreescriptura Robots" #. translators: %d: Number of posts updated -#: noindex-seo.php:5050 +#: noindex-seo.php:4424 #, php-format msgid "Robots override enabled for %d post." msgid_plural "Robots override enabled for %d posts." @@ -293,315 +293,309 @@ 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:5071 +#: noindex-seo.php:4445 #, 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:5120 +#: noindex-seo.php:4494 msgid "All robots settings" msgstr "Tots els ajustaments robots" -#: noindex-seo.php:5122 +#: noindex-seo.php:4496 msgid "With override" msgstr "Amb sobreescriptura" -#: noindex-seo.php:5125 +#: noindex-seo.php:4499 msgid "Without override" msgstr "Sense sobreescriptura" -#: noindex-seo.php:5244 +#: noindex-seo.php:4618 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:5245 +#: noindex-seo.php:4619 msgid "Permission Denied" msgstr "Permís denegat" -#: noindex-seo.php:5257 +#: noindex-seo.php:4631 msgid "General" msgstr "General" -#: noindex-seo.php:5258 +#: noindex-seo.php:4632 msgid "SEO Settings" msgstr "Ajustaments SEO" -#: noindex-seo.php:5259 +#: noindex-seo.php:4633 msgid "Import / Export" msgstr "Importació i exportació" -#: noindex-seo.php:5260 -msgid "Robots.txt" -msgstr "Robots.txt" - -#: noindex-seo.php:5280 +#: noindex-seo.php:4653 msgid "Main Pages" msgstr "Pàgines principals" -#: noindex-seo.php:5283 +#: noindex-seo.php:4656 msgid "Front Page" msgstr "Pàgina d'inici" -#: 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 +#: 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 msgid "Recommended" msgstr "Recomanat" -#: noindex-seo.php:5286 +#: noindex-seo.php:4659 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:5290 +#: noindex-seo.php:4663 msgid "Home" msgstr "Inici" -#: noindex-seo.php:5293 +#: noindex-seo.php:4666 msgid "Block the indexing of the site's home page." msgstr "Bloqueja la indexació de la pàgina principal del lloc." -#: noindex-seo.php:5299 +#: noindex-seo.php:4672 msgid "Pages and Posts" msgstr "Pàgines i entrades" -#: noindex-seo.php:5302 +#: noindex-seo.php:4675 msgid "Page" msgstr "Pàgina" -#: noindex-seo.php:5305 +#: noindex-seo.php:4678 msgid "Block the indexing of site pages." msgstr "Bloqueja la indexació de les pàgines del lloc." -#: noindex-seo.php:5308 +#: noindex-seo.php:4681 msgid "Privacy Policy" msgstr "Política de privadesa" -#: noindex-seo.php:5311 +#: noindex-seo.php:4684 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:5315 +#: noindex-seo.php:4688 msgid "Single Post" msgstr "Entrada individual" -#: noindex-seo.php:5318 +#: noindex-seo.php:4691 msgid "Block the indexing of individual posts." msgstr "Bloqueja la indexació d'entrades individuals." -#: noindex-seo.php:5321 +#: noindex-seo.php:4694 msgid "Singular" msgstr "Singular" -#: noindex-seo.php:5324 +#: noindex-seo.php:4697 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:5329 +#: noindex-seo.php:4702 msgid "Taxonomies" msgstr "Taxonomies" -#: noindex-seo.php:5332 +#: noindex-seo.php:4705 msgid "Category" msgstr "Categoria" -#: noindex-seo.php:5335 +#: noindex-seo.php:4708 msgid "Block the indexing of category archive pages." msgstr "Bloqueja la indexació de les pàgines d'arxiu de categories." -#: noindex-seo.php:5338 +#: noindex-seo.php:4711 msgid "Tag" msgstr "Etiqueta" -#: noindex-seo.php:5341 +#: noindex-seo.php:4714 msgid "Block the indexing of tag archive pages." msgstr "Bloqueja la indexació de les pàgines d'arxiu d'etiquetes." -#: noindex-seo.php:5346 +#: noindex-seo.php:4719 msgid "Date Archives" msgstr "Arxius de data" -#: noindex-seo.php:5349 +#: noindex-seo.php:4722 msgid "Date" msgstr "Data" -#: noindex-seo.php:5352 +#: noindex-seo.php:4725 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:5355 +#: noindex-seo.php:4728 msgid "Day" msgstr "Dia" -#: noindex-seo.php:5358 +#: noindex-seo.php:4731 msgid "Block the indexing of daily archive pages." msgstr "Bloqueja la indexació d'arxius diaris." -#: noindex-seo.php:5361 +#: noindex-seo.php:4734 msgid "Month" msgstr "Mes" -#: noindex-seo.php:5364 +#: noindex-seo.php:4737 msgid "Block the indexing of monthly archive pages." msgstr "Bloqueja la indexació d'arxius mensuals." -#: noindex-seo.php:5367 +#: noindex-seo.php:4740 msgid "Time" msgstr "Hora" -#: noindex-seo.php:5370 +#: noindex-seo.php:4743 msgid "Block the indexing of time-based archive pages." msgstr "Bloqueja la indexació d'arxius basats en hora." -#: noindex-seo.php:5373 +#: noindex-seo.php:4746 msgid "Year" msgstr "Any" -#: noindex-seo.php:5376 +#: noindex-seo.php:4749 msgid "Block the indexing of yearly archive pages." msgstr "Bloqueja la indexació d'arxius anuals." -#: noindex-seo.php:5381 +#: noindex-seo.php:4754 msgid "Archives" msgstr "Arxius" -#: noindex-seo.php:5384 +#: noindex-seo.php:4757 msgid "Archive" msgstr "Arxiu" -#: noindex-seo.php:5387 +#: noindex-seo.php:4760 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:5390 +#: noindex-seo.php:4763 msgid "Author" msgstr "Autor" -#: noindex-seo.php:5393 +#: noindex-seo.php:4766 msgid "Block the indexing of author archive pages." msgstr "Bloqueja la indexació de les pàgines d'arxiu d'autor." -#: noindex-seo.php:5396 +#: noindex-seo.php:4769 msgid "Post Type Archive" msgstr "Arxiu de tipus de contingut" -#: noindex-seo.php:5399 +#: noindex-seo.php:4772 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:5404 +#: noindex-seo.php:4777 msgid "Pagination" msgstr "Paginació" -#: noindex-seo.php:5407 +#: noindex-seo.php:4780 msgid "Paginated Pages" msgstr "Pàgines paginades" -#: noindex-seo.php:5410 +#: noindex-seo.php:4783 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:5415 +#: noindex-seo.php:4788 msgid "Search" msgstr "Cerca" -#: noindex-seo.php:5418 +#: noindex-seo.php:4791 msgid "Search Results" msgstr "Resultats de cerca" -#: noindex-seo.php:5421 +#: noindex-seo.php:4794 msgid "Block the indexing of search result pages." msgstr "Bloqueja la indexació de les pàgines de resultats de cerca." -#: noindex-seo.php:5426 +#: noindex-seo.php:4799 msgid "Attachments" msgstr "Adjunts" -#: noindex-seo.php:5429 +#: noindex-seo.php:4802 msgid "Attachment Pages" msgstr "Pàgines d'adjunts" -#: noindex-seo.php:5432 +#: noindex-seo.php:4805 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:5437 +#: noindex-seo.php:4810 msgid "Previews" msgstr "Previsualitzacions" -#: noindex-seo.php:5440 +#: noindex-seo.php:4813 msgid "Customize Preview" msgstr "Previsualització del personalitzador" -#: noindex-seo.php:5443 +#: noindex-seo.php:4816 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:5446 +#: noindex-seo.php:4819 msgid "Post Preview" msgstr "Previsualització de l'entrada" -#: noindex-seo.php:5449 +#: noindex-seo.php:4822 msgid "Block the indexing when viewing post previews." msgstr "Bloqueja la indexació en veure previsualitzacions d'entrades." -#: noindex-seo.php:5454 +#: noindex-seo.php:4827 msgid "Error Pages" msgstr "Pàgines d'error" -#: noindex-seo.php:5457 +#: noindex-seo.php:4830 msgid "Error 404" msgstr "Error 404" -#: noindex-seo.php:5460 +#: noindex-seo.php:4833 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:5485 +#: noindex-seo.php:4858 #, php-format msgid "Block the indexing of individual %s." msgstr "Bloqueja la indexació de %s individuals." -#: noindex-seo.php:5489 +#: noindex-seo.php:4862 msgid "Custom Post Types" msgstr "Tipus de contingut personalitzats" -#: noindex-seo.php:5502 +#: noindex-seo.php:4875 msgid "Cart" msgstr "Cistella" -#: noindex-seo.php:5503 +#: noindex-seo.php:4876 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:5506 +#: noindex-seo.php:4879 msgid "Checkout" msgstr "Pagament" -#: noindex-seo.php:5507 +#: noindex-seo.php:4880 msgid "Block the indexing of the WooCommerce checkout page." msgstr "Bloqueja la indexació de la pàgina de pagament del WooCommerce." -#: noindex-seo.php:5510 +#: noindex-seo.php:4883 msgid "My Account" msgstr "El meu compte" -#: noindex-seo.php:5511 +#: noindex-seo.php:4884 msgid "" "Block the indexing of the WooCommerce customer account pages (including " "order history and address endpoints)." @@ -609,43 +603,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:5531 +#: noindex-seo.php:4904 msgid "WooCommerce" msgstr "WooCommerce" -#: noindex-seo.php:5559 +#: noindex-seo.php:4932 msgid "Prevent search engines from indexing this page" msgstr "Evita que els cercadors indexin aquesta pàgina" -#: noindex-seo.php:5564 +#: noindex-seo.php:4937 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:5569 +#: noindex-seo.php:4942 msgid "Prevent search engines from showing a cached version" msgstr "Evita que els cercadors mostrin una versió en memòria cau" -#: noindex-seo.php:5574 +#: noindex-seo.php:4947 msgid "Prevent search engines from showing text snippets" msgstr "Evita que els cercadors mostrin fragments de text" -#: noindex-seo.php:5579 +#: noindex-seo.php:4952 msgid "Prevent search engines from indexing images" msgstr "Evita que els cercadors indexin imatges" -#: noindex-seo.php:5584 +#: noindex-seo.php:4957 msgid "Ask search engines not to translate this page" msgstr "Demaneu als cercadors que no tradueixin aquesta pàgina" -#: noindex-seo.php:5604 +#: noindex-seo.php:4977 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:5611 +#: noindex-seo.php:4984 msgid "noindex SEO Settings" msgstr "Ajustaments de noindex SEO" -#: noindex-seo.php:5612 +#: noindex-seo.php:4985 msgid "" "Control how search engines index and display your WordPress content using " "robots directives." @@ -653,7 +647,7 @@ msgstr "" "Controla com els cercadors indexen i mostren el vostre contingut de " "WordPress fent servir directrius robots." -#: noindex-seo.php:5623 +#: noindex-seo.php:4996 msgid "" "Recommended defaults applied. Review the changes below and click \"Save " "Changes\" to keep them, or uncheck anything you do not want." @@ -661,11 +655,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:5631 +#: noindex-seo.php:5004 msgid "Settings imported successfully." msgstr "S'han importat els ajustaments correctament." -#: noindex-seo.php:5638 +#: noindex-seo.php:5011 msgid "" "The settings file could not be imported: it is missing, too large, or not a " "valid noindex SEO export." @@ -673,35 +667,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:5646 +#: noindex-seo.php:5019 msgid "Settings sections" msgstr "Seccions dels ajustaments" -#: noindex-seo.php:5673 +#: noindex-seo.php:5046 msgid "General Configuration" msgstr "Configuració general" -#: noindex-seo.php:5687 +#: noindex-seo.php:5060 msgid "Disable compatibility warnings with other SEO plugins" msgstr "Desactiva els avisos de compatibilitat amb altres complements de SEO" -#: noindex-seo.php:5694 +#: noindex-seo.php:5067 msgid "Implementation Method" msgstr "Mètode d'implementació" -#: noindex-seo.php:5702 +#: noindex-seo.php:5075 msgid "HTML Meta Tags (default, easier to verify)" msgstr "Etiquetes meta HTML (per defecte, més fàcil de comprovar)" -#: noindex-seo.php:5705 +#: noindex-seo.php:5078 msgid "HTTP Headers (more robust, works with PDFs/images)" msgstr "Capçaleres HTTP (més robust, funciona amb PDFs/imatges)" -#: noindex-seo.php:5708 +#: noindex-seo.php:5081 msgid "Both (maximum compatibility)" msgstr "Ambdós (màxima compatibilitat)" -#: noindex-seo.php:5712 +#: noindex-seo.php:5085 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, " @@ -711,11 +705,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:5730 +#: noindex-seo.php:5103 msgid "Enable per-post/page granular control" msgstr "Activa el control granular per entrada/pàgina" -#: noindex-seo.php:5733 +#: noindex-seo.php:5106 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 " @@ -725,11 +719,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:5751 +#: noindex-seo.php:5124 msgid "Enable per-term granular control" msgstr "Activa el control granular per terme" -#: noindex-seo.php:5754 +#: noindex-seo.php:5127 msgid "" "When enabled, a \"Search Engine Visibility\" panel will appear on the Edit " "screen for every public taxonomy (categories, tags, and custom taxonomies " @@ -742,11 +736,11 @@ msgstr "" "És útil per a aplicar noindex a una categoria o etiqueta concreta " "senseafectar les altres." -#: noindex-seo.php:5772 +#: noindex-seo.php:5145 msgid "Delete all plugin data on uninstall" msgstr "Suprimeix totes les dades del complement en desinstal·lar" -#: noindex-seo.php:5775 +#: noindex-seo.php:5148 msgid "" "When enabled, all settings and per-post robots directives will be " "permanently deleted when the plugin is uninstalled. By default data is " @@ -756,11 +750,11 @@ msgstr "" "suprimiran de forma permanent en desinstal·lar el complement. Per defecte, " "les dades es conserven." -#: noindex-seo.php:5791 +#: noindex-seo.php:5164 msgid "Recommended settings" msgstr "Ajustaments recomanats" -#: noindex-seo.php:5793 +#: noindex-seo.php:5166 msgid "" "Enables all 5 directives on the 15 contexts flagged \"Recommended\" (privacy " "policy, date archives, pagination, search results, attachment pages, " @@ -771,37 +765,36 @@ msgstr "" "cerca,pàgines d'adjunts, previsualitzacions, 404 i cistella, pagament i " "compte del WooCommerce). Reviseu i deseu." -#: noindex-seo.php:5800 +#: noindex-seo.php:5173 msgid "Apply Recommended Defaults" msgstr "Aplica els valors recomanats" -#: noindex-seo.php:5805 +#: noindex-seo.php:5178 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:5819 +#: noindex-seo.php:5192 msgid "Overview" msgstr "Resum" -#: noindex-seo.php:5823 +#: noindex-seo.php:5196 msgid "Total Options" msgstr "Opcions totals" -#: noindex-seo.php:5827 +#: noindex-seo.php:5200 msgid "Enabled" msgstr "Activades" -#: noindex-seo.php:5831 +#: noindex-seo.php:5204 msgid "Recommended to Enable" msgstr "Recomanades per a activar" -#: noindex-seo.php:5836 +#: noindex-seo.php:5209 msgid "Page contexts" msgstr "Contextos de pàgina" -#: noindex-seo.php:5841 +#: noindex-seo.php:5214 msgid "" "Important: Enabling noindex on the wrong pages can harm your search engine " "rankings. Only enable options you fully understand." @@ -810,158 +803,89 @@ msgstr "" "vostre posicionament als cercadors. Activeu només les opcions que enteneu " "completament." -#: noindex-seo.php:5848 +#: noindex-seo.php:5221 msgid "Search options..." msgstr "Cerca opcions…" -#: noindex-seo.php:5849 +#: noindex-seo.php:5222 msgid "Search options" msgstr "Cerca opcions" -#: noindex-seo.php:5874 +#: noindex-seo.php:5247 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 " -"HTTPAquesta 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 HTTP" +"Aquesta opció només funciona amb el mètode d'implementació de capçaleres HTTP" -#: noindex-seo.php:5883 +#: noindex-seo.php:5256 msgid "Not Recommended" msgstr "No recomanat" -#: noindex-seo.php:5888 +#: noindex-seo.php:5261 msgid "View Page" msgstr "Mostra la pàgina" -#: noindex-seo.php:5969 noindex-seo.php:5977 +#: noindex-seo.php:5342 noindex-seo.php:5350 msgid "Conditional rules" msgstr "Regles condicionals" -#: noindex-seo.php:5971 +#: noindex-seo.php:5344 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:5984 +#: noindex-seo.php:5357 msgid "Field name" msgstr "Nom del camp" -#: noindex-seo.php:5985 +#: noindex-seo.php:5358 msgid "Value" msgstr "Valor" -#: noindex-seo.php:5986 noindex-seo.php:6210 +#: noindex-seo.php:5359 msgid "Actions" msgstr "Accions" -#: noindex-seo.php:6002 +#: noindex-seo.php:5375 msgid "custom_field_name" msgstr "nom_del_camp_personalitzat" -#: noindex-seo.php:6003 +#: noindex-seo.php:5376 msgid "value that triggers noindex" msgstr "valor que activa noindex" -#: noindex-seo.php:6004 noindex-seo.php:6231 +#: noindex-seo.php:5377 msgid "Remove rule" msgstr "Suprimeix la regla" -#: noindex-seo.php:6009 noindex-seo.php:6236 +#: noindex-seo.php:5382 msgid "Add rule" msgstr "Afegeix una regla" -#: noindex-seo.php:6010 +#: noindex-seo.php:5383 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." -#. 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 +#: noindex-seo.php:5397 noindex-seo.php:5406 msgid "Export settings" msgstr "Exporta els ajustaments" -#: noindex-seo.php:6132 +#: noindex-seo.php:5399 msgid "Download the current settings as a JSON file." msgstr "Baixa els ajustaments actuals en un fitxer JSON." -#: noindex-seo.php:6148 noindex-seo.php:6156 noindex-seo.php:6166 +#: noindex-seo.php:5415 noindex-seo.php:5423 noindex-seo.php:5433 msgid "Import settings" msgstr "Importa els ajustaments" -#: noindex-seo.php:6150 +#: noindex-seo.php:5417 msgid "" "Restore the global settings from a previously exported JSON file. Per-post " "and per-term overrides are kept." @@ -969,72 +893,11 @@ 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 " -"contingutActiveu per a establir directrius robots personalitzades per a " -"aquest contingut" +msgstr "Activeu-la per a definir directives robots personalitzades per a aquest contingut" +"Activeu per a establir directrius robots personalitzades per a aquest " +"contingut" #: assets/js/editor-sidebar.js:218 msgid "Robots Directives:" @@ -1070,3 +933,4 @@ msgstr "Directrius actives:" #~ msgid "🖼️ noimageindex" #~ msgstr "🖼️ noimageindex" + diff --git a/languages/noindex-seo-es_ES.mo b/languages/noindex-seo-es_ES.mo index 81b1b84..4dbc926 100644 Binary files a/languages/noindex-seo-es_ES.mo and b/languages/noindex-seo-es_ES.mo differ diff --git a/languages/noindex-seo-es_ES.po b/languages/noindex-seo-es_ES.po index b939829..3f9f101 100644 --- a/languages/noindex-seo-es_ES.po +++ b/languages/noindex-seo-es_ES.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-03T20:17:27+00:00\n" +"POT-Creation-Date: 2026-11-03T17:16:14+00:00\n" "PO-Revision-Date: 2026-08-17T20:00+00:00\n" "Last-Translator: ROBOTSTXT \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:2590 noindex-seo.php:2591 +#: noindex-seo.php noindex-seo.php:2044 noindex-seo.php:2045 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:1993 +#: noindex-seo.php:1449 msgid "Post ID to compute effective directives for." msgstr "ID de la entrada para calcular las directivas efectivas." -#: noindex-seo.php:2020 +#: noindex-seo.php:1476 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:2070 +#: noindex-seo.php:1526 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:2133 +#: noindex-seo.php:1589 msgid "No post exists with that post_id." msgstr "No existe ninguna entrada con ese post_id." -#: noindex-seo.php:2439 +#: noindex-seo.php:1895 msgid "Settings saved successfully!" msgstr "¡Ajustes guardados correctamente!" -#: noindex-seo.php:2440 +#: noindex-seo.php:1896 msgid "Expand All" msgstr "Expandir todo" -#: noindex-seo.php:2441 +#: noindex-seo.php:1897 msgid "Collapse All" msgstr "Contraer todo" -#: noindex-seo.php:2523 +#: noindex-seo.php:1977 msgid "Settings" msgstr "Ajustes" #. translators: plugin name. -#: noindex-seo.php:2816 +#: noindex-seo.php:2270 #, 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:2837 +#: noindex-seo.php:2291 #, 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:2954 noindex-seo.php:3129 noindex-seo.php:3180 -#: noindex-seo.php:3284 noindex-seo.php:3345 +#: noindex-seo.php:2408 noindex-seo.php:2561 noindex-seo.php:2612 +#: noindex-seo.php:2710 msgid "Permission denied." msgstr "Permiso denegado." -#: noindex-seo.php:4033 noindex-seo.php:4422 assets/js/editor-sidebar.js:176 +#: noindex-seo.php:3402 noindex-seo.php:3791 assets/js/editor-sidebar.js:176 msgid "Search Engine Visibility" msgstr "Visibilidad en buscadores" -#: noindex-seo.php:4094 noindex-seo.php:4792 assets/js/editor-sidebar.js:187 +#: noindex-seo.php:3463 noindex-seo.php:4161 assets/js/editor-sidebar.js:187 msgid "Override global settings" msgstr "Sobrescribir ajustes globales" -#: noindex-seo.php:4099 +#: noindex-seo.php:3468 msgid "" "When enabled, these directives will override the global settings for this " "specific content." @@ -124,97 +124,95 @@ msgstr "" "Al activarse, estas directivas sobrescribirán los ajustes globales para este " "contenido específico." -#: noindex-seo.php:4106 +#: noindex-seo.php:3475 msgid "Prevent indexing" msgstr "Evitar indexación" -#: noindex-seo.php:4111 +#: noindex-seo.php:3480 msgid "Prevent link following" msgstr "Evitar seguimiento de enlaces" -#: noindex-seo.php:4116 +#: noindex-seo.php:3485 msgid "Prevent caching" msgstr "Evitar caché" -#: noindex-seo.php:4121 +#: noindex-seo.php:3490 msgid "Prevent snippets" msgstr "Evitar snippets" -#: noindex-seo.php:4126 +#: noindex-seo.php:3495 msgid "Prevent image indexing" msgstr "Evitar indexación de imágenes" -#: noindex-seo.php:4131 +#: noindex-seo.php:3500 msgid "Prevent translation" msgstr "Evitar la traducción" -#: noindex-seo.php:4136 +#: noindex-seo.php:3505 msgid "Value directives (empty = off):" msgstr "Directivas con valor (vacío = desactivado):" -#: 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 +#: 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 msgid "Off" msgstr "Desactivado" -#: noindex-seo.php:4140 noindex-seo.php:5589 +#: noindex-seo.php:3509 noindex-seo.php:4962 msgid "Maximum snippet length in characters (-1 = no limit)" msgstr "Longitud máxima del fragmento en caracteres (-1 = sin límite)" -#: noindex-seo.php:4146 noindex-seo.php:4442 noindex-seo.php:4832 -#: noindex-seo.php:5940 assets/js/editor-sidebar.js:142 +#: noindex-seo.php:3515 noindex-seo.php:3811 noindex-seo.php:4201 +#: noindex-seo.php:5313 assets/js/editor-sidebar.js:142 msgid "none" msgstr "ninguna" -#: noindex-seo.php:4147 noindex-seo.php:4443 noindex-seo.php:4833 -#: noindex-seo.php:5941 assets/js/editor-sidebar.js:143 +#: noindex-seo.php:3516 noindex-seo.php:3812 noindex-seo.php:4202 +#: noindex-seo.php:5314 assets/js/editor-sidebar.js:143 msgid "standard" msgstr "estándar" -#: noindex-seo.php:4148 noindex-seo.php:4444 noindex-seo.php:4834 -#: noindex-seo.php:5942 assets/js/editor-sidebar.js:144 +#: noindex-seo.php:3517 noindex-seo.php:3813 noindex-seo.php:4203 +#: noindex-seo.php:5315 assets/js/editor-sidebar.js:144 msgid "large" msgstr "grande" -#: noindex-seo.php:4150 noindex-seo.php:5594 +#: noindex-seo.php:3519 noindex-seo.php:4967 msgid "Maximum image preview size" msgstr "Tamaño máximo de la vista previa de imágenes" -#: noindex-seo.php:4155 noindex-seo.php:5599 +#: noindex-seo.php:3524 noindex-seo.php:4972 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:4160 -msgid "Stop indexing after this date and time" -msgstr "Dejar de indexar tras esta fecha y hora" +#: noindex-seo.php:3529 -#: noindex-seo.php:4168 +#: noindex-seo.php:3537 msgid "Effective Directives:" msgstr "Directivas efectivas:" -#: noindex-seo.php:4178 +#: noindex-seo.php:3547 msgid "Override active:" msgstr "Sobrescritura activa:" -#: noindex-seo.php:4183 +#: noindex-seo.php:3552 msgid "Override enabled but no directives selected" msgstr "Sobrescritura activada pero sin directivas seleccionadas" -#: noindex-seo.php:4189 +#: noindex-seo.php:3558 msgid "Global settings:" msgstr "Ajustes globales:" -#: noindex-seo.php:4194 +#: noindex-seo.php:3563 msgid "No restrictions (indexable)" msgstr "Sin restricciones (indexable)" -#: noindex-seo.php:4426 +#: noindex-seo.php:3795 msgid "Override global settings for this term" msgstr "Sobrescribir los ajustes globales para este término" -#: noindex-seo.php:4457 +#: noindex-seo.php:3826 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 " @@ -224,69 +222,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:4559 noindex-seo.php:4565 noindex-seo.php:4681 -#: noindex-seo.php:4687 +#: noindex-seo.php:3928 noindex-seo.php:3934 noindex-seo.php:4050 +#: noindex-seo.php:4056 msgid "Robots" msgstr "Robots" -#: noindex-seo.php:4623 noindex-seo.php:4742 +#: noindex-seo.php:3992 noindex-seo.php:4111 msgid "Override (none)" msgstr "Sobrescritura (ninguna)" -#: noindex-seo.php:4788 +#: noindex-seo.php:4157 msgid "Robots Directives" msgstr "Directivas Robots" -#: noindex-seo.php:4798 noindex-seo.php:5558 +#: noindex-seo.php:4167 noindex-seo.php:4931 msgid "noindex" msgstr "noindex" -#: noindex-seo.php:4803 noindex-seo.php:5563 +#: noindex-seo.php:4172 noindex-seo.php:4936 msgid "nofollow" msgstr "nofollow" -#: noindex-seo.php:4808 noindex-seo.php:5568 +#: noindex-seo.php:4177 noindex-seo.php:4941 msgid "noarchive" msgstr "noarchive" -#: noindex-seo.php:4813 noindex-seo.php:5573 +#: noindex-seo.php:4182 noindex-seo.php:4946 msgid "nosnippet" msgstr "nosnippet" -#: noindex-seo.php:4818 noindex-seo.php:5578 +#: noindex-seo.php:4187 noindex-seo.php:4951 msgid "noimageindex" msgstr "noimageindex" -#: noindex-seo.php:4823 noindex-seo.php:5583 +#: noindex-seo.php:4192 noindex-seo.php:4956 msgid "notranslate" msgstr "notranslate" -#: noindex-seo.php:4827 noindex-seo.php:5588 +#: noindex-seo.php:4196 noindex-seo.php:4961 msgid "max-snippet" msgstr "max-snippet" -#: noindex-seo.php:4836 noindex-seo.php:5593 +#: noindex-seo.php:4205 noindex-seo.php:4966 msgid "max-image-preview" msgstr "max-image-preview" -#: noindex-seo.php:4840 noindex-seo.php:5598 +#: noindex-seo.php:4209 noindex-seo.php:4971 msgid "max-video-preview" msgstr "max-video-preview" -#: noindex-seo.php:4844 noindex-seo.php:5603 +#: noindex-seo.php:4213 noindex-seo.php:4976 msgid "unavailable_after" msgstr "unavailable_after" -#: noindex-seo.php:4957 +#: noindex-seo.php:4326 msgid "Enable Robots Override" msgstr "Activar sobrescritura Robots" -#: noindex-seo.php:4958 +#: noindex-seo.php:4327 msgid "Disable Robots Override" msgstr "Desactivar sobrescritura Robots" #. translators: %d: Number of posts updated -#: noindex-seo.php:5050 +#: noindex-seo.php:4424 #, php-format msgid "Robots override enabled for %d post." msgid_plural "Robots override enabled for %d posts." @@ -294,319 +292,313 @@ 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:5071 +#: noindex-seo.php:4445 #, 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:5120 +#: noindex-seo.php:4494 msgid "All robots settings" msgstr "Todos los ajustes robots" -#: noindex-seo.php:5122 +#: noindex-seo.php:4496 msgid "With override" msgstr "Con sobrescritura" -#: noindex-seo.php:5125 +#: noindex-seo.php:4499 msgid "Without override" msgstr "Sin sobrescritura" -#: noindex-seo.php:5244 +#: noindex-seo.php:4618 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:5245 +#: noindex-seo.php:4619 msgid "Permission Denied" msgstr "Permiso denegado" -#: noindex-seo.php:5257 +#: noindex-seo.php:4631 msgid "General" msgstr "General" -#: noindex-seo.php:5258 +#: noindex-seo.php:4632 msgid "SEO Settings" msgstr "Ajustes SEO" -#: noindex-seo.php:5259 +#: noindex-seo.php:4633 msgid "Import / Export" msgstr "Importación y exportación" -#: noindex-seo.php:5260 -msgid "Robots.txt" -msgstr "Robots.txt" - -#: noindex-seo.php:5280 +#: noindex-seo.php:4653 msgid "Main Pages" msgstr "Páginas principales" -#: noindex-seo.php:5283 +#: noindex-seo.php:4656 msgid "Front Page" msgstr "Página de inicio" -#: 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 +#: 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 msgid "Recommended" msgstr "Recomendado" -#: noindex-seo.php:5286 +#: noindex-seo.php:4659 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:5290 +#: noindex-seo.php:4663 msgid "Home" msgstr "Inicio" -#: noindex-seo.php:5293 +#: noindex-seo.php:4666 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:5299 +#: noindex-seo.php:4672 msgid "Pages and Posts" msgstr "Páginas y entradas" -#: noindex-seo.php:5302 +#: noindex-seo.php:4675 msgid "Page" msgstr "Página" -#: noindex-seo.php:5305 +#: noindex-seo.php:4678 msgid "Block the indexing of site pages." msgstr "Bloquear la indexación de las páginas del sitio." -#: noindex-seo.php:5308 +#: noindex-seo.php:4681 msgid "Privacy Policy" msgstr "Política de privacidad" -#: noindex-seo.php:5311 +#: noindex-seo.php:4684 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:5315 +#: noindex-seo.php:4688 msgid "Single Post" msgstr "Entrada individual" -#: noindex-seo.php:5318 +#: noindex-seo.php:4691 msgid "Block the indexing of individual posts." msgstr "Bloquear la indexación de entradas individuales." -#: noindex-seo.php:5321 +#: noindex-seo.php:4694 msgid "Singular" msgstr "Singular" -#: noindex-seo.php:5324 +#: noindex-seo.php:4697 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:5329 +#: noindex-seo.php:4702 msgid "Taxonomies" msgstr "Taxonomías" -#: noindex-seo.php:5332 +#: noindex-seo.php:4705 msgid "Category" msgstr "Categoría" -#: noindex-seo.php:5335 +#: noindex-seo.php:4708 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:5338 +#: noindex-seo.php:4711 msgid "Tag" msgstr "Etiqueta" -#: noindex-seo.php:5341 +#: noindex-seo.php:4714 msgid "Block the indexing of tag archive pages." msgstr "Bloquear la indexación de las páginas de archivo de etiquetas." -#: noindex-seo.php:5346 +#: noindex-seo.php:4719 msgid "Date Archives" msgstr "Archivos de fecha" -#: noindex-seo.php:5349 +#: noindex-seo.php:4722 msgid "Date" msgstr "Fecha" -#: noindex-seo.php:5352 +#: noindex-seo.php:4725 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:5355 +#: noindex-seo.php:4728 msgid "Day" msgstr "Día" -#: noindex-seo.php:5358 +#: noindex-seo.php:4731 msgid "Block the indexing of daily archive pages." msgstr "Bloquear la indexación de archivos diarios." -#: noindex-seo.php:5361 +#: noindex-seo.php:4734 msgid "Month" msgstr "Mes" -#: noindex-seo.php:5364 +#: noindex-seo.php:4737 msgid "Block the indexing of monthly archive pages." msgstr "Bloquear la indexación de archivos mensuales." -#: noindex-seo.php:5367 +#: noindex-seo.php:4740 msgid "Time" msgstr "Hora" -#: noindex-seo.php:5370 +#: noindex-seo.php:4743 msgid "Block the indexing of time-based archive pages." msgstr "Bloquear la indexación de archivos basados en hora." -#: noindex-seo.php:5373 +#: noindex-seo.php:4746 msgid "Year" msgstr "Año" -#: noindex-seo.php:5376 +#: noindex-seo.php:4749 msgid "Block the indexing of yearly archive pages." msgstr "Bloquear la indexación de archivos anuales." -#: noindex-seo.php:5381 +#: noindex-seo.php:4754 msgid "Archives" msgstr "Archivos" -#: noindex-seo.php:5384 +#: noindex-seo.php:4757 msgid "Archive" msgstr "Archivo" -#: noindex-seo.php:5387 +#: noindex-seo.php:4760 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:5390 +#: noindex-seo.php:4763 msgid "Author" msgstr "Autor" -#: noindex-seo.php:5393 +#: noindex-seo.php:4766 msgid "Block the indexing of author archive pages." msgstr "Bloquear la indexación de las páginas de archivo de autor." -#: noindex-seo.php:5396 +#: noindex-seo.php:4769 msgid "Post Type Archive" msgstr "Archivo de tipo de contenido" -#: noindex-seo.php:5399 +#: noindex-seo.php:4772 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:5404 +#: noindex-seo.php:4777 msgid "Pagination" msgstr "Paginación" -#: noindex-seo.php:5407 +#: noindex-seo.php:4780 msgid "Paginated Pages" msgstr "Páginas paginadas" -#: noindex-seo.php:5410 +#: noindex-seo.php:4783 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:5415 +#: noindex-seo.php:4788 msgid "Search" msgstr "Buscar" -#: noindex-seo.php:5418 +#: noindex-seo.php:4791 msgid "Search Results" msgstr "Resultados de búsqueda" -#: noindex-seo.php:5421 +#: noindex-seo.php:4794 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:5426 +#: noindex-seo.php:4799 msgid "Attachments" msgstr "Adjuntos" -#: noindex-seo.php:5429 +#: noindex-seo.php:4802 msgid "Attachment Pages" msgstr "Páginas de adjuntos" -#: noindex-seo.php:5432 +#: noindex-seo.php:4805 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:5437 +#: noindex-seo.php:4810 msgid "Previews" msgstr "Vistas previas" -#: noindex-seo.php:5440 +#: noindex-seo.php:4813 msgid "Customize Preview" msgstr "Vista previa del personalizador" -#: noindex-seo.php:5443 +#: noindex-seo.php:4816 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:5446 +#: noindex-seo.php:4819 msgid "Post Preview" msgstr "Vista previa de entrada" -#: noindex-seo.php:5449 +#: noindex-seo.php:4822 msgid "Block the indexing when viewing post previews." msgstr "Bloquear la indexación al ver vistas previas de entradas." -#: noindex-seo.php:5454 +#: noindex-seo.php:4827 msgid "Error Pages" msgstr "Páginas de error" -#: noindex-seo.php:5457 +#: noindex-seo.php:4830 msgid "Error 404" msgstr "Error 404" -#: noindex-seo.php:5460 +#: noindex-seo.php:4833 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:5485 +#: noindex-seo.php:4858 #, php-format msgid "Block the indexing of individual %s." msgstr "Bloquear la indexación de %s individuales." -#: noindex-seo.php:5489 +#: noindex-seo.php:4862 msgid "Custom Post Types" msgstr "Tipos de contenido personalizados" -#: noindex-seo.php:5502 +#: noindex-seo.php:4875 msgid "Cart" msgstr "Carrito" -#: noindex-seo.php:5503 +#: noindex-seo.php:4876 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:5506 +#: noindex-seo.php:4879 msgid "Checkout" msgstr "Finalizar compra" -#: noindex-seo.php:5507 +#: noindex-seo.php:4880 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:5510 +#: noindex-seo.php:4883 msgid "My Account" msgstr "Mi cuenta" -#: noindex-seo.php:5511 +#: noindex-seo.php:4884 msgid "" "Block the indexing of the WooCommerce customer account pages (including " "order history and address endpoints)." @@ -614,43 +606,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:5531 +#: noindex-seo.php:4904 msgid "WooCommerce" msgstr "WooCommerce" -#: noindex-seo.php:5559 +#: noindex-seo.php:4932 msgid "Prevent search engines from indexing this page" msgstr "Evitar que los buscadores indexen esta página" -#: noindex-seo.php:5564 +#: noindex-seo.php:4937 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:5569 +#: noindex-seo.php:4942 msgid "Prevent search engines from showing a cached version" msgstr "Evitar que los buscadores muestren una versión en caché" -#: noindex-seo.php:5574 +#: noindex-seo.php:4947 msgid "Prevent search engines from showing text snippets" msgstr "Evitar que los buscadores muestren fragmentos de texto" -#: noindex-seo.php:5579 +#: noindex-seo.php:4952 msgid "Prevent search engines from indexing images" msgstr "Evitar que los buscadores indexen imágenes" -#: noindex-seo.php:5584 +#: noindex-seo.php:4957 msgid "Ask search engines not to translate this page" msgstr "Pedir a los buscadores que no traduzcan esta página" -#: noindex-seo.php:5604 +#: noindex-seo.php:4977 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:5611 +#: noindex-seo.php:4984 msgid "noindex SEO Settings" msgstr "Ajustes de noindex SEO" -#: noindex-seo.php:5612 +#: noindex-seo.php:4985 msgid "" "Control how search engines index and display your WordPress content using " "robots directives." @@ -658,7 +650,7 @@ msgstr "" "Controla cómo los buscadores indexan y muestran tu contenido de WordPress " "usando directivas robots." -#: noindex-seo.php:5623 +#: noindex-seo.php:4996 msgid "" "Recommended defaults applied. Review the changes below and click \"Save " "Changes\" to keep them, or uncheck anything you do not want." @@ -666,11 +658,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:5631 +#: noindex-seo.php:5004 msgid "Settings imported successfully." msgstr "Ajustes importados correctamente." -#: noindex-seo.php:5638 +#: noindex-seo.php:5011 msgid "" "The settings file could not be imported: it is missing, too large, or not a " "valid noindex SEO export." @@ -678,35 +670,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:5646 +#: noindex-seo.php:5019 msgid "Settings sections" msgstr "Secciones de los ajustes" -#: noindex-seo.php:5673 +#: noindex-seo.php:5046 msgid "General Configuration" msgstr "Configuración general" -#: noindex-seo.php:5687 +#: noindex-seo.php:5060 msgid "Disable compatibility warnings with other SEO plugins" msgstr "Desactivar avisos de compatibilidad con otros plugins de SEO" -#: noindex-seo.php:5694 +#: noindex-seo.php:5067 msgid "Implementation Method" msgstr "Método de implementación" -#: noindex-seo.php:5702 +#: noindex-seo.php:5075 msgid "HTML Meta Tags (default, easier to verify)" msgstr "Etiquetas meta HTML (predeterminado, más fácil de verificar)" -#: noindex-seo.php:5705 +#: noindex-seo.php:5078 msgid "HTTP Headers (more robust, works with PDFs/images)" msgstr "Cabeceras HTTP (más robusto, funciona con PDFs/imágenes)" -#: noindex-seo.php:5708 +#: noindex-seo.php:5081 msgid "Both (maximum compatibility)" msgstr "Ambos (máxima compatibilidad)" -#: noindex-seo.php:5712 +#: noindex-seo.php:5085 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, " @@ -716,11 +708,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:5730 +#: noindex-seo.php:5103 msgid "Enable per-post/page granular control" msgstr "Activar control granular por entrada/página" -#: noindex-seo.php:5733 +#: noindex-seo.php:5106 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 " @@ -730,11 +722,11 @@ msgstr "" "permite sobrescribir los ajustes globales para contenido individual. Útil " "para páginas específicas que necesitan directivas robots diferentes." -#: noindex-seo.php:5751 +#: noindex-seo.php:5124 msgid "Enable per-term granular control" msgstr "Activar el control granular por término" -#: noindex-seo.php:5754 +#: noindex-seo.php:5127 msgid "" "When enabled, a \"Search Engine Visibility\" panel will appear on the Edit " "screen for every public taxonomy (categories, tags, and custom taxonomies " @@ -747,11 +739,11 @@ msgstr "" "WooCommerce).Resulta útil para aplicar noindex a una categoría o etiqueta " "concreta sinafectar a las demás." -#: noindex-seo.php:5772 +#: noindex-seo.php:5145 msgid "Delete all plugin data on uninstall" msgstr "Borrar todos los datos del plugin al desinstalar" -#: noindex-seo.php:5775 +#: noindex-seo.php:5148 msgid "" "When enabled, all settings and per-post robots directives will be " "permanently deleted when the plugin is uninstalled. By default data is " @@ -761,11 +753,11 @@ msgstr "" "borrarán de forma permanente al desinstalar el plugin. Por defecto, los " "datos se conservan." -#: noindex-seo.php:5791 +#: noindex-seo.php:5164 msgid "Recommended settings" msgstr "Ajustes recomendados" -#: noindex-seo.php:5793 +#: noindex-seo.php:5166 msgid "" "Enables all 5 directives on the 15 contexts flagged \"Recommended\" (privacy " "policy, date archives, pagination, search results, attachment pages, " @@ -776,37 +768,36 @@ 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:5800 +#: noindex-seo.php:5173 msgid "Apply Recommended Defaults" msgstr "Aplicar los valores recomendados" -#: noindex-seo.php:5805 +#: noindex-seo.php:5178 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:5819 +#: noindex-seo.php:5192 msgid "Overview" msgstr "Resumen" -#: noindex-seo.php:5823 +#: noindex-seo.php:5196 msgid "Total Options" msgstr "Opciones totales" -#: noindex-seo.php:5827 +#: noindex-seo.php:5200 msgid "Enabled" msgstr "Activadas" -#: noindex-seo.php:5831 +#: noindex-seo.php:5204 msgid "Recommended to Enable" msgstr "Recomendadas para activar" -#: noindex-seo.php:5836 +#: noindex-seo.php:5209 msgid "Page contexts" msgstr "Contextos de página" -#: noindex-seo.php:5841 +#: noindex-seo.php:5214 msgid "" "Important: Enabling noindex on the wrong pages can harm your search engine " "rankings. Only enable options you fully understand." @@ -815,34 +806,32 @@ msgstr "" "posicionamiento en buscadores. Activa solo las opciones que entiendas " "completamente." -#: noindex-seo.php:5848 +#: noindex-seo.php:5221 msgid "Search options..." msgstr "Buscar opciones…" -#: noindex-seo.php:5849 +#: noindex-seo.php:5222 msgid "Search options" msgstr "Buscar opciones" -#: noindex-seo.php:5874 +#: noindex-seo.php:5247 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 " -"HTTPEsta 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 HTTP" +"Esta opción solo funciona con el método de implementación de cabeceras HTTP" -#: noindex-seo.php:5883 +#: noindex-seo.php:5256 msgid "Not Recommended" msgstr "No recomendado" -#: noindex-seo.php:5888 +#: noindex-seo.php:5261 msgid "View Page" msgstr "Ver página" -#: noindex-seo.php:5969 noindex-seo.php:5977 +#: noindex-seo.php:5342 noindex-seo.php:5350 msgid "Conditional rules" msgstr "Reglas condicionales" -#: noindex-seo.php:5971 +#: noindex-seo.php:5344 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 " @@ -855,118 +844,51 @@ msgstr "" "encima de los ajustes globales de contexto, y las entradas coincidentes " "desaparecen del mapa del sitio XML." -#: noindex-seo.php:5984 +#: noindex-seo.php:5357 msgid "Field name" msgstr "Nombre del campo" -#: noindex-seo.php:5985 +#: noindex-seo.php:5358 msgid "Value" msgstr "Valor" -#: noindex-seo.php:5986 noindex-seo.php:6210 +#: noindex-seo.php:5359 msgid "Actions" msgstr "Acciones" -#: noindex-seo.php:6002 +#: noindex-seo.php:5375 msgid "custom_field_name" msgstr "nombre_campo_personalizado" -#: noindex-seo.php:6003 +#: noindex-seo.php:5376 msgid "value that triggers noindex" msgstr "valor que activa noindex" -#: noindex-seo.php:6004 noindex-seo.php:6231 +#: noindex-seo.php:5377 msgid "Remove rule" msgstr "Eliminar regla" -#: noindex-seo.php:6009 noindex-seo.php:6236 +#: noindex-seo.php:5382 msgid "Add rule" msgstr "Añadir regla" -#: noindex-seo.php:6010 +#: noindex-seo.php:5383 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." -#. 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 +#: noindex-seo.php:5397 noindex-seo.php:5406 msgid "Export settings" msgstr "Exportar ajustes" -#: noindex-seo.php:6132 +#: noindex-seo.php:5399 msgid "Download the current settings as a JSON file." msgstr "Descarga los ajustes actuales en un archivo JSON." -#: noindex-seo.php:6148 noindex-seo.php:6156 noindex-seo.php:6166 +#: noindex-seo.php:5415 noindex-seo.php:5423 noindex-seo.php:5433 msgid "Import settings" msgstr "Importar ajustes" -#: noindex-seo.php:6150 +#: noindex-seo.php:5417 msgid "" "Restore the global settings from a previously exported JSON file. Per-post " "and per-term overrides are kept." @@ -974,73 +896,10 @@ 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 " -"contenidoActiva para establecer directivas robots personalizadas para este " -"contenido" +msgstr "Actívala para definir directivas robots personalizadas para este contenido" +"Activa para establecer directivas robots personalizadas para este contenido" #: assets/js/editor-sidebar.js:218 msgid "Robots Directives:" @@ -1076,3 +935,4 @@ msgstr "Directivas activas:" #~ msgid "🖼️ noimageindex" #~ msgstr "🖼️ noimageindex" + diff --git a/languages/noindex-seo.pot b/languages/noindex-seo.pot index 507379b..f34c1c7 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.7.0\n" +"Project-Id-Version: noindex SEO 3.6.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-03T20:17:27+00:00\n" +"POT-Creation-Date: 2026-11-03T17:16:14+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:2590 -#: noindex-seo.php:2591 +#: noindex-seo.php:2044 +#: noindex-seo.php:2045 msgid "noindex SEO" msgstr "" @@ -41,263 +41,262 @@ msgstr "" msgid "https://www.robotstxt.software/" msgstr "" -#: noindex-seo.php:1993 +#: noindex-seo.php:1449 msgid "Post ID to compute effective directives for." msgstr "" -#: noindex-seo.php:2020 +#: noindex-seo.php:1476 msgid "You do not have permission to read the noindex SEO settings." msgstr "" -#: noindex-seo.php:2070 +#: noindex-seo.php:1526 msgid "You do not have permission to read directives for this post." msgstr "" -#: noindex-seo.php:2133 +#: noindex-seo.php:1589 msgid "No post exists with that post_id." msgstr "" -#: noindex-seo.php:2439 +#: noindex-seo.php:1895 msgid "Settings saved successfully!" msgstr "" -#: noindex-seo.php:2440 +#: noindex-seo.php:1896 msgid "Expand All" msgstr "" -#: noindex-seo.php:2441 +#: noindex-seo.php:1897 msgid "Collapse All" msgstr "" -#: noindex-seo.php:2523 +#: noindex-seo.php:1977 msgid "Settings" msgstr "" #. translators: plugin name. -#: noindex-seo.php:2816 +#: noindex-seo.php:2270 #, 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:2837 +#: noindex-seo.php:2291 #, 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:2954 -#: noindex-seo.php:3129 -#: noindex-seo.php:3180 -#: noindex-seo.php:3284 -#: noindex-seo.php:3345 +#: noindex-seo.php:2408 +#: noindex-seo.php:2561 +#: noindex-seo.php:2612 +#: noindex-seo.php:2710 msgid "Permission denied." msgstr "" -#: noindex-seo.php:4033 -#: noindex-seo.php:4422 +#: noindex-seo.php:3402 +#: noindex-seo.php:3791 #: assets/js/editor-sidebar.js:176 msgid "Search Engine Visibility" msgstr "" -#: noindex-seo.php:4094 -#: noindex-seo.php:4792 +#: noindex-seo.php:3463 +#: noindex-seo.php:4161 #: assets/js/editor-sidebar.js:187 msgid "Override global settings" msgstr "" -#: noindex-seo.php:4099 +#: noindex-seo.php:3468 msgid "When enabled, these directives will override the global settings for this specific content." msgstr "" -#: noindex-seo.php:4106 +#: noindex-seo.php:3475 msgid "Prevent indexing" msgstr "" -#: noindex-seo.php:4111 +#: noindex-seo.php:3480 msgid "Prevent link following" msgstr "" -#: noindex-seo.php:4116 +#: noindex-seo.php:3485 msgid "Prevent caching" msgstr "" -#: noindex-seo.php:4121 +#: noindex-seo.php:3490 msgid "Prevent snippets" msgstr "" -#: noindex-seo.php:4126 +#: noindex-seo.php:3495 msgid "Prevent image indexing" msgstr "" -#: noindex-seo.php:4131 +#: noindex-seo.php:3500 msgid "Prevent translation" msgstr "" -#: noindex-seo.php:4136 +#: noindex-seo.php:3505 msgid "Value directives (empty = off):" msgstr "" -#: 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 +#: 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 msgid "Off" msgstr "" -#: noindex-seo.php:4140 -#: noindex-seo.php:5589 +#: noindex-seo.php:3509 +#: noindex-seo.php:4962 msgid "Maximum snippet length in characters (-1 = no limit)" msgstr "" -#: noindex-seo.php:4146 -#: noindex-seo.php:4442 -#: noindex-seo.php:4832 -#: noindex-seo.php:5940 +#: noindex-seo.php:3515 +#: noindex-seo.php:3811 +#: noindex-seo.php:4201 +#: noindex-seo.php:5313 #: assets/js/editor-sidebar.js:142 msgid "none" msgstr "" -#: noindex-seo.php:4147 -#: noindex-seo.php:4443 -#: noindex-seo.php:4833 -#: noindex-seo.php:5941 +#: noindex-seo.php:3516 +#: noindex-seo.php:3812 +#: noindex-seo.php:4202 +#: noindex-seo.php:5314 #: assets/js/editor-sidebar.js:143 msgid "standard" msgstr "" -#: noindex-seo.php:4148 -#: noindex-seo.php:4444 -#: noindex-seo.php:4834 -#: noindex-seo.php:5942 +#: noindex-seo.php:3517 +#: noindex-seo.php:3813 +#: noindex-seo.php:4203 +#: noindex-seo.php:5315 #: assets/js/editor-sidebar.js:144 msgid "large" msgstr "" -#: noindex-seo.php:4150 -#: noindex-seo.php:5594 +#: noindex-seo.php:3519 +#: noindex-seo.php:4967 msgid "Maximum image preview size" msgstr "" -#: noindex-seo.php:4155 -#: noindex-seo.php:5599 +#: noindex-seo.php:3524 +#: noindex-seo.php:4972 msgid "Maximum video preview seconds (-1 = no limit)" msgstr "" -#: noindex-seo.php:4160 +#: noindex-seo.php:3529 msgid "Stop indexing after this date and time" msgstr "" -#: noindex-seo.php:4168 +#: noindex-seo.php:3537 msgid "Effective Directives:" msgstr "" -#: noindex-seo.php:4178 +#: noindex-seo.php:3547 msgid "Override active:" msgstr "" -#: noindex-seo.php:4183 +#: noindex-seo.php:3552 msgid "Override enabled but no directives selected" msgstr "" -#: noindex-seo.php:4189 +#: noindex-seo.php:3558 msgid "Global settings:" msgstr "" -#: noindex-seo.php:4194 +#: noindex-seo.php:3563 msgid "No restrictions (indexable)" msgstr "" -#: noindex-seo.php:4426 +#: noindex-seo.php:3795 msgid "Override global settings for this term" msgstr "" -#: noindex-seo.php:4457 +#: noindex-seo.php:3826 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:4559 -#: noindex-seo.php:4565 -#: noindex-seo.php:4681 -#: noindex-seo.php:4687 +#: noindex-seo.php:3928 +#: noindex-seo.php:3934 +#: noindex-seo.php:4050 +#: noindex-seo.php:4056 msgid "Robots" msgstr "" -#: noindex-seo.php:4623 -#: noindex-seo.php:4742 +#: noindex-seo.php:3992 +#: noindex-seo.php:4111 msgid "Override (none)" msgstr "" -#: noindex-seo.php:4788 +#: noindex-seo.php:4157 msgid "Robots Directives" msgstr "" -#: noindex-seo.php:4798 -#: noindex-seo.php:5558 +#: noindex-seo.php:4167 +#: noindex-seo.php:4931 msgid "noindex" msgstr "" -#: noindex-seo.php:4803 -#: noindex-seo.php:5563 +#: noindex-seo.php:4172 +#: noindex-seo.php:4936 msgid "nofollow" msgstr "" -#: noindex-seo.php:4808 -#: noindex-seo.php:5568 +#: noindex-seo.php:4177 +#: noindex-seo.php:4941 msgid "noarchive" msgstr "" -#: noindex-seo.php:4813 -#: noindex-seo.php:5573 +#: noindex-seo.php:4182 +#: noindex-seo.php:4946 msgid "nosnippet" msgstr "" -#: noindex-seo.php:4818 -#: noindex-seo.php:5578 +#: noindex-seo.php:4187 +#: noindex-seo.php:4951 msgid "noimageindex" msgstr "" -#: noindex-seo.php:4823 -#: noindex-seo.php:5583 +#: noindex-seo.php:4192 +#: noindex-seo.php:4956 msgid "notranslate" msgstr "" -#: noindex-seo.php:4827 -#: noindex-seo.php:5588 +#: noindex-seo.php:4196 +#: noindex-seo.php:4961 msgid "max-snippet" msgstr "" -#: noindex-seo.php:4836 -#: noindex-seo.php:5593 +#: noindex-seo.php:4205 +#: noindex-seo.php:4966 msgid "max-image-preview" msgstr "" -#: noindex-seo.php:4840 -#: noindex-seo.php:5598 +#: noindex-seo.php:4209 +#: noindex-seo.php:4971 msgid "max-video-preview" msgstr "" -#: noindex-seo.php:4844 -#: noindex-seo.php:5603 +#: noindex-seo.php:4213 +#: noindex-seo.php:4976 msgid "unavailable_after" msgstr "" -#: noindex-seo.php:4957 +#: noindex-seo.php:4326 msgid "Enable Robots Override" msgstr "" -#: noindex-seo.php:4958 +#: noindex-seo.php:4327 msgid "Disable Robots Override" msgstr "" #. translators: %d: Number of posts updated -#: noindex-seo.php:5050 +#: noindex-seo.php:4424 #, php-format msgid "Robots override enabled for %d post." msgid_plural "Robots override enabled for %d posts." @@ -305,658 +304,551 @@ msgstr[0] "" msgstr[1] "" #. translators: %d: Number of posts updated -#: noindex-seo.php:5071 +#: noindex-seo.php:4445 #, php-format msgid "Robots override disabled for %d post." msgid_plural "Robots override disabled for %d posts." msgstr[0] "" msgstr[1] "" -#: noindex-seo.php:5120 +#: noindex-seo.php:4494 msgid "All robots settings" msgstr "" -#: noindex-seo.php:5122 +#: noindex-seo.php:4496 msgid "With override" msgstr "" -#: noindex-seo.php:5125 +#: noindex-seo.php:4499 msgid "Without override" msgstr "" -#: noindex-seo.php:5244 +#: noindex-seo.php:4618 msgid "You do not have sufficient permissions to access this page." msgstr "" -#: noindex-seo.php:5245 +#: noindex-seo.php:4619 msgid "Permission Denied" msgstr "" -#: noindex-seo.php:5257 +#: noindex-seo.php:4631 msgid "General" msgstr "" -#: noindex-seo.php:5258 +#: noindex-seo.php:4632 msgid "SEO Settings" msgstr "" -#: noindex-seo.php:5259 +#: noindex-seo.php:4633 msgid "Import / Export" msgstr "" -#: noindex-seo.php:5260 -msgid "Robots.txt" -msgstr "" - -#: noindex-seo.php:5280 +#: noindex-seo.php:4653 msgid "Main Pages" msgstr "" -#: noindex-seo.php:5283 +#: noindex-seo.php:4656 msgid "Front Page" msgstr "" -#: 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 +#: 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 msgid "Recommended" msgstr "" -#: noindex-seo.php:5286 +#: noindex-seo.php:4659 msgid "Block the indexing of the site's front page." msgstr "" -#: noindex-seo.php:5290 +#: noindex-seo.php:4663 msgid "Home" msgstr "" -#: noindex-seo.php:5293 +#: noindex-seo.php:4666 msgid "Block the indexing of the site's home page." msgstr "" -#: noindex-seo.php:5299 +#: noindex-seo.php:4672 msgid "Pages and Posts" msgstr "" -#: noindex-seo.php:5302 +#: noindex-seo.php:4675 msgid "Page" msgstr "" -#: noindex-seo.php:5305 +#: noindex-seo.php:4678 msgid "Block the indexing of site pages." msgstr "" -#: noindex-seo.php:5308 +#: noindex-seo.php:4681 msgid "Privacy Policy" msgstr "" -#: noindex-seo.php:5311 +#: noindex-seo.php:4684 msgid "Block the indexing of the privacy policy page." msgstr "" -#: noindex-seo.php:5315 +#: noindex-seo.php:4688 msgid "Single Post" msgstr "" -#: noindex-seo.php:5318 +#: noindex-seo.php:4691 msgid "Block the indexing of individual posts." msgstr "" -#: noindex-seo.php:5321 +#: noindex-seo.php:4694 msgid "Singular" msgstr "" -#: noindex-seo.php:5324 +#: noindex-seo.php:4697 msgid "Block the indexing of any singular content (post or page)." msgstr "" -#: noindex-seo.php:5329 +#: noindex-seo.php:4702 msgid "Taxonomies" msgstr "" -#: noindex-seo.php:5332 +#: noindex-seo.php:4705 msgid "Category" msgstr "" -#: noindex-seo.php:5335 +#: noindex-seo.php:4708 msgid "Block the indexing of category archive pages." msgstr "" -#: noindex-seo.php:5338 +#: noindex-seo.php:4711 msgid "Tag" msgstr "" -#: noindex-seo.php:5341 +#: noindex-seo.php:4714 msgid "Block the indexing of tag archive pages." msgstr "" -#: noindex-seo.php:5346 +#: noindex-seo.php:4719 msgid "Date Archives" msgstr "" -#: noindex-seo.php:5349 +#: noindex-seo.php:4722 msgid "Date" msgstr "" -#: noindex-seo.php:5352 +#: noindex-seo.php:4725 msgid "Block the indexing of any date-based archive page." msgstr "" -#: noindex-seo.php:5355 +#: noindex-seo.php:4728 msgid "Day" msgstr "" -#: noindex-seo.php:5358 +#: noindex-seo.php:4731 msgid "Block the indexing of daily archive pages." msgstr "" -#: noindex-seo.php:5361 +#: noindex-seo.php:4734 msgid "Month" msgstr "" -#: noindex-seo.php:5364 +#: noindex-seo.php:4737 msgid "Block the indexing of monthly archive pages." msgstr "" -#: noindex-seo.php:5367 +#: noindex-seo.php:4740 msgid "Time" msgstr "" -#: noindex-seo.php:5370 +#: noindex-seo.php:4743 msgid "Block the indexing of time-based archive pages." msgstr "" -#: noindex-seo.php:5373 +#: noindex-seo.php:4746 msgid "Year" msgstr "" -#: noindex-seo.php:5376 +#: noindex-seo.php:4749 msgid "Block the indexing of yearly archive pages." msgstr "" -#: noindex-seo.php:5381 +#: noindex-seo.php:4754 msgid "Archives" msgstr "" -#: noindex-seo.php:5384 +#: noindex-seo.php:4757 msgid "Archive" msgstr "" -#: noindex-seo.php:5387 +#: noindex-seo.php:4760 msgid "Block the indexing of any type of archive page." msgstr "" -#: noindex-seo.php:5390 +#: noindex-seo.php:4763 msgid "Author" msgstr "" -#: noindex-seo.php:5393 +#: noindex-seo.php:4766 msgid "Block the indexing of author archive pages." msgstr "" -#: noindex-seo.php:5396 +#: noindex-seo.php:4769 msgid "Post Type Archive" msgstr "" -#: noindex-seo.php:5399 +#: noindex-seo.php:4772 msgid "Block the indexing of post type archive pages." msgstr "" -#: noindex-seo.php:5404 +#: noindex-seo.php:4777 msgid "Pagination" msgstr "" -#: noindex-seo.php:5407 +#: noindex-seo.php:4780 msgid "Paginated Pages" msgstr "" -#: noindex-seo.php:5410 +#: noindex-seo.php:4783 msgid "Block the indexing of pagination pages (page 2, 3, etc.)." msgstr "" -#: noindex-seo.php:5415 +#: noindex-seo.php:4788 msgid "Search" msgstr "" -#: noindex-seo.php:5418 +#: noindex-seo.php:4791 msgid "Search Results" msgstr "" -#: noindex-seo.php:5421 +#: noindex-seo.php:4794 msgid "Block the indexing of search result pages." msgstr "" -#: noindex-seo.php:5426 +#: noindex-seo.php:4799 msgid "Attachments" msgstr "" -#: noindex-seo.php:5429 +#: noindex-seo.php:4802 msgid "Attachment Pages" msgstr "" -#: noindex-seo.php:5432 +#: noindex-seo.php:4805 msgid "Block the indexing of attachment pages (does not affect the file itself)." msgstr "" -#: noindex-seo.php:5437 +#: noindex-seo.php:4810 msgid "Previews" msgstr "" -#: noindex-seo.php:5440 +#: noindex-seo.php:4813 msgid "Customize Preview" msgstr "" -#: noindex-seo.php:5443 +#: noindex-seo.php:4816 msgid "Block the indexing when content is in customize preview mode." msgstr "" -#: noindex-seo.php:5446 +#: noindex-seo.php:4819 msgid "Post Preview" msgstr "" -#: noindex-seo.php:5449 +#: noindex-seo.php:4822 msgid "Block the indexing when viewing post previews." msgstr "" -#: noindex-seo.php:5454 +#: noindex-seo.php:4827 msgid "Error Pages" msgstr "" -#: noindex-seo.php:5457 +#: noindex-seo.php:4830 msgid "Error 404" msgstr "" -#: noindex-seo.php:5460 +#: noindex-seo.php:4833 msgid "Block the indexing of 404 error pages." msgstr "" #. translators: %s: post type singular name. -#: noindex-seo.php:5485 +#: noindex-seo.php:4858 #, php-format msgid "Block the indexing of individual %s." msgstr "" -#: noindex-seo.php:5489 +#: noindex-seo.php:4862 msgid "Custom Post Types" msgstr "" -#: noindex-seo.php:5502 +#: noindex-seo.php:4875 msgid "Cart" msgstr "" -#: noindex-seo.php:5503 +#: noindex-seo.php:4876 msgid "Block the indexing of the WooCommerce cart page." msgstr "" -#: noindex-seo.php:5506 +#: noindex-seo.php:4879 msgid "Checkout" msgstr "" -#: noindex-seo.php:5507 +#: noindex-seo.php:4880 msgid "Block the indexing of the WooCommerce checkout page." msgstr "" -#: noindex-seo.php:5510 +#: noindex-seo.php:4883 msgid "My Account" msgstr "" -#: noindex-seo.php:5511 +#: noindex-seo.php:4884 msgid "Block the indexing of the WooCommerce customer account pages (including order history and address endpoints)." msgstr "" -#: noindex-seo.php:5531 +#: noindex-seo.php:4904 msgid "WooCommerce" msgstr "" -#: noindex-seo.php:5559 +#: noindex-seo.php:4932 msgid "Prevent search engines from indexing this page" msgstr "" -#: noindex-seo.php:5564 +#: noindex-seo.php:4937 msgid "Prevent search engines from following links on this page" msgstr "" -#: noindex-seo.php:5569 +#: noindex-seo.php:4942 msgid "Prevent search engines from showing a cached version" msgstr "" -#: noindex-seo.php:5574 +#: noindex-seo.php:4947 msgid "Prevent search engines from showing text snippets" msgstr "" -#: noindex-seo.php:5579 +#: noindex-seo.php:4952 msgid "Prevent search engines from indexing images" msgstr "" -#: noindex-seo.php:5584 +#: noindex-seo.php:4957 msgid "Ask search engines not to translate this page" msgstr "" -#: noindex-seo.php:5604 +#: noindex-seo.php:4977 msgid "Stop indexing this page after this date and time" msgstr "" -#: noindex-seo.php:5611 +#: noindex-seo.php:4984 msgid "noindex SEO Settings" msgstr "" -#: noindex-seo.php:5612 +#: noindex-seo.php:4985 msgid "Control how search engines index and display your WordPress content using robots directives." msgstr "" -#: noindex-seo.php:5623 +#: noindex-seo.php:4996 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:5631 +#: noindex-seo.php:5004 msgid "Settings imported successfully." msgstr "" -#: noindex-seo.php:5638 +#: noindex-seo.php:5011 msgid "The settings file could not be imported: it is missing, too large, or not a valid noindex SEO export." msgstr "" -#: noindex-seo.php:5646 +#: noindex-seo.php:5019 msgid "Settings sections" msgstr "" -#: noindex-seo.php:5673 +#: noindex-seo.php:5046 msgid "General Configuration" msgstr "" -#: noindex-seo.php:5687 +#: noindex-seo.php:5060 msgid "Disable compatibility warnings with other SEO plugins" msgstr "" -#: noindex-seo.php:5694 +#: noindex-seo.php:5067 msgid "Implementation Method" msgstr "" -#: noindex-seo.php:5702 +#: noindex-seo.php:5075 msgid "HTML Meta Tags (default, easier to verify)" msgstr "" -#: noindex-seo.php:5705 +#: noindex-seo.php:5078 msgid "HTTP Headers (more robust, works with PDFs/images)" msgstr "" -#: noindex-seo.php:5708 +#: noindex-seo.php:5081 msgid "Both (maximum compatibility)" msgstr "" -#: noindex-seo.php:5712 +#: noindex-seo.php:5085 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:5730 +#: noindex-seo.php:5103 msgid "Enable per-post/page granular control" msgstr "" -#: noindex-seo.php:5733 +#: noindex-seo.php:5106 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:5751 +#: noindex-seo.php:5124 msgid "Enable per-term granular control" msgstr "" -#: noindex-seo.php:5754 +#: noindex-seo.php:5127 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:5772 +#: noindex-seo.php:5145 msgid "Delete all plugin data on uninstall" msgstr "" -#: noindex-seo.php:5775 +#: noindex-seo.php:5148 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:5791 +#: noindex-seo.php:5164 msgid "Recommended settings" msgstr "" -#: noindex-seo.php:5793 +#: noindex-seo.php:5166 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:5800 +#: noindex-seo.php:5173 msgid "Apply Recommended Defaults" msgstr "" -#: noindex-seo.php:5805 +#: noindex-seo.php:5178 msgid "Enable all directives for the 15 contexts flagged as recommended." msgstr "" -#: noindex-seo.php:5819 +#: noindex-seo.php:5192 msgid "Overview" msgstr "" -#: noindex-seo.php:5823 +#: noindex-seo.php:5196 msgid "Total Options" msgstr "" -#: noindex-seo.php:5827 +#: noindex-seo.php:5200 msgid "Enabled" msgstr "" -#: noindex-seo.php:5831 +#: noindex-seo.php:5204 msgid "Recommended to Enable" msgstr "" -#: noindex-seo.php:5836 +#: noindex-seo.php:5209 msgid "Page contexts" msgstr "" -#: noindex-seo.php:5841 +#: noindex-seo.php:5214 msgid "Important: Enabling noindex on the wrong pages can harm your search engine rankings. Only enable options you fully understand." msgstr "" -#: noindex-seo.php:5848 +#: noindex-seo.php:5221 msgid "Search options..." msgstr "" -#: noindex-seo.php:5849 +#: noindex-seo.php:5222 msgid "Search options" msgstr "" -#: noindex-seo.php:5874 +#: noindex-seo.php:5247 msgid "This option only works with HTTP Headers implementation method" msgstr "" -#: noindex-seo.php:5883 +#: noindex-seo.php:5256 msgid "Not Recommended" msgstr "" -#: noindex-seo.php:5888 +#: noindex-seo.php:5261 msgid "View Page" msgstr "" -#: noindex-seo.php:5969 -#: noindex-seo.php:5977 +#: noindex-seo.php:5342 +#: noindex-seo.php:5350 msgid "Conditional rules" msgstr "" -#: noindex-seo.php:5971 +#: noindex-seo.php:5344 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:5984 +#: noindex-seo.php:5357 msgid "Field name" msgstr "" -#: noindex-seo.php:5985 +#: noindex-seo.php:5358 msgid "Value" msgstr "" -#: noindex-seo.php:5986 -#: noindex-seo.php:6210 +#: noindex-seo.php:5359 msgid "Actions" msgstr "" -#: noindex-seo.php:6002 +#: noindex-seo.php:5375 msgid "custom_field_name" msgstr "" -#: noindex-seo.php:6003 +#: noindex-seo.php:5376 msgid "value that triggers noindex" msgstr "" -#: noindex-seo.php:6004 -#: noindex-seo.php:6231 +#: noindex-seo.php:5377 msgid "Remove rule" msgstr "" -#: noindex-seo.php:6009 -#: noindex-seo.php:6236 +#: noindex-seo.php:5382 msgid "Add rule" msgstr "" -#: noindex-seo.php:6010 +#: noindex-seo.php:5383 msgid "Up to 20 rules. Rows with an empty field or value are ignored." msgstr "" -#. 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 +#: noindex-seo.php:5397 +#: noindex-seo.php:5406 msgid "Export settings" msgstr "" -#: noindex-seo.php:6132 +#: noindex-seo.php:5399 msgid "Download the current settings as a JSON file." msgstr "" -#: noindex-seo.php:6148 -#: noindex-seo.php:6156 -#: noindex-seo.php:6166 +#: noindex-seo.php:5415 +#: noindex-seo.php:5423 +#: noindex-seo.php:5433 msgid "Import settings" msgstr "" -#: noindex-seo.php:6150 +#: noindex-seo.php:5417 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 5df7333..e6fd197 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.7.0 + * Version: 3.6.0 * Requires at least: 7.0 * Requires PHP: 8.3 * Author: ROBOTSTXT @@ -77,12 +77,8 @@ 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.7.0' ); +define( 'NOINDEX_SEO_VERSION', '3.6.0' ); /** * Option key holding the consolidated plugin settings array. @@ -265,10 +261,6 @@ 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, @@ -286,14 +278,10 @@ function noindex_seo_get_settings( $force_refresh = false ) { } $defaults = array( - 'version' => 3, - 'contexts' => array(), - 'rules' => array(), - 'robots_txt' => array( - 'enabled' => 0, - 'rules' => array(), - ), - 'config' => array( + 'version' => 3, + 'contexts' => array(), + 'rules' => array(), + 'config' => array( 'method' => 'meta', 'granular' => 0, 'taxonomies_granular' => 0, @@ -337,14 +325,6 @@ 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 ] ) ) { @@ -468,551 +448,6 @@ 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. * @@ -2098,9 +1533,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, rules, - * robots_txt, 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, config) is exposed + * verbatim so headless consumers can replicate the directive logic on their + * own front-end. * * @since 3.1.0 * @@ -2450,7 +1885,7 @@ function noindex_seo_enqueue_admin_assets( $hook ) { true ); - // Localize script with translations and the robots.txt preset bot lists.. + // Localize script with translations.. wp_localize_script( 'noindex-seo-admin', 'noindexSeoAdmin', @@ -2458,8 +1893,6 @@ 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() ), ) ); } @@ -2980,7 +2413,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', 'robotstxt' ), true ) ) { + if ( ! in_array( $scope, array( 'general', 'settings' ), true ) ) { $scope = 'settings'; } @@ -3042,28 +2475,6 @@ 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. @@ -3260,14 +2671,6 @@ 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'] ) @@ -3345,63 +2748,6 @@ 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. * @@ -3935,10 +3281,6 @@ 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 */ @@ -3956,17 +3298,6 @@ 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( @@ -5283,15 +4614,14 @@ 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', 'robotstxt' ), true ) ) { + if ( ! in_array( $current_tab, array( 'general', 'settings', 'tools' ), true ) ) { $current_tab = 'general'; } $tabs = array( - 'general' => __( 'General', 'noindex-seo' ), - 'settings' => __( 'SEO Settings', 'noindex-seo' ), - 'tools' => __( 'Import / Export', 'noindex-seo' ), - 'robotstxt' => __( 'Robots.txt', 'noindex-seo' ), + 'general' => __( 'General', 'noindex-seo' ), + 'settings' => __( 'SEO Settings', 'noindex-seo' ), + 'tools' => __( 'Import / Export', 'noindex-seo' ), ); // Define section icons (using Dashicons).. @@ -6054,112 +5384,6 @@ 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 ) : ?> - - -

- -

- - - -

- - - -
-

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

- - - - -
- -
- -

- -

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

- - - -

-

- -

-
- - - -

-
- - - -
- -