Plugin Directory

Changeset 3808429


Ignore:
Timestamp:
11/18/2026 02:01:14 AM (29 hours ago)
Author:
flexatech
Message:

Release 1.1.0: site verification codes, noindex override warning

Location:
flexa-seo-aeo
Files:
2 added
2 deleted
24 edited
1 copied

Legend:

Unmodified
Added
Removed
  • flexa-seo-aeo/tags/1.1.0/apps/admin/src/features/settings/SettingsPage.tsx

    r3749993 r3808429  
    2121    Search,
    2222    Share2,
     23    ShieldCheck,
    2324    ShoppingBag,
    2425    Tag,
    … …  
    7273    "robots_txt",
    7374    "whitelabel_name",
     75    "verify_google",
     76    "verify_bing",
     77    "verify_yandex",
     78    "verify_pinterest",
    7479] as const;
    7580
    7681const ARRAY_KEYS = ["sitemap_post_types", "sitemap_taxonomies"] as const;
     82
     83const VERIFICATION_FIELDS: {
     84    key: "verify_google" | "verify_bing" | "verify_yandex" | "verify_pinterest";
     85    title: string;
     86}[] = [
     87    { key: "verify_google", title: __("Google Search Console") },
     88    { key: "verify_bing", title: __("Bing Webmaster Tools") },
     89    { key: "verify_yandex", title: __("Yandex Webmaster") },
     90    { key: "verify_pinterest", title: __("Pinterest") },
     91];
    7792
    7893const SEPARATORS = ["-", "–", "—", "·", "•", "|", "/", "»", ">"];
    … …  
    684699                                    </StackedField>
    685700                                </div>
     701                                <div className={cn(ROW_DIVIDER, "fsa:space-y-5 fsa:p-5")}>
     702                                    <p className="fsa:text-xs fsa:text-slate-500">
     703                                        {__(
     704                                            "Site verification codes. Paste the code or the whole meta tag from each console; only the code is kept. The tags are printed on the front page. Leave a field empty to skip it.",
     705                                        )}
     706                                    </p>
     707                                    {VERIFICATION_FIELDS.map(({ key, title }) => (
     708                                        <StackedField
     709                                            key={key}
     710                                            id={`flexa-seo-aeo-${key}`}
     711                                            icon={ShieldCheck}
     712                                            title={title}
     713                                        >
     714                                            <Input
     715                                                id={`flexa-seo-aeo-${key}`}
     716                                                value={form[key]}
     717                                                onChange={(e) => setString(key, e.target.value)}
     718                                                spellCheck={false}
     719                                                autoComplete="off"
     720                                                className="fsa:font-mono"
     721                                            />
     722                                        </StackedField>
     723                                    ))}
     724                                </div>
    686725                            </div>
    687726                        )}
  • flexa-seo-aeo/tags/1.1.0/apps/admin/src/features/settings/sections.ts

    r3756036 r3808429  
    7373        id: "indexing",
    7474        title: __("Indexing"),
    75         subtitle: __("IndexNow & robots.txt"),
     75        subtitle: __("IndexNow, robots.txt, verification"),
    7676        icon: Rss,
    7777        paneTitle: __("Indexing"),
    78         paneSubtitle: __("Push instant index signals and tune the virtual robots.txt."),
     78        paneSubtitle: __(
     79            "Push instant index signals, tune the virtual robots.txt, and verify the site with search consoles.",
     80        ),
    7981    },
    8082    {
  • flexa-seo-aeo/tags/1.1.0/apps/admin/src/features/settings/useSettings.ts

    r3749993 r3808429  
    5353    sitemap_post_types: string[];
    5454    sitemap_taxonomies: string[];
     55    /** Webmaster ownership codes, printed on the front page only. */
     56    verify_google: string;
     57    verify_bing: string;
     58    verify_yandex: string;
     59    verify_pinterest: string;
    5560    aeo: AeoSettings;
    5661}
  • flexa-seo-aeo/tags/1.1.0/assets/dist/.vite/manifest.json

    r3756036 r3808429  
    11{
    22  "src/main.tsx": {
    3     "file": "assets/main-CsZuqLt0.js",
     3    "file": "assets/main-_UC8bhmt.js",
    44    "name": "main",
    55    "src": "src/main.tsx",
  • flexa-seo-aeo/tags/1.1.0/flexa-seo-aeo.php

    r3756036 r3808429  
    33 * Plugin Name:       Flexa SEO - AEO | AI SEO & Answer Engine Optimization
    44 * Description:       Complete WordPress SEO (schema, sitemaps, meta, Open Graph), plus a per-post Answer-Engine Readiness score and a site health dashboard for AI search.
    5  * Version:           1.0.0
     5 * Version:           1.1.0
    66 * Requires at least: 6.5
    77 * Requires PHP:      8.2
    … …  
    3131}
    3232
    33 define( 'FLEXA_SEO_AEO_VERSION', '1.0.0' );
     33define( 'FLEXA_SEO_AEO_VERSION', '1.1.0' );
    3434define( 'FLEXA_SEO_AEO_FILE', __FILE__ );
    3535define( 'FLEXA_SEO_AEO_PATH', plugin_dir_path( __FILE__ ) );
  • flexa-seo-aeo/tags/1.1.0/i18n/languages/flexa-seo-aeo.pot

    r3756036 r3808429  
    44msgstr ""
    55"Project-Id-Version: Flexa SEO - AEO | AI SEO & Answer Engine Optimization "
    6 "1.0.0\n"
     6"1.1.0\n"
    77"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/flexa-seo-aeo\n"
    88"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
    … …  
    1111"Content-Type: text/plain; charset=UTF-8\n"
    1212"Content-Transfer-Encoding: 8bit\n"
    13 "POT-Creation-Date: 2026-10-20T07:11:20+00:00\n"
     13"POT-Creation-Date: 2026-11-18T01:59:48+00:00\n"
    1414"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1515"X-Generator: WP-CLI 2.10.0\n"
    … …  
    156156msgstr ""
    157157
    158 #: src/Admin/ConflictNotice.php:53
     158#: src/Admin/ConflictNotice.php:63
    159159msgid "This plugin"
    160160msgstr ""
    161161
    162 #: src/Admin/ConflictNotice.php:63
     162#: src/Admin/ConflictNotice.php:73
    163163msgid "See which tags each pairing actually duplicates"
    164164msgstr ""
    165165
    166166#. translators: %s: comma-separated list of SEO plugin names.
    167 #: src/Admin/ConflictNotice.php:73
     167#: src/Admin/ConflictNotice.php:85
    168168msgid "is running alongside %s."
    169169msgstr ""
    170170
    171 #: src/Admin/ConflictNotice.php:77
     171#: src/Admin/ConflictNotice.php:89
    172172msgid ""
    173173"Two SEO plugins on one site means two canonical tags, two sets of Open Graph "
    … …  
    176176msgstr ""
    177177
    178 #: src/Admin/ConflictNotice.php:82
     178#: src/Admin/ConflictNotice.php:96
    179179msgid "I know, hide this"
    180180msgstr ""
    181181
    182 #: src/Admin/ConflictNotice.php:88
     182#: src/Admin/ConflictNotice.php:109
     183msgid "this plugin"
     184msgstr ""
     185
     186#. translators: 1: an SEO plugin's name, 2: this plugin's name.
     187#: src/Admin/ConflictNotice.php:118
     188msgid ""
     189"While %1$s is active, noindex and nofollow set in %2$s are not applied: it "
     190"removes WordPress's robots output and prints its own robots tag. A post you "
     191"set to noindex here can still be indexed. Set them in %1$s until you switch "
     192"that plugin off."
     193msgstr ""
     194
     195#. translators: %s: comma-separated list of SEO plugin names.
     196#: src/Admin/ConflictNotice.php:130
     197msgid ""
     198"%s prints a second robots tag, so a post set to noindex here carries one tag "
     199"saying noindex and another saying index."
     200msgstr ""
     201
     202#: src/Admin/ConflictNotice.php:141
    183203msgid "You are not allowed to do that."
    184204msgstr ""
    … …  
    915935msgstr ""
    916936
    917 #: apps/admin/src/features/settings/SettingsPage.tsx:752
     937#: apps/admin/src/features/settings/SettingsPage.tsx:791
    918938msgid ""
    919939"A short description answer engines can quote. Shown at the top of llms.txt."
    … …  
    926946msgstr ""
    927947
    928 #: apps/admin/src/features/settings/sections.ts:90
    929 #: apps/admin/src/features/settings/sections.ts:93
     948#: apps/admin/src/features/settings/sections.ts:92
     949#: apps/admin/src/features/settings/sections.ts:95
    930950msgid "AEO Core"
    931951msgstr ""
    … …  
    943963msgstr ""
    944964
    945 #: apps/admin/src/features/settings/SettingsPage.tsx:360
     965#: apps/admin/src/features/settings/SettingsPage.tsx:375
    946966msgid "AEO schema"
    947967msgstr ""
    … …  
    967987msgstr ""
    968988
    969 #: apps/admin/src/features/settings/SettingsPage.tsx:258
     989#: apps/admin/src/features/settings/SettingsPage.tsx:273
    970990msgid "Add <image:image> entries to the XML sitemap."
    971991msgstr ""
    972992
    973 #: apps/admin/src/features/settings/SettingsPage.tsx:308
     993#: apps/admin/src/features/settings/SettingsPage.tsx:323
    974994msgid ""
    975995"Add rel=\"nofollow\" to external links in your content. Applied when the "
    … …  
    977997msgstr ""
    978998
    979 #: apps/admin/src/features/settings/SettingsPage.tsx:317
     999#: apps/admin/src/features/settings/SettingsPage.tsx:332
    9801000msgid ""
    9811001"Add rel=\"nofollow\" to links pointing to external image files. Applied when "
    … …  
    9831003msgstr ""
    9841004
    985 #: apps/admin/src/features/settings/SettingsPage.tsx:326
     1005#: apps/admin/src/features/settings/SettingsPage.tsx:341
    9861006msgid ""
    9871007"Add target=\"_blank\" to external links so they open in a new tab. Applied "
    … …  
    9891009msgstr ""
    9901010
    991 #: apps/admin/src/features/settings/SettingsPage.tsx:345
     1011#: apps/admin/src/features/settings/SettingsPage.tsx:360
    9921012msgid "Advertise a Markdown variant of each page to AI crawlers."
    9931013msgstr ""
    9941014
    995 #: apps/admin/src/features/settings/SettingsPage.tsx:344
     1015#: apps/admin/src/features/settings/SettingsPage.tsx:359
    9961016msgid "Agent Readiness"
    9971017msgstr ""
    … …  
    10091029msgstr ""
    10101030
    1011 #: apps/admin/src/features/settings/sections.ts:91
     1031#: apps/admin/src/features/settings/sections.ts:93
    10121032msgid "Answer-engine optimization"
    10131033msgstr ""
    10141034
    1015 #: apps/admin/src/features/settings/SettingsPage.tsx:670
     1035#: apps/admin/src/features/settings/SettingsPage.tsx:685
    10161036msgid ""
    10171037"Appended to the virtual robots.txt. The sitemap line is added automatically."
    … …  
    10341054msgstr ""
    10351055
    1036 #: apps/admin/src/features/settings/SettingsPage.tsx:224
     1056#: apps/admin/src/features/settings/SettingsPage.tsx:239
    10371057msgid "Auto-fill missing image alt attributes."
    10381058msgstr ""
    … …  
    10421062msgstr ""
    10431063
    1044 #: apps/admin/src/features/settings/sections.ts:118
     1064#: apps/admin/src/features/settings/sections.ts:120
    10451065msgid "Back up your configuration or move it between sites."
    10461066msgstr ""
    … …  
    10531073msgstr ""
    10541074
     1075#: apps/admin/src/features/settings/SettingsPage.tsx:88
     1076msgid "Bing Webmaster Tools"
     1077msgstr ""
     1078
    10551079#: apps/admin/src/features/onboarding/WelcomeStep.tsx:28
    10561080msgid "Blog"
    10571081msgstr ""
    10581082
    1059 #: apps/admin/src/features/settings/SettingsPage.tsx:792
     1083#: apps/admin/src/features/settings/SettingsPage.tsx:831
    10601084msgid "Brand name"
    10611085msgstr ""
    10621086
    1063 #: apps/admin/src/features/settings/sections.ts:101
    1064 #: apps/admin/src/features/settings/sections.ts:98
     1087#: apps/admin/src/features/settings/sections.ts:100
     1088#: apps/admin/src/features/settings/sections.ts:103
    10651089msgid "Branding"
    10661090msgstr ""
    … …  
    10701094msgstr ""
    10711095
    1072 #: apps/admin/src/features/settings/sections.ts:110
     1096#: apps/admin/src/features/settings/sections.ts:112
    10731097msgid ""
    10741098"Bring your existing SEO meta over from Yoast SEO, Rank Math or SEOPress."
    … …  
    10811105msgstr ""
    10821106
    1083 #: apps/admin/src/features/settings/sections.ts:86
     1107#: apps/admin/src/features/settings/sections.ts:88
    10841108msgid "Clean up URLs and control how links behave on the front end."
    10851109msgstr ""
    … …  
    10971121msgstr ""
    10981122
    1099 #: apps/admin/src/features/settings/SettingsPage.tsx:396
     1123#: apps/admin/src/features/settings/SettingsPage.tsx:411
    11001124msgid ""
    11011125"Configure how Flexa SEO optimizes your site for search and answer engines."
    … …  
    11331157msgstr ""
    11341158
    1135 #: apps/admin/src/features/settings/SettingsPage.tsx:669
     1159#: apps/admin/src/features/settings/SettingsPage.tsx:684
    11361160msgid "Custom robots.txt rules"
    11371161msgstr ""
    11381162
    1139 #: apps/admin/src/features/settings/sections.ts:122
    1140 #: apps/admin/src/features/settings/sections.ts:125
     1163#: apps/admin/src/features/settings/sections.ts:124
     1164#: apps/admin/src/features/settings/sections.ts:127
    11411165msgid "Danger Zone"
    11421166msgstr ""
    … …  
    11561180msgstr ""
    11571181
    1158 #: apps/admin/src/features/settings/SettingsPage.tsx:543
     1182#: apps/admin/src/features/settings/SettingsPage.tsx:558
    11591183msgid "Default share image"
    11601184msgstr ""
    11611185
    1162 #: apps/admin/src/features/settings/sections.ts:123
     1186#: apps/admin/src/features/settings/sections.ts:125
    11631187msgid "Destructive actions"
    11641188msgstr ""
    … …  
    12011225msgstr ""
    12021226
    1203 #: apps/admin/src/features/settings/SettingsPage.tsx:361
     1227#: apps/admin/src/features/settings/SettingsPage.tsx:376
    12041228msgid "Emit Article / FAQPage / WebSite JSON-LD tuned for answer engines."
    12051229msgstr ""
    12061230
    1207 #: apps/admin/src/features/settings/SettingsPage.tsx:374
     1231#: apps/admin/src/features/settings/SettingsPage.tsx:389
    12081232msgid ""
    12091233"Emit Product / Offer JSON-LD (price, availability, rating) + OG product tags "
    … …  
    12151239msgstr ""
    12161240
    1217 #: apps/admin/src/features/settings/SettingsPage.tsx:217
     1241#: apps/admin/src/features/settings/SettingsPage.tsx:232
    12181242msgid "Enable breadcrumb trail + BreadcrumbList schema."
    12191243msgstr ""
    12201244
    1221 #: apps/admin/src/features/settings/SettingsPage.tsx:265
     1245#: apps/admin/src/features/settings/SettingsPage.tsx:280
    12221246msgid "Enable the [flexa_seo_aeo_sitemap] shortcode."
    12231247msgstr ""
    … …  
    12551279msgstr ""
    12561280
    1257 #: apps/admin/src/features/settings/SettingsPage.tsx:234
     1281#: apps/admin/src/features/settings/SettingsPage.tsx:249
    12581282msgid "Facebook / LinkedIn / chat-app preview tags."
    12591283msgstr ""
    12601284
    1261 #: apps/admin/src/features/settings/SettingsPage.tsx:156
     1285#: apps/admin/src/features/settings/SettingsPage.tsx:171
    12621286msgid "Failed to load settings:"
    12631287msgstr ""
    … …  
    12991323msgstr ""
    13001324
    1301 #: apps/admin/src/features/settings/SettingsPage.tsx:264
     1325#: apps/admin/src/features/settings/SettingsPage.tsx:87
     1326msgid "Google Search Console"
     1327msgstr ""
     1328
     1329#: apps/admin/src/features/settings/SettingsPage.tsx:279
    13021330msgid "HTML sitemap"
    13031331msgstr ""
    13041332
    1305 #: apps/admin/src/features/settings/SettingsPage.tsx:495
     1333#: apps/admin/src/features/settings/SettingsPage.tsx:510
    13061334msgid "Homepage description"
    13071335msgstr ""
    13081336
    1309 #: apps/admin/src/features/settings/SettingsPage.tsx:478
     1337#: apps/admin/src/features/settings/SettingsPage.tsx:493
    13101338msgid "Homepage title"
    13111339msgstr ""
    … …  
    13271355msgstr ""
    13281356
     1357#: apps/admin/src/features/settings/sections.ts:119
     1358msgid "Import & Export"
     1359msgstr ""
     1360
    13291361#: apps/admin/src/features/settings/sections.ts:117
    1330 msgid "Import & Export"
    1331 msgstr ""
    1332 
    1333 #: apps/admin/src/features/settings/sections.ts:115
    13341362msgid "Import & export settings"
    13351363msgstr ""
    13361364
    1337 #: apps/admin/src/features/settings/sections.ts:107
     1365#: apps/admin/src/features/settings/sections.ts:109
    13381366msgid "Import from Yoast, Rank Math & SEOPress"
    13391367msgstr ""
    … …  
    13471375msgstr ""
    13481376
    1349 #: apps/admin/src/features/settings/SettingsPage.tsx:257
     1377#: apps/admin/src/features/settings/SettingsPage.tsx:272
    13501378msgid "Include images"
    13511379msgstr ""
    13521380
    1353 #: apps/admin/src/features/settings/SettingsPage.tsx:628
     1381#: apps/admin/src/features/settings/SettingsPage.tsx:643
    13541382msgid "Included post types"
    13551383msgstr ""
    13561384
    1357 #: apps/admin/src/features/settings/SettingsPage.tsx:644
     1385#: apps/admin/src/features/settings/SettingsPage.tsx:659
    13581386msgid "Included taxonomies"
    13591387msgstr ""
    13601388
    13611389#: apps/admin/src/features/settings/sections.ts:75
    1362 msgid "IndexNow & robots.txt"
     1390msgid "IndexNow, robots.txt, verification"
    13631391msgstr ""
    13641392
    … …  
    14001428msgstr ""
    14011429
    1402 #: apps/admin/src/features/settings/SettingsPage.tsx:479
     1430#: apps/admin/src/features/settings/SettingsPage.tsx:494
    14031431msgid "Leave blank to use %%sitename%% %%sep%% %%tagline%%."
    14041432msgstr ""
    … …  
    14081436msgstr ""
    14091437
    1410 #: apps/admin/src/features/settings/sections.ts:82
    1411 #: apps/admin/src/features/settings/sections.ts:85
     1438#: apps/admin/src/features/settings/sections.ts:84
     1439#: apps/admin/src/features/settings/sections.ts:87
    14121440msgid "Links"
    14131441msgstr ""
    … …  
    14171445msgstr ""
    14181446
    1419 #: apps/admin/src/features/settings/SettingsPage.tsx:149
     1447#: apps/admin/src/features/settings/SettingsPage.tsx:164
    14201448msgid "Loading settings…"
    14211449msgstr ""
    … …  
    14251453msgstr ""
    14261454
    1427 #: apps/admin/src/features/settings/SettingsPage.tsx:603
     1455#: apps/admin/src/features/settings/SettingsPage.tsx:618
    14281456msgid "Logo"
    14291457msgstr ""
    14301458
    1431 #: apps/admin/src/features/settings/sections.ts:94
     1459#: apps/admin/src/features/settings/sections.ts:96
    14321460msgid "Make your content first-class for AI answer engines."
    14331461msgstr ""
    … …  
    14401468#: apps/admin/src/features/onboarding/useOnboarding.ts:159
    14411469#: apps/admin/src/features/settings/MigrationPane.tsx:142
    1442 #: apps/admin/src/features/settings/sections.ts:106
     1470#: apps/admin/src/features/settings/sections.ts:108
    14431471msgid "Migrate"
    14441472msgstr ""
    14451473
    1446 #: apps/admin/src/features/settings/sections.ts:109
     1474#: apps/admin/src/features/settings/sections.ts:111
    14471475msgid "Migrate from another plugin"
    14481476msgstr ""
    … …  
    14531481msgstr ""
    14541482
    1455 #: apps/admin/src/features/settings/SettingsPage.tsx:587
     1483#: apps/admin/src/features/settings/SettingsPage.tsx:602
    14561484msgid "Name"
    14571485msgstr ""
    … …  
    14731501msgstr ""
    14741502
    1475 #: apps/admin/src/features/settings/SettingsPage.tsx:307
     1503#: apps/admin/src/features/settings/SettingsPage.tsx:322
    14761504msgid "Nofollow External Links"
    14771505msgstr ""
    14781506
    1479 #: apps/admin/src/features/settings/SettingsPage.tsx:316
     1507#: apps/admin/src/features/settings/SettingsPage.tsx:331
    14801508msgid "Nofollow Image File Links"
    14811509msgstr ""
    14821510
    1483 #: apps/admin/src/features/settings/SettingsPage.tsx:1045
     1511#: apps/admin/src/features/settings/SettingsPage.tsx:1084
    14841512msgid "Nothing available."
    14851513msgstr ""
    … …  
    14931521msgstr ""
    14941522
    1495 #: apps/admin/src/features/settings/SettingsPage.tsx:325
     1523#: apps/admin/src/features/settings/SettingsPage.tsx:340
    14961524msgid "Open External Links in New Tab/Window"
    14971525msgstr ""
    … …  
    15061534msgstr ""
    15071535
    1508 #: apps/admin/src/features/settings/SettingsPage.tsx:417
     1536#: apps/admin/src/features/settings/SettingsPage.tsx:432
    15091537msgid "Open command palette"
    15101538msgstr ""
    … …  
    15221550msgstr ""
    15231551
    1524 #: apps/admin/src/features/settings/SettingsPage.tsx:88
     1552#: apps/admin/src/features/settings/SettingsPage.tsx:103
    15251553#: apps/admin/src/features/settings/sections.ts:58
    15261554#: apps/admin/src/features/settings/sections.ts:61
    … …  
    15281556msgstr ""
    15291557
    1530 #: apps/admin/src/features/settings/SettingsPage.tsx:588
     1558#: apps/admin/src/features/settings/SettingsPage.tsx:603
    15311559msgid ""
    15321560"Organization or person name for the publisher schema. Defaults to the site "
    … …  
    15341562msgstr ""
    15351563
    1536 #: apps/admin/src/features/settings/SettingsPage.tsx:210
     1564#: apps/admin/src/features/settings/SettingsPage.tsx:225
    15371565msgid "Output the <title> and meta description tags."
    15381566msgstr ""
    … …  
    15421570msgstr ""
    15431571
    1544 #: apps/admin/src/features/settings/SettingsPage.tsx:733
     1572#: apps/admin/src/features/settings/SettingsPage.tsx:772
    15451573msgid "Overrides the site title in llms.txt. Defaults to the site title."
    15461574msgstr ""
    … …  
    15701598msgstr ""
    15711599
    1572 #: apps/admin/src/features/settings/SettingsPage.tsx:89
     1600#: apps/admin/src/features/settings/SettingsPage.tsx:104
    15731601msgid "Person"
    15741602msgstr ""
    … …  
    15781606msgstr ""
    15791607
    1580 #: apps/admin/src/features/settings/SettingsPage.tsx:275
     1608#: apps/admin/src/features/settings/SettingsPage.tsx:290
    15811609msgid ""
    15821610"Ping IndexNow when content is published or updated for near-instant indexing."
    15831611msgstr ""
    15841612
    1585 #: apps/admin/src/features/settings/SettingsPage.tsx:353
     1613#: apps/admin/src/features/settings/SettingsPage.tsx:90
     1614msgid "Pinterest"
     1615msgstr ""
     1616
     1617#: apps/admin/src/features/settings/SettingsPage.tsx:368
    15861618msgid "Plain-text export"
    15871619msgstr ""
    … …  
    15971629
    15981630#: apps/admin/src/features/settings/sections.ts:78
    1599 msgid "Push instant index signals and tune the virtual robots.txt."
     1631msgid ""
     1632"Push instant index signals, tune the virtual robots.txt, and verify the site "
     1633"with search consoles."
    16001634msgstr ""
    16011635
    … …  
    16181652msgstr ""
    16191653
    1620 #: apps/admin/src/features/settings/SettingsPage.tsx:295
     1654#: apps/admin/src/features/settings/SettingsPage.tsx:310
    16211655msgid "Redirect Attachments"
    16221656msgstr ""
    16231657
    1624 #: apps/admin/src/features/settings/SettingsPage.tsx:696
     1658#: apps/admin/src/features/settings/SettingsPage.tsx:735
    16251659msgid "Redirect Orphan Attachments"
    16261660msgstr ""
    16271661
    1628 #: apps/admin/src/features/settings/SettingsPage.tsx:296
     1662#: apps/admin/src/features/settings/SettingsPage.tsx:311
    16291663msgid "Redirect attachment page URLs to the post they appear in."
    16301664msgstr ""
    16311665
    1632 #: apps/admin/src/features/settings/SettingsPage.tsx:697
     1666#: apps/admin/src/features/settings/SettingsPage.tsx:736
    16331667msgid ""
    16341668"Redirect attachments without a parent post to this URL. Leave empty for no "
    … …  
    16361670msgstr ""
    16371671
    1638 #: apps/admin/src/features/settings/SettingsPage.tsx:287
     1672#: apps/admin/src/features/settings/SettingsPage.tsx:302
    16391673msgid ""
    16401674"Remove /category/ from category archive URLs. e.g. example.com/category/"
    … …  
    16421676msgstr ""
    16431677
    1644 #: apps/admin/src/features/settings/sections.ts:102
     1678#: apps/admin/src/features/settings/sections.ts:104
    16451679msgid "Rename the plugin in wp-admin for a white-label setup."
    16461680msgstr ""
    … …  
    16501684msgstr ""
    16511685
    1652 #: apps/admin/src/features/settings/SettingsPage.tsx:780
     1686#: apps/admin/src/features/settings/SettingsPage.tsx:819
    16531687msgid "Replace the “Flexa SEO” name in the admin menu and this screen."
    16541688msgstr ""
    … …  
    16781712msgstr ""
    16791713
    1680 #: apps/admin/src/features/settings/sections.ts:126
     1714#: apps/admin/src/features/settings/sections.ts:128
    16811715msgid "Reset everything back to a clean slate."
    16821716msgstr ""
    … …  
    17121746msgstr ""
    17131747
    1714 #: apps/admin/src/features/settings/SettingsPage.tsx:241
     1748#: apps/admin/src/features/settings/SettingsPage.tsx:256
    17151749msgid "Rich preview cards on X."
    17161750msgstr ""
    … …  
    17451779msgstr ""
    17461780
    1747 #: apps/admin/src/features/settings/SettingsPage.tsx:433
     1781#: apps/admin/src/features/settings/SettingsPage.tsx:448
    17481782msgid "Save Settings"
    17491783msgstr ""
    17501784
    1751 #: apps/admin/src/features/settings/SettingsPage.tsx:172
     1785#: apps/admin/src/features/settings/SettingsPage.tsx:187
    17521786msgid "Save failed."
    17531787msgstr ""
    17541788
    1755 #: apps/admin/src/features/settings/SettingsPage.tsx:409
     1789#: apps/admin/src/features/settings/SettingsPage.tsx:424
    17561790msgid "Save failed:"
    17571791msgstr ""
    17581792
    1759 #: apps/admin/src/features/settings/SettingsPage.tsx:433
     1793#: apps/admin/src/features/settings/SettingsPage.tsx:448
    17601794msgid "Saving…"
    17611795msgstr ""
    … …  
    17861820msgstr ""
    17871821
    1788 #: apps/admin/src/features/settings/SettingsPage.tsx:421
     1822#: apps/admin/src/features/settings/SettingsPage.tsx:436
    17891823msgid "Search"
    17901824msgstr ""
    … …  
    17991833msgstr ""
    18001834
    1801 #: apps/admin/src/features/settings/SettingsPage.tsx:338
     1835#: apps/admin/src/features/settings/SettingsPage.tsx:353
    18021836msgid "Serve /llms.txt, a curated map of your content for AI."
    18031837msgstr ""
    18041838
    1805 #: apps/admin/src/features/settings/SettingsPage.tsx:251
     1839#: apps/admin/src/features/settings/SettingsPage.tsx:266
    18061840msgid "Serve /sitemap.xml and per-type sub-sitemaps."
    18071841msgstr ""
    18081842
    1809 #: apps/admin/src/features/settings/SettingsPage.tsx:354
     1843#: apps/admin/src/features/settings/SettingsPage.tsx:369
    18101844msgid "Serve ?flexa-aeo=md, clean Markdown of any post."
    18111845msgstr ""
    … …  
    18271861msgstr ""
    18281862
    1829 #: apps/admin/src/features/settings/SettingsPage.tsx:171
    1830 #: apps/admin/src/features/settings/SettingsPage.tsx:404
     1863#: apps/admin/src/features/settings/SettingsPage.tsx:186
     1864#: apps/admin/src/features/settings/SettingsPage.tsx:419
    18311865msgid "Settings saved."
    18321866msgstr ""
    … …  
    18461880msgstr ""
    18471881
    1848 #: apps/admin/src/features/settings/SettingsPage.tsx:793
     1882#: apps/admin/src/features/settings/SettingsPage.tsx:832
    18491883msgid "Shown when white-label is on. Takes effect after the next page load."
    18501884msgstr ""
    18511885
    1852 #: apps/admin/src/features/settings/SettingsPage.tsx:732
     1886#: apps/admin/src/features/settings/SettingsPage.tsx:771
    18531887msgid "Site name for AI"
    18541888msgstr ""
    18551889
    1856 #: apps/admin/src/features/settings/SettingsPage.tsx:751
     1890#: apps/admin/src/features/settings/SettingsPage.tsx:790
    18571891msgid "Site summary for AI"
     1892msgstr ""
     1893
     1894#: apps/admin/src/features/settings/SettingsPage.tsx:703
     1895msgid ""
     1896"Site verification codes. Paste the code or the whole meta tag from each "
     1897"console; only the code is kept. The tags are printed on the front page. "
     1898"Leave a field empty to skip it."
    18581899msgstr ""
    18591900
    … …  
    18841925msgstr ""
    18851926
    1886 #: apps/admin/src/features/settings/SettingsPage.tsx:604
     1927#: apps/admin/src/features/settings/SettingsPage.tsx:619
    18871928msgid ""
    18881929"Square brand logo for the publisher schema (full URL). Falls back to the "
    … …  
    19021943msgstr ""
    19031944
    1904 #: apps/admin/src/features/settings/SettingsPage.tsx:286
     1945#: apps/admin/src/features/settings/SettingsPage.tsx:301
    19051946msgid "Strip Category Base"
    19061947msgstr ""
    19071948
    1908 #: apps/admin/src/features/settings/SettingsPage.tsx:84
     1949#: apps/admin/src/features/settings/SettingsPage.tsx:99
    19091950msgid "Summary"
    19101951msgstr ""
    19111952
    1912 #: apps/admin/src/features/settings/SettingsPage.tsx:83
     1953#: apps/admin/src/features/settings/SettingsPage.tsx:98
    19131954msgid "Summary with large image"
    19141955msgstr ""
    … …  
    19301971msgstr ""
    19311972
    1932 #: apps/admin/src/features/settings/SettingsPage.tsx:496
     1973#: apps/admin/src/features/settings/SettingsPage.tsx:511
    19331974msgid "The meta description for your front page."
    19341975msgstr ""
    … …  
    19381979msgstr ""
    19391980
    1940 #: apps/admin/src/features/settings/SettingsPage.tsx:573
     1981#: apps/admin/src/features/settings/SettingsPage.tsx:588
    19411982msgid "This site represents"
    19421983msgstr ""
    … …  
    19481989msgstr ""
    19491990
    1950 #: apps/admin/src/features/settings/SettingsPage.tsx:464
     1991#: apps/admin/src/features/settings/SettingsPage.tsx:479
    19511992msgid "Title separator"
    19521993msgstr ""
    … …  
    19672008msgstr ""
    19682009
    1969 #: apps/admin/src/features/settings/sections.ts:114
     2010#: apps/admin/src/features/settings/sections.ts:116
    19702011msgid "Tools"
    19712012msgstr ""
    … …  
    19792020msgstr ""
    19802021
    1981 #: apps/admin/src/features/settings/sections.ts:83
     2022#: apps/admin/src/features/settings/sections.ts:85
    19822023msgid "URLs & link attributes"
    19832024msgstr ""
    … …  
    19882029msgstr ""
    19892030
    1990 #: apps/admin/src/features/settings/SettingsPage.tsx:544
     2031#: apps/admin/src/features/settings/SettingsPage.tsx:559
    19912032msgid "Used when a page has no featured image (full URL)."
    19922033msgstr ""
    … …  
    20372078msgstr ""
    20382079
    2039 #: apps/admin/src/features/settings/SettingsPage.tsx:629
     2080#: apps/admin/src/features/settings/SettingsPage.tsx:644
    20402081msgid "Which content types appear in the sitemap and llms.txt."
    20412082msgstr ""
    20422083
    2043 #: apps/admin/src/features/settings/SettingsPage.tsx:645
     2084#: apps/admin/src/features/settings/SettingsPage.tsx:660
    20442085msgid "Which term archives appear in the sitemap."
    20452086msgstr ""
    20462087
    2047 #: apps/admin/src/features/settings/SettingsPage.tsx:779
     2088#: apps/admin/src/features/settings/SettingsPage.tsx:818
    20482089msgid "White-label"
    20492090msgstr ""
    20502091
    2051 #: apps/admin/src/features/settings/sections.ts:99
     2092#: apps/admin/src/features/settings/sections.ts:101
    20522093msgid "White-label the plugin"
    20532094msgstr ""
    … …  
    20652106msgstr ""
    20662107
    2067 #: apps/admin/src/features/settings/SettingsPage.tsx:526
     2108#: apps/admin/src/features/settings/SettingsPage.tsx:541
    20682109msgid "X Card type"
    20692110msgstr ""
    … …  
    20732114msgstr ""
    20742115
     2116#: apps/admin/src/features/settings/SettingsPage.tsx:89
     2117msgid "Yandex Webmaster"
     2118msgstr ""
     2119
    20752120#: apps/admin/src/features/onboarding/MigrationStep.tsx:204
    20762121msgid ""
    … …  
    20922137msgstr ""
    20932138
    2094 #: apps/admin/src/features/settings/SettingsPage.tsx:806
     2139#: apps/admin/src/features/settings/SettingsPage.tsx:845
    20952140msgid "e.g. Acme SEO"
    20962141msgstr ""
  • flexa-seo-aeo/tags/1.1.0/package.json

    r3749993 r3808429  
    22    "name": "flexa-seo-aeo",
    33    "private": true,
    4     "version": "1.0.0",
     4    "version": "1.1.0",
    55    "type": "module",
    66    "packageManager": "pnpm@9.12.0",
  • flexa-seo-aeo/tags/1.1.0/readme.txt

    r3756036 r3808429  
    55Tested up to: 7.1
    66Requires PHP: 8.2
    7 Stable tag: 1.0.0
     7Stable tag: 1.1.0
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    3939* Per-post editing in a classic metabox **and** a Gutenberg editor sidebar, with one-click **migration from Yoast, Rank Math and SEOPress**, and a read-fallback for all three so nothing breaks mid-move.
    4040* `robots.txt` management and optional **IndexNow** ping on publish/update (see *External services* below).
     41* Site verification tags for Google Search Console, Bing, Yandex and Pinterest. Paste the code; nothing is sent anywhere.
    4142* **Links** controls: strip the category base from archive URLs, redirect attachment pages to their parent (with an orphan fallback), and add `nofollow` / `target="_blank"` to external links at display time.
    4243
    … …  
    153154
    154155== Changelog ==
     156
     157= 1.1.0 =
     158* New: site verification for Google Search Console, Bing Webmaster Tools, Yandex Webmaster and Pinterest, under Settings > Indexing. Paste either the code or the whole `<meta>` tag a console gives you; only the code is stored. The tags are printed on the front page, which is where each console looks for them, and an empty field prints nothing.
     159* New: the warning about another active SEO plugin now says when that plugin will override a noindex. Rank Math and All in One SEO remove the `wp_robots` filter and print their own robots tag, so a post marked noindex here can still be indexed while they are active; SEOPress prints a second robots tag that disagrees with this one. If you dismissed the warning before, it comes back once so you can read the new part.
    155160
    156161= 1.0.0 =
    … …  
    246251== Upgrade Notice ==
    247252
     253= 1.1.0 =
     254Adds site verification codes for Google, Bing, Yandex and Pinterest, and warns when another SEO plugin would override a noindex set here.
     255
    248256= 1.0.0 =
    249257Adds one-click migration from SEOPress, lists images from post content in the image sitemap, and restores structured data on the posts page. Leaving SEOPress? Run the migration before you deactivate it.
  • flexa-seo-aeo/tags/1.1.0/src/Actions/Front/Metas.php

    r3749993 r3808429  
    137137                }
    138138
     139                // Ownership codes are read from the home page only, and they have no
     140                // module toggle: an empty field is the off switch.
     141                if ( is_front_page() ) {
     142                        foreach ( Settings::VERIFICATION_TAGS as $key => $name ) {
     143                                $code = (string) Settings::get( $key );
     144                                if ( '' !== $code ) {
     145                                        $this->meta_tag( 'name', $name, $code );
     146                                }
     147                        }
     148                }
     149
    139150                echo "<!-- /Flexa SEO -->\n";
    140151        }
  • flexa-seo-aeo/tags/1.1.0/src/Admin/ConflictNotice.php

    r3751315 r3808429  
    2121 *
    2222 * The dismissal records which plugins were active at the time, so hiding the
    23  * notice for Yoast does not also hide it when Rank Math turns up later.
     23 * notice for Yoast does not also hide it when Rank Math turns up later. It also
     24 * records which revision of the notice was hidden, so a warning added later is
     25 * seen by people who dismissed the earlier text.
    2426 */
    2527final class ConflictNotice {
    … …  
    3032
    3133        private const ACTION = 'flexa_seo_aeo_dismiss_conflict';
     34
     35        /**
     36         * Bump when the notice gains something a past dismissal should not hide.
     37         * Not the plugin version: that would bring the notice back on every update.
     38         *
     39         * 2: the noindex warning for Rank Math, All in One SEO and SEOPress.
     40         */
     41        private const REVISION = 2;
    3242
    3343        public function register(): void {
    … …  
    4656                }
    4757
    48                 if ( SeoConflicts::signature() === (string) get_option( self::OPTION_KEY, '' ) ) {
     58                if ( $this->dismissal_key() === (string) get_option( self::OPTION_KEY, '' ) ) {
    4959                        return;
    5060                }
    … …  
    6575                        : '';
    6676
     77                $robots = $this->robots_warning();
     78
    6779                printf(
    68                         '<div class="notice notice-warning"><p><strong>%s</strong> %s</p><p>%s</p>%s<p><a href="%s" class="button button-secondary">%s</a></p></div>',
     80                        '<div class="notice notice-warning"><p><strong>%s</strong> %s</p><p>%s</p>%s%s<p><a href="%s" class="button button-secondary">%s</a></p></div>',
    6981                        esc_html( $brand ),
    7082                        esc_html(
    … …  
    7688                        ),
    7789                        esc_html__( 'Two SEO plugins on one site means two canonical tags, two sets of Open Graph tags and often two JSON-LD graphs, and search engines pick between them. Run one and deactivate the other.', 'flexa-seo-aeo' ),
     90                        // Built from esc_html() in robots_warning().
     91                        $robots, // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    7892                        // Assembled just above from esc_url() and esc_html__(); escaping the
    7993                        // whole string again would print the markup instead of rendering it.
    … …  
    8296                        esc_html__( 'I know, hide this', 'flexa-seo-aeo' )
    8397                );
     98        }
     99
     100        /**
     101         * The one consequence of a pairing that is worse than a duplicate tag: a
     102         * post set to noindex here can still be indexed. Said per plugin, because
     103         * the advice differs: where the other plugin owns the tag, the setting has
     104         * to be made there until it is switched off.
     105         */
     106        private function robots_warning(): string {
     107                // Mid-sentence, so lower case under white-label.
     108                $brand = (bool) Settings::get( 'whitelabel' )
     109                        ? __( 'this plugin', 'flexa-seo-aeo' )
     110                        : 'Flexa SEO';
     111
     112                $html = '';
     113
     114                foreach ( SeoConflicts::robots_replaced() as $name ) {
     115                        $html .= '<p>' . esc_html(
     116                                sprintf(
     117                                        /* translators: 1: an SEO plugin's name, 2: this plugin's name. */
     118                                        __( 'While %1$s is active, noindex and nofollow set in %2$s are not applied: it removes WordPress\'s robots output and prints its own robots tag. A post you set to noindex here can still be indexed. Set them in %1$s until you switch that plugin off.', 'flexa-seo-aeo' ),
     119                                        $name,
     120                                        $brand
     121                                )
     122                        ) . '</p>';
     123                }
     124
     125                $duplicated = SeoConflicts::robots_duplicated();
     126                if ( [] !== $duplicated ) {
     127                        $html .= '<p>' . esc_html(
     128                                sprintf(
     129                                        /* translators: %s: comma-separated list of SEO plugin names. */
     130                                        __( '%s prints a second robots tag, so a post set to noindex here carries one tag saying noindex and another saying index.', 'flexa-seo-aeo' ),
     131                                        implode( ', ', $duplicated )
     132                                )
     133                        ) . '</p>';
     134                }
     135
     136                return $html;
    84137        }
    85138
    … …  
    91144                check_admin_referer( self::ACTION );
    92145
    93                 update_option( self::OPTION_KEY, SeoConflicts::signature(), false );
     146                update_option( self::OPTION_KEY, $this->dismissal_key(), false );
    94147
    95148                $referer = wp_get_referer();
    … …  
    98151        }
    99152
     153        /**
     154         * What a dismissal is stored as: the active plugins plus the notice
     155         * revision, e.g. `rankmath,yoast@2`. Values saved before revisions existed
     156         * carry no suffix, so they no longer match and the notice shows once more.
     157         */
     158        private function dismissal_key(): string {
     159                return SeoConflicts::signature() . '@' . self::REVISION;
     160        }
     161
    100162        private function dismiss_url(): string {
    101163                return wp_nonce_url( admin_url( 'admin-post.php?action=' . self::ACTION ), self::ACTION );
  • flexa-seo-aeo/tags/1.1.0/src/Support/SeoConflicts.php

    r3756036 r3808429  
    4646
    4747        /**
     48         * Plugins that take the robots tag away from this one. Rank Math and All in
     49         * One SEO both call `remove_all_filters( 'wp_robots' )` and print a tag of
     50         * their own, so a noindex or nofollow set here never reaches the page.
     51         * Measured on a post set to noindex: Rank Math 1.0.270 printed `index`, All
     52         * in One SEO 5.0.3 printed neither.
     53         *
     54         * @var list<string>
     55         */
     56        private const ROBOTS_REPLACED = [ 'rankmath', 'aioseo' ];
     57
     58        /**
     59         * Plugins that print a robots tag of their own next to core's. The page
     60         * carries both, and on a post set to noindex here they disagree.
     61         *
     62         * @var list<string>
     63         */
     64        private const ROBOTS_DUPLICATED = [ 'seopress' ];
     65
     66        /**
    4867         * Every known SEO plugin currently active, as id => label.
    4968         *
    … …  
    7493
    7594        /**
     95         * Active plugins that stop this plugin's noindex and nofollow reaching the
     96         * page, as id => label.
     97         *
     98         * @return array<string, string>
     99         */
     100        public static function robots_replaced(): array {
     101                return array_intersect_key( self::active(), array_flip( self::ROBOTS_REPLACED ) );
     102        }
     103
     104        /**
     105         * Active plugins that print a second robots tag, as id => label.
     106         *
     107         * @return array<string, string>
     108         */
     109        public static function robots_duplicated(): array {
     110                return array_intersect_key( self::active(), array_flip( self::ROBOTS_DUPLICATED ) );
     111        }
     112
     113        /**
    76114         * A stable fingerprint of what is active right now, so a dismissal applies
    77115         * to the situation the user saw and a newly activated plugin raises the
  • flexa-seo-aeo/tags/1.1.0/src/Support/Settings.php

    r3749993 r3808429  
    7171
    7272        /**
     73         * Webmaster verification settings => the `<meta name>` each one prints.
     74         * Every one is a site-ownership code pasted from the engine's console.
     75         *
     76         * @var array<string, string>
     77         */
     78        public const VERIFICATION_TAGS = [
     79                'verify_google'    => 'google-site-verification',
     80                'verify_bing'      => 'msvalidate.01',
     81                'verify_yandex'    => 'yandex-verification',
     82                'verify_pinterest' => 'p:domain_verify',
     83        ];
     84
     85        /**
    7386         * Defaults for the nested `aeo` group — the plugin's core differentiator.
    7487         * All inert by default; the AEO endpoints self-gate on `enabled`.
    … …  
    115128                $defaults['aeo']                         = self::aeo_defaults();
    116129
     130                foreach ( array_keys( self::VERIFICATION_TAGS ) as $key ) {
     131                        $defaults[ $key ] = ''; // Site-ownership code, printed on the front page only.
     132                }
     133
    117134                return $defaults;
    118135        }
    … …  
    304321                }
    305322
     323                foreach ( array_keys( self::VERIFICATION_TAGS ) as $key ) {
     324                        if ( array_key_exists( $key, $incoming ) ) {
     325                                $clean[ $key ] = self::sanitize_verification( $incoming[ $key ] );
     326                        }
     327                }
     328
    306329                if ( array_key_exists( 'aeo', $incoming ) && is_array( $incoming['aeo'] ) ) {
    307330                        $clean['aeo'] = self::sanitize_aeo( $incoming['aeo'] );
    … …  
    394417                if ( isset( $stored['whitelabel_name'] ) && is_string( $stored['whitelabel_name'] ) ) {
    395418                        $out['whitelabel_name'] = $stored['whitelabel_name'];
     419                }
     420                foreach ( array_keys( self::VERIFICATION_TAGS ) as $key ) {
     421                        if ( isset( $stored[ $key ] ) ) {
     422                                $out[ $key ] = self::sanitize_verification( $stored[ $key ] );
     423                        }
    396424                }
    397425
    … …  
    521549
    522550        /**
     551         * A webmaster verification code. Search consoles hand out the whole
     552         * `<meta name="…" content="…">` tag, and that is what most people paste,
     553         * so the content attribute is lifted out of it first. What is kept is the
     554         * character set every engine's codes use (letters, digits, `-`, `_`, `=`,
     555         * `.`, `+`, `/`), which also rules out a quote breaking the attribute.
     556         */
     557        private static function sanitize_verification( mixed $value ): string {
     558                $value = is_scalar( $value ) ? trim( (string) $value ) : '';
     559
     560                if ( preg_match( '/content\s*=\s*(["\'])(.*?)\1/i', $value, $m ) ) {
     561                        $value = $m[2];
     562                }
     563
     564                return substr( (string) preg_replace( '/[^A-Za-z0-9_=.+\/-]/', '', $value ), 0, 128 );
     565        }
     566
     567        /**
    523568         * Deterministic boolean coercion mirroring rest_sanitize_boolean()
    524569         * semantics. Kept local so the schema never depends on a templated WP stub
  • flexa-seo-aeo/trunk/apps/admin/src/features/settings/SettingsPage.tsx

    r3749993 r3808429  
    2121    Search,
    2222    Share2,
     23    ShieldCheck,
    2324    ShoppingBag,
    2425    Tag,
    … …  
    7273    "robots_txt",
    7374    "whitelabel_name",
     75    "verify_google",
     76    "verify_bing",
     77    "verify_yandex",
     78    "verify_pinterest",
    7479] as const;
    7580
    7681const ARRAY_KEYS = ["sitemap_post_types", "sitemap_taxonomies"] as const;
     82
     83const VERIFICATION_FIELDS: {
     84    key: "verify_google" | "verify_bing" | "verify_yandex" | "verify_pinterest";
     85    title: string;
     86}[] = [
     87    { key: "verify_google", title: __("Google Search Console") },
     88    { key: "verify_bing", title: __("Bing Webmaster Tools") },
     89    { key: "verify_yandex", title: __("Yandex Webmaster") },
     90    { key: "verify_pinterest", title: __("Pinterest") },
     91];
    7792
    7893const SEPARATORS = ["-", "–", "—", "·", "•", "|", "/", "»", ">"];
    … …  
    684699                                    </StackedField>
    685700                                </div>
     701                                <div className={cn(ROW_DIVIDER, "fsa:space-y-5 fsa:p-5")}>
     702                                    <p className="fsa:text-xs fsa:text-slate-500">
     703                                        {__(
     704                                            "Site verification codes. Paste the code or the whole meta tag from each console; only the code is kept. The tags are printed on the front page. Leave a field empty to skip it.",
     705                                        )}
     706                                    </p>
     707                                    {VERIFICATION_FIELDS.map(({ key, title }) => (
     708                                        <StackedField
     709                                            key={key}
     710                                            id={`flexa-seo-aeo-${key}`}
     711                                            icon={ShieldCheck}
     712                                            title={title}
     713                                        >
     714                                            <Input
     715                                                id={`flexa-seo-aeo-${key}`}
     716                                                value={form[key]}
     717                                                onChange={(e) => setString(key, e.target.value)}
     718                                                spellCheck={false}
     719                                                autoComplete="off"
     720                                                className="fsa:font-mono"
     721                                            />
     722                                        </StackedField>
     723                                    ))}
     724                                </div>
    686725                            </div>
    687726                        )}
  • flexa-seo-aeo/trunk/apps/admin/src/features/settings/sections.ts

    r3756036 r3808429  
    7373        id: "indexing",
    7474        title: __("Indexing"),
    75         subtitle: __("IndexNow & robots.txt"),
     75        subtitle: __("IndexNow, robots.txt, verification"),
    7676        icon: Rss,
    7777        paneTitle: __("Indexing"),
    78         paneSubtitle: __("Push instant index signals and tune the virtual robots.txt."),
     78        paneSubtitle: __(
     79            "Push instant index signals, tune the virtual robots.txt, and verify the site with search consoles.",
     80        ),
    7981    },
    8082    {
  • flexa-seo-aeo/trunk/apps/admin/src/features/settings/useSettings.ts

    r3749993 r3808429  
    5353    sitemap_post_types: string[];
    5454    sitemap_taxonomies: string[];
     55    /** Webmaster ownership codes, printed on the front page only. */
     56    verify_google: string;
     57    verify_bing: string;
     58    verify_yandex: string;
     59    verify_pinterest: string;
    5560    aeo: AeoSettings;
    5661}
  • flexa-seo-aeo/trunk/assets/dist/.vite/manifest.json

    r3756036 r3808429  
    11{
    22  "src/main.tsx": {
    3     "file": "assets/main-CsZuqLt0.js",
     3    "file": "assets/main-_UC8bhmt.js",
    44    "name": "main",
    55    "src": "src/main.tsx",
  • flexa-seo-aeo/trunk/flexa-seo-aeo.php

    r3756036 r3808429  
    33 * Plugin Name:       Flexa SEO - AEO | AI SEO & Answer Engine Optimization
    44 * Description:       Complete WordPress SEO (schema, sitemaps, meta, Open Graph), plus a per-post Answer-Engine Readiness score and a site health dashboard for AI search.
    5  * Version:           1.0.0
     5 * Version:           1.1.0
    66 * Requires at least: 6.5
    77 * Requires PHP:      8.2
    … …  
    3131}
    3232
    33 define( 'FLEXA_SEO_AEO_VERSION', '1.0.0' );
     33define( 'FLEXA_SEO_AEO_VERSION', '1.1.0' );
    3434define( 'FLEXA_SEO_AEO_FILE', __FILE__ );
    3535define( 'FLEXA_SEO_AEO_PATH', plugin_dir_path( __FILE__ ) );
  • flexa-seo-aeo/trunk/i18n/languages/flexa-seo-aeo.pot

    r3756036 r3808429  
    44msgstr ""
    55"Project-Id-Version: Flexa SEO - AEO | AI SEO & Answer Engine Optimization "
    6 "1.0.0\n"
     6"1.1.0\n"
    77"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/flexa-seo-aeo\n"
    88"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
    … …  
    1111"Content-Type: text/plain; charset=UTF-8\n"
    1212"Content-Transfer-Encoding: 8bit\n"
    13 "POT-Creation-Date: 2026-10-20T07:11:20+00:00\n"
     13"POT-Creation-Date: 2026-11-18T01:59:48+00:00\n"
    1414"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1515"X-Generator: WP-CLI 2.10.0\n"
    … …  
    156156msgstr ""
    157157
    158 #: src/Admin/ConflictNotice.php:53
     158#: src/Admin/ConflictNotice.php:63
    159159msgid "This plugin"
    160160msgstr ""
    161161
    162 #: src/Admin/ConflictNotice.php:63
     162#: src/Admin/ConflictNotice.php:73
    163163msgid "See which tags each pairing actually duplicates"
    164164msgstr ""
    165165
    166166#. translators: %s: comma-separated list of SEO plugin names.
    167 #: src/Admin/ConflictNotice.php:73
     167#: src/Admin/ConflictNotice.php:85
    168168msgid "is running alongside %s."
    169169msgstr ""
    170170
    171 #: src/Admin/ConflictNotice.php:77
     171#: src/Admin/ConflictNotice.php:89
    172172msgid ""
    173173"Two SEO plugins on one site means two canonical tags, two sets of Open Graph "
    … …  
    176176msgstr ""
    177177
    178 #: src/Admin/ConflictNotice.php:82
     178#: src/Admin/ConflictNotice.php:96
    179179msgid "I know, hide this"
    180180msgstr ""
    181181
    182 #: src/Admin/ConflictNotice.php:88
     182#: src/Admin/ConflictNotice.php:109
     183msgid "this plugin"
     184msgstr ""
     185
     186#. translators: 1: an SEO plugin's name, 2: this plugin's name.
     187#: src/Admin/ConflictNotice.php:118
     188msgid ""
     189"While %1$s is active, noindex and nofollow set in %2$s are not applied: it "
     190"removes WordPress's robots output and prints its own robots tag. A post you "
     191"set to noindex here can still be indexed. Set them in %1$s until you switch "
     192"that plugin off."
     193msgstr ""
     194
     195#. translators: %s: comma-separated list of SEO plugin names.
     196#: src/Admin/ConflictNotice.php:130
     197msgid ""
     198"%s prints a second robots tag, so a post set to noindex here carries one tag "
     199"saying noindex and another saying index."
     200msgstr ""
     201
     202#: src/Admin/ConflictNotice.php:141
    183203msgid "You are not allowed to do that."
    184204msgstr ""
    … …  
    915935msgstr ""
    916936
    917 #: apps/admin/src/features/settings/SettingsPage.tsx:752
     937#: apps/admin/src/features/settings/SettingsPage.tsx:791
    918938msgid ""
    919939"A short description answer engines can quote. Shown at the top of llms.txt."
    … …  
    926946msgstr ""
    927947
    928 #: apps/admin/src/features/settings/sections.ts:90
    929 #: apps/admin/src/features/settings/sections.ts:93
     948#: apps/admin/src/features/settings/sections.ts:92
     949#: apps/admin/src/features/settings/sections.ts:95
    930950msgid "AEO Core"
    931951msgstr ""
    … …  
    943963msgstr ""
    944964
    945 #: apps/admin/src/features/settings/SettingsPage.tsx:360
     965#: apps/admin/src/features/settings/SettingsPage.tsx:375
    946966msgid "AEO schema"
    947967msgstr ""
    … …  
    967987msgstr ""
    968988
    969 #: apps/admin/src/features/settings/SettingsPage.tsx:258
     989#: apps/admin/src/features/settings/SettingsPage.tsx:273
    970990msgid "Add <image:image> entries to the XML sitemap."
    971991msgstr ""
    972992
    973 #: apps/admin/src/features/settings/SettingsPage.tsx:308
     993#: apps/admin/src/features/settings/SettingsPage.tsx:323
    974994msgid ""
    975995"Add rel=\"nofollow\" to external links in your content. Applied when the "
    … …  
    977997msgstr ""
    978998
    979 #: apps/admin/src/features/settings/SettingsPage.tsx:317
     999#: apps/admin/src/features/settings/SettingsPage.tsx:332
    9801000msgid ""
    9811001"Add rel=\"nofollow\" to links pointing to external image files. Applied when "
    … …  
    9831003msgstr ""
    9841004
    985 #: apps/admin/src/features/settings/SettingsPage.tsx:326
     1005#: apps/admin/src/features/settings/SettingsPage.tsx:341
    9861006msgid ""
    9871007"Add target=\"_blank\" to external links so they open in a new tab. Applied "
    … …  
    9891009msgstr ""
    9901010
    991 #: apps/admin/src/features/settings/SettingsPage.tsx:345
     1011#: apps/admin/src/features/settings/SettingsPage.tsx:360
    9921012msgid "Advertise a Markdown variant of each page to AI crawlers."
    9931013msgstr ""
    9941014
    995 #: apps/admin/src/features/settings/SettingsPage.tsx:344
     1015#: apps/admin/src/features/settings/SettingsPage.tsx:359
    9961016msgid "Agent Readiness"
    9971017msgstr ""
    … …  
    10091029msgstr ""
    10101030
    1011 #: apps/admin/src/features/settings/sections.ts:91
     1031#: apps/admin/src/features/settings/sections.ts:93
    10121032msgid "Answer-engine optimization"
    10131033msgstr ""
    10141034
    1015 #: apps/admin/src/features/settings/SettingsPage.tsx:670
     1035#: apps/admin/src/features/settings/SettingsPage.tsx:685
    10161036msgid ""
    10171037"Appended to the virtual robots.txt. The sitemap line is added automatically."
    … …  
    10341054msgstr ""
    10351055
    1036 #: apps/admin/src/features/settings/SettingsPage.tsx:224
     1056#: apps/admin/src/features/settings/SettingsPage.tsx:239
    10371057msgid "Auto-fill missing image alt attributes."
    10381058msgstr ""
    … …  
    10421062msgstr ""
    10431063
    1044 #: apps/admin/src/features/settings/sections.ts:118
     1064#: apps/admin/src/features/settings/sections.ts:120
    10451065msgid "Back up your configuration or move it between sites."
    10461066msgstr ""
    … …  
    10531073msgstr ""
    10541074
     1075#: apps/admin/src/features/settings/SettingsPage.tsx:88
     1076msgid "Bing Webmaster Tools"
     1077msgstr ""
     1078
    10551079#: apps/admin/src/features/onboarding/WelcomeStep.tsx:28
    10561080msgid "Blog"
    10571081msgstr ""
    10581082
    1059 #: apps/admin/src/features/settings/SettingsPage.tsx:792
     1083#: apps/admin/src/features/settings/SettingsPage.tsx:831
    10601084msgid "Brand name"
    10611085msgstr ""
    10621086
    1063 #: apps/admin/src/features/settings/sections.ts:101
    1064 #: apps/admin/src/features/settings/sections.ts:98
     1087#: apps/admin/src/features/settings/sections.ts:100
     1088#: apps/admin/src/features/settings/sections.ts:103
    10651089msgid "Branding"
    10661090msgstr ""
    … …  
    10701094msgstr ""
    10711095
    1072 #: apps/admin/src/features/settings/sections.ts:110
     1096#: apps/admin/src/features/settings/sections.ts:112
    10731097msgid ""
    10741098"Bring your existing SEO meta over from Yoast SEO, Rank Math or SEOPress."
    … …  
    10811105msgstr ""
    10821106
    1083 #: apps/admin/src/features/settings/sections.ts:86
     1107#: apps/admin/src/features/settings/sections.ts:88
    10841108msgid "Clean up URLs and control how links behave on the front end."
    10851109msgstr ""
    … …  
    10971121msgstr ""
    10981122
    1099 #: apps/admin/src/features/settings/SettingsPage.tsx:396
     1123#: apps/admin/src/features/settings/SettingsPage.tsx:411
    11001124msgid ""
    11011125"Configure how Flexa SEO optimizes your site for search and answer engines."
    … …  
    11331157msgstr ""
    11341158
    1135 #: apps/admin/src/features/settings/SettingsPage.tsx:669
     1159#: apps/admin/src/features/settings/SettingsPage.tsx:684
    11361160msgid "Custom robots.txt rules"
    11371161msgstr ""
    11381162
    1139 #: apps/admin/src/features/settings/sections.ts:122
    1140 #: apps/admin/src/features/settings/sections.ts:125
     1163#: apps/admin/src/features/settings/sections.ts:124
     1164#: apps/admin/src/features/settings/sections.ts:127
    11411165msgid "Danger Zone"
    11421166msgstr ""
    … …  
    11561180msgstr ""
    11571181
    1158 #: apps/admin/src/features/settings/SettingsPage.tsx:543
     1182#: apps/admin/src/features/settings/SettingsPage.tsx:558
    11591183msgid "Default share image"
    11601184msgstr ""
    11611185
    1162 #: apps/admin/src/features/settings/sections.ts:123
     1186#: apps/admin/src/features/settings/sections.ts:125
    11631187msgid "Destructive actions"
    11641188msgstr ""
    … …  
    12011225msgstr ""
    12021226
    1203 #: apps/admin/src/features/settings/SettingsPage.tsx:361
     1227#: apps/admin/src/features/settings/SettingsPage.tsx:376
    12041228msgid "Emit Article / FAQPage / WebSite JSON-LD tuned for answer engines."
    12051229msgstr ""
    12061230
    1207 #: apps/admin/src/features/settings/SettingsPage.tsx:374
     1231#: apps/admin/src/features/settings/SettingsPage.tsx:389
    12081232msgid ""
    12091233"Emit Product / Offer JSON-LD (price, availability, rating) + OG product tags "
    … …  
    12151239msgstr ""
    12161240
    1217 #: apps/admin/src/features/settings/SettingsPage.tsx:217
     1241#: apps/admin/src/features/settings/SettingsPage.tsx:232
    12181242msgid "Enable breadcrumb trail + BreadcrumbList schema."
    12191243msgstr ""
    12201244
    1221 #: apps/admin/src/features/settings/SettingsPage.tsx:265
     1245#: apps/admin/src/features/settings/SettingsPage.tsx:280
    12221246msgid "Enable the [flexa_seo_aeo_sitemap] shortcode."
    12231247msgstr ""
    … …  
    12551279msgstr ""
    12561280
    1257 #: apps/admin/src/features/settings/SettingsPage.tsx:234
     1281#: apps/admin/src/features/settings/SettingsPage.tsx:249
    12581282msgid "Facebook / LinkedIn / chat-app preview tags."
    12591283msgstr ""
    12601284
    1261 #: apps/admin/src/features/settings/SettingsPage.tsx:156
     1285#: apps/admin/src/features/settings/SettingsPage.tsx:171
    12621286msgid "Failed to load settings:"
    12631287msgstr ""
    … …  
    12991323msgstr ""
    13001324
    1301 #: apps/admin/src/features/settings/SettingsPage.tsx:264
     1325#: apps/admin/src/features/settings/SettingsPage.tsx:87
     1326msgid "Google Search Console"
     1327msgstr ""
     1328
     1329#: apps/admin/src/features/settings/SettingsPage.tsx:279
    13021330msgid "HTML sitemap"
    13031331msgstr ""
    13041332
    1305 #: apps/admin/src/features/settings/SettingsPage.tsx:495
     1333#: apps/admin/src/features/settings/SettingsPage.tsx:510
    13061334msgid "Homepage description"
    13071335msgstr ""
    13081336
    1309 #: apps/admin/src/features/settings/SettingsPage.tsx:478
     1337#: apps/admin/src/features/settings/SettingsPage.tsx:493
    13101338msgid "Homepage title"
    13111339msgstr ""
    … …  
    13271355msgstr ""
    13281356
     1357#: apps/admin/src/features/settings/sections.ts:119
     1358msgid "Import & Export"
     1359msgstr ""
     1360
    13291361#: apps/admin/src/features/settings/sections.ts:117
    1330 msgid "Import & Export"
    1331 msgstr ""
    1332 
    1333 #: apps/admin/src/features/settings/sections.ts:115
    13341362msgid "Import & export settings"
    13351363msgstr ""
    13361364
    1337 #: apps/admin/src/features/settings/sections.ts:107
     1365#: apps/admin/src/features/settings/sections.ts:109
    13381366msgid "Import from Yoast, Rank Math & SEOPress"
    13391367msgstr ""
    … …  
    13471375msgstr ""
    13481376
    1349 #: apps/admin/src/features/settings/SettingsPage.tsx:257
     1377#: apps/admin/src/features/settings/SettingsPage.tsx:272
    13501378msgid "Include images"
    13511379msgstr ""
    13521380
    1353 #: apps/admin/src/features/settings/SettingsPage.tsx:628
     1381#: apps/admin/src/features/settings/SettingsPage.tsx:643
    13541382msgid "Included post types"
    13551383msgstr ""
    13561384
    1357 #: apps/admin/src/features/settings/SettingsPage.tsx:644
     1385#: apps/admin/src/features/settings/SettingsPage.tsx:659
    13581386msgid "Included taxonomies"
    13591387msgstr ""
    13601388
    13611389#: apps/admin/src/features/settings/sections.ts:75
    1362 msgid "IndexNow & robots.txt"
     1390msgid "IndexNow, robots.txt, verification"
    13631391msgstr ""
    13641392
    … …  
    14001428msgstr ""
    14011429
    1402 #: apps/admin/src/features/settings/SettingsPage.tsx:479
     1430#: apps/admin/src/features/settings/SettingsPage.tsx:494
    14031431msgid "Leave blank to use %%sitename%% %%sep%% %%tagline%%."
    14041432msgstr ""
    … …  
    14081436msgstr ""
    14091437
    1410 #: apps/admin/src/features/settings/sections.ts:82
    1411 #: apps/admin/src/features/settings/sections.ts:85
     1438#: apps/admin/src/features/settings/sections.ts:84
     1439#: apps/admin/src/features/settings/sections.ts:87
    14121440msgid "Links"
    14131441msgstr ""
    … …  
    14171445msgstr ""
    14181446
    1419 #: apps/admin/src/features/settings/SettingsPage.tsx:149
     1447#: apps/admin/src/features/settings/SettingsPage.tsx:164
    14201448msgid "Loading settings…"
    14211449msgstr ""
    … …  
    14251453msgstr ""
    14261454
    1427 #: apps/admin/src/features/settings/SettingsPage.tsx:603
     1455#: apps/admin/src/features/settings/SettingsPage.tsx:618
    14281456msgid "Logo"
    14291457msgstr ""
    14301458
    1431 #: apps/admin/src/features/settings/sections.ts:94
     1459#: apps/admin/src/features/settings/sections.ts:96
    14321460msgid "Make your content first-class for AI answer engines."
    14331461msgstr ""
    … …  
    14401468#: apps/admin/src/features/onboarding/useOnboarding.ts:159
    14411469#: apps/admin/src/features/settings/MigrationPane.tsx:142
    1442 #: apps/admin/src/features/settings/sections.ts:106
     1470#: apps/admin/src/features/settings/sections.ts:108
    14431471msgid "Migrate"
    14441472msgstr ""
    14451473
    1446 #: apps/admin/src/features/settings/sections.ts:109
     1474#: apps/admin/src/features/settings/sections.ts:111
    14471475msgid "Migrate from another plugin"
    14481476msgstr ""
    … …  
    14531481msgstr ""
    14541482
    1455 #: apps/admin/src/features/settings/SettingsPage.tsx:587
     1483#: apps/admin/src/features/settings/SettingsPage.tsx:602
    14561484msgid "Name"
    14571485msgstr ""
    … …  
    14731501msgstr ""
    14741502
    1475 #: apps/admin/src/features/settings/SettingsPage.tsx:307
     1503#: apps/admin/src/features/settings/SettingsPage.tsx:322
    14761504msgid "Nofollow External Links"
    14771505msgstr ""
    14781506
    1479 #: apps/admin/src/features/settings/SettingsPage.tsx:316
     1507#: apps/admin/src/features/settings/SettingsPage.tsx:331
    14801508msgid "Nofollow Image File Links"
    14811509msgstr ""
    14821510
    1483 #: apps/admin/src/features/settings/SettingsPage.tsx:1045
     1511#: apps/admin/src/features/settings/SettingsPage.tsx:1084
    14841512msgid "Nothing available."
    14851513msgstr ""
    … …  
    14931521msgstr ""
    14941522
    1495 #: apps/admin/src/features/settings/SettingsPage.tsx:325
     1523#: apps/admin/src/features/settings/SettingsPage.tsx:340
    14961524msgid "Open External Links in New Tab/Window"
    14971525msgstr ""
    … …  
    15061534msgstr ""
    15071535
    1508 #: apps/admin/src/features/settings/SettingsPage.tsx:417
     1536#: apps/admin/src/features/settings/SettingsPage.tsx:432
    15091537msgid "Open command palette"
    15101538msgstr ""
    … …  
    15221550msgstr ""
    15231551
    1524 #: apps/admin/src/features/settings/SettingsPage.tsx:88
     1552#: apps/admin/src/features/settings/SettingsPage.tsx:103
    15251553#: apps/admin/src/features/settings/sections.ts:58
    15261554#: apps/admin/src/features/settings/sections.ts:61
    … …  
    15281556msgstr ""
    15291557
    1530 #: apps/admin/src/features/settings/SettingsPage.tsx:588
     1558#: apps/admin/src/features/settings/SettingsPage.tsx:603
    15311559msgid ""
    15321560"Organization or person name for the publisher schema. Defaults to the site "
    … …  
    15341562msgstr ""
    15351563
    1536 #: apps/admin/src/features/settings/SettingsPage.tsx:210
     1564#: apps/admin/src/features/settings/SettingsPage.tsx:225
    15371565msgid "Output the <title> and meta description tags."
    15381566msgstr ""
    … …  
    15421570msgstr ""
    15431571
    1544 #: apps/admin/src/features/settings/SettingsPage.tsx:733
     1572#: apps/admin/src/features/settings/SettingsPage.tsx:772
    15451573msgid "Overrides the site title in llms.txt. Defaults to the site title."
    15461574msgstr ""
    … …  
    15701598msgstr ""
    15711599
    1572 #: apps/admin/src/features/settings/SettingsPage.tsx:89
     1600#: apps/admin/src/features/settings/SettingsPage.tsx:104
    15731601msgid "Person"
    15741602msgstr ""
    … …  
    15781606msgstr ""
    15791607
    1580 #: apps/admin/src/features/settings/SettingsPage.tsx:275
     1608#: apps/admin/src/features/settings/SettingsPage.tsx:290
    15811609msgid ""
    15821610"Ping IndexNow when content is published or updated for near-instant indexing."
    15831611msgstr ""
    15841612
    1585 #: apps/admin/src/features/settings/SettingsPage.tsx:353
     1613#: apps/admin/src/features/settings/SettingsPage.tsx:90
     1614msgid "Pinterest"
     1615msgstr ""
     1616
     1617#: apps/admin/src/features/settings/SettingsPage.tsx:368
    15861618msgid "Plain-text export"
    15871619msgstr ""
    … …  
    15971629
    15981630#: apps/admin/src/features/settings/sections.ts:78
    1599 msgid "Push instant index signals and tune the virtual robots.txt."
     1631msgid ""
     1632"Push instant index signals, tune the virtual robots.txt, and verify the site "
     1633"with search consoles."
    16001634msgstr ""
    16011635
    … …  
    16181652msgstr ""
    16191653
    1620 #: apps/admin/src/features/settings/SettingsPage.tsx:295
     1654#: apps/admin/src/features/settings/SettingsPage.tsx:310
    16211655msgid "Redirect Attachments"
    16221656msgstr ""
    16231657
    1624 #: apps/admin/src/features/settings/SettingsPage.tsx:696
     1658#: apps/admin/src/features/settings/SettingsPage.tsx:735
    16251659msgid "Redirect Orphan Attachments"
    16261660msgstr ""
    16271661
    1628 #: apps/admin/src/features/settings/SettingsPage.tsx:296
     1662#: apps/admin/src/features/settings/SettingsPage.tsx:311
    16291663msgid "Redirect attachment page URLs to the post they appear in."
    16301664msgstr ""
    16311665
    1632 #: apps/admin/src/features/settings/SettingsPage.tsx:697
     1666#: apps/admin/src/features/settings/SettingsPage.tsx:736
    16331667msgid ""
    16341668"Redirect attachments without a parent post to this URL. Leave empty for no "
    … …  
    16361670msgstr ""
    16371671
    1638 #: apps/admin/src/features/settings/SettingsPage.tsx:287
     1672#: apps/admin/src/features/settings/SettingsPage.tsx:302
    16391673msgid ""
    16401674"Remove /category/ from category archive URLs. e.g. example.com/category/"
    … …  
    16421676msgstr ""
    16431677
    1644 #: apps/admin/src/features/settings/sections.ts:102
     1678#: apps/admin/src/features/settings/sections.ts:104
    16451679msgid "Rename the plugin in wp-admin for a white-label setup."
    16461680msgstr ""
    … …  
    16501684msgstr ""
    16511685
    1652 #: apps/admin/src/features/settings/SettingsPage.tsx:780
     1686#: apps/admin/src/features/settings/SettingsPage.tsx:819
    16531687msgid "Replace the “Flexa SEO” name in the admin menu and this screen."
    16541688msgstr ""
    … …  
    16781712msgstr ""
    16791713
    1680 #: apps/admin/src/features/settings/sections.ts:126
     1714#: apps/admin/src/features/settings/sections.ts:128
    16811715msgid "Reset everything back to a clean slate."
    16821716msgstr ""
    … …  
    17121746msgstr ""
    17131747
    1714 #: apps/admin/src/features/settings/SettingsPage.tsx:241
     1748#: apps/admin/src/features/settings/SettingsPage.tsx:256
    17151749msgid "Rich preview cards on X."
    17161750msgstr ""
    … …  
    17451779msgstr ""
    17461780
    1747 #: apps/admin/src/features/settings/SettingsPage.tsx:433
     1781#: apps/admin/src/features/settings/SettingsPage.tsx:448
    17481782msgid "Save Settings"
    17491783msgstr ""
    17501784
    1751 #: apps/admin/src/features/settings/SettingsPage.tsx:172
     1785#: apps/admin/src/features/settings/SettingsPage.tsx:187
    17521786msgid "Save failed."
    17531787msgstr ""
    17541788
    1755 #: apps/admin/src/features/settings/SettingsPage.tsx:409
     1789#: apps/admin/src/features/settings/SettingsPage.tsx:424
    17561790msgid "Save failed:"
    17571791msgstr ""
    17581792
    1759 #: apps/admin/src/features/settings/SettingsPage.tsx:433
     1793#: apps/admin/src/features/settings/SettingsPage.tsx:448
    17601794msgid "Saving…"
    17611795msgstr ""
    … …  
    17861820msgstr ""
    17871821
    1788 #: apps/admin/src/features/settings/SettingsPage.tsx:421
     1822#: apps/admin/src/features/settings/SettingsPage.tsx:436
    17891823msgid "Search"
    17901824msgstr ""
    … …  
    17991833msgstr ""
    18001834
    1801 #: apps/admin/src/features/settings/SettingsPage.tsx:338
     1835#: apps/admin/src/features/settings/SettingsPage.tsx:353
    18021836msgid "Serve /llms.txt, a curated map of your content for AI."
    18031837msgstr ""
    18041838
    1805 #: apps/admin/src/features/settings/SettingsPage.tsx:251
     1839#: apps/admin/src/features/settings/SettingsPage.tsx:266
    18061840msgid "Serve /sitemap.xml and per-type sub-sitemaps."
    18071841msgstr ""
    18081842
    1809 #: apps/admin/src/features/settings/SettingsPage.tsx:354
     1843#: apps/admin/src/features/settings/SettingsPage.tsx:369
    18101844msgid "Serve ?flexa-aeo=md, clean Markdown of any post."
    18111845msgstr ""
    … …  
    18271861msgstr ""
    18281862
    1829 #: apps/admin/src/features/settings/SettingsPage.tsx:171
    1830 #: apps/admin/src/features/settings/SettingsPage.tsx:404
     1863#: apps/admin/src/features/settings/SettingsPage.tsx:186
     1864#: apps/admin/src/features/settings/SettingsPage.tsx:419
    18311865msgid "Settings saved."
    18321866msgstr ""
    … …  
    18461880msgstr ""
    18471881
    1848 #: apps/admin/src/features/settings/SettingsPage.tsx:793
     1882#: apps/admin/src/features/settings/SettingsPage.tsx:832
    18491883msgid "Shown when white-label is on. Takes effect after the next page load."
    18501884msgstr ""
    18511885
    1852 #: apps/admin/src/features/settings/SettingsPage.tsx:732
     1886#: apps/admin/src/features/settings/SettingsPage.tsx:771
    18531887msgid "Site name for AI"
    18541888msgstr ""
    18551889
    1856 #: apps/admin/src/features/settings/SettingsPage.tsx:751
     1890#: apps/admin/src/features/settings/SettingsPage.tsx:790
    18571891msgid "Site summary for AI"
     1892msgstr ""
     1893
     1894#: apps/admin/src/features/settings/SettingsPage.tsx:703
     1895msgid ""
     1896"Site verification codes. Paste the code or the whole meta tag from each "
     1897"console; only the code is kept. The tags are printed on the front page. "
     1898"Leave a field empty to skip it."
    18581899msgstr ""
    18591900
    … …  
    18841925msgstr ""
    18851926
    1886 #: apps/admin/src/features/settings/SettingsPage.tsx:604
     1927#: apps/admin/src/features/settings/SettingsPage.tsx:619
    18871928msgid ""
    18881929"Square brand logo for the publisher schema (full URL). Falls back to the "
    … …  
    19021943msgstr ""
    19031944
    1904 #: apps/admin/src/features/settings/SettingsPage.tsx:286
     1945#: apps/admin/src/features/settings/SettingsPage.tsx:301
    19051946msgid "Strip Category Base"
    19061947msgstr ""
    19071948
    1908 #: apps/admin/src/features/settings/SettingsPage.tsx:84
     1949#: apps/admin/src/features/settings/SettingsPage.tsx:99
    19091950msgid "Summary"
    19101951msgstr ""
    19111952
    1912 #: apps/admin/src/features/settings/SettingsPage.tsx:83
     1953#: apps/admin/src/features/settings/SettingsPage.tsx:98
    19131954msgid "Summary with large image"
    19141955msgstr ""
    … …  
    19301971msgstr ""
    19311972
    1932 #: apps/admin/src/features/settings/SettingsPage.tsx:496
     1973#: apps/admin/src/features/settings/SettingsPage.tsx:511
    19331974msgid "The meta description for your front page."
    19341975msgstr ""
    … …  
    19381979msgstr ""
    19391980
    1940 #: apps/admin/src/features/settings/SettingsPage.tsx:573
     1981#: apps/admin/src/features/settings/SettingsPage.tsx:588
    19411982msgid "This site represents"
    19421983msgstr ""
    … …  
    19481989msgstr ""
    19491990
    1950 #: apps/admin/src/features/settings/SettingsPage.tsx:464
     1991#: apps/admin/src/features/settings/SettingsPage.tsx:479
    19511992msgid "Title separator"
    19521993msgstr ""
    … …  
    19672008msgstr ""
    19682009
    1969 #: apps/admin/src/features/settings/sections.ts:114
     2010#: apps/admin/src/features/settings/sections.ts:116
    19702011msgid "Tools"
    19712012msgstr ""
    … …  
    19792020msgstr ""
    19802021
    1981 #: apps/admin/src/features/settings/sections.ts:83
     2022#: apps/admin/src/features/settings/sections.ts:85
    19822023msgid "URLs & link attributes"
    19832024msgstr ""
    … …  
    19882029msgstr ""
    19892030
    1990 #: apps/admin/src/features/settings/SettingsPage.tsx:544
     2031#: apps/admin/src/features/settings/SettingsPage.tsx:559
    19912032msgid "Used when a page has no featured image (full URL)."
    19922033msgstr ""
    … …  
    20372078msgstr ""
    20382079
    2039 #: apps/admin/src/features/settings/SettingsPage.tsx:629
     2080#: apps/admin/src/features/settings/SettingsPage.tsx:644
    20402081msgid "Which content types appear in the sitemap and llms.txt."
    20412082msgstr ""
    20422083
    2043 #: apps/admin/src/features/settings/SettingsPage.tsx:645
     2084#: apps/admin/src/features/settings/SettingsPage.tsx:660
    20442085msgid "Which term archives appear in the sitemap."
    20452086msgstr ""
    20462087
    2047 #: apps/admin/src/features/settings/SettingsPage.tsx:779
     2088#: apps/admin/src/features/settings/SettingsPage.tsx:818
    20482089msgid "White-label"
    20492090msgstr ""
    20502091
    2051 #: apps/admin/src/features/settings/sections.ts:99
     2092#: apps/admin/src/features/settings/sections.ts:101
    20522093msgid "White-label the plugin"
    20532094msgstr ""
    … …  
    20652106msgstr ""
    20662107
    2067 #: apps/admin/src/features/settings/SettingsPage.tsx:526
     2108#: apps/admin/src/features/settings/SettingsPage.tsx:541
    20682109msgid "X Card type"
    20692110msgstr ""
    … …  
    20732114msgstr ""
    20742115
     2116#: apps/admin/src/features/settings/SettingsPage.tsx:89
     2117msgid "Yandex Webmaster"
     2118msgstr ""
     2119
    20752120#: apps/admin/src/features/onboarding/MigrationStep.tsx:204
    20762121msgid ""
    … …  
    20922137msgstr ""
    20932138
    2094 #: apps/admin/src/features/settings/SettingsPage.tsx:806
     2139#: apps/admin/src/features/settings/SettingsPage.tsx:845
    20952140msgid "e.g. Acme SEO"
    20962141msgstr ""
  • flexa-seo-aeo/trunk/package.json

    r3749993 r3808429  
    22    "name": "flexa-seo-aeo",
    33    "private": true,
    4     "version": "1.0.0",
     4    "version": "1.1.0",
    55    "type": "module",
    66    "packageManager": "pnpm@9.12.0",
  • flexa-seo-aeo/trunk/readme.txt

    r3756036 r3808429  
    55Tested up to: 7.1
    66Requires PHP: 8.2
    7 Stable tag: 1.0.0
     7Stable tag: 1.1.0
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    3939* Per-post editing in a classic metabox **and** a Gutenberg editor sidebar, with one-click **migration from Yoast, Rank Math and SEOPress**, and a read-fallback for all three so nothing breaks mid-move.
    4040* `robots.txt` management and optional **IndexNow** ping on publish/update (see *External services* below).
     41* Site verification tags for Google Search Console, Bing, Yandex and Pinterest. Paste the code; nothing is sent anywhere.
    4142* **Links** controls: strip the category base from archive URLs, redirect attachment pages to their parent (with an orphan fallback), and add `nofollow` / `target="_blank"` to external links at display time.
    4243
    … …  
    153154
    154155== Changelog ==
     156
     157= 1.1.0 =
     158* New: site verification for Google Search Console, Bing Webmaster Tools, Yandex Webmaster and Pinterest, under Settings > Indexing. Paste either the code or the whole `<meta>` tag a console gives you; only the code is stored. The tags are printed on the front page, which is where each console looks for them, and an empty field prints nothing.
     159* New: the warning about another active SEO plugin now says when that plugin will override a noindex. Rank Math and All in One SEO remove the `wp_robots` filter and print their own robots tag, so a post marked noindex here can still be indexed while they are active; SEOPress prints a second robots tag that disagrees with this one. If you dismissed the warning before, it comes back once so you can read the new part.
    155160
    156161= 1.0.0 =
    … …  
    246251== Upgrade Notice ==
    247252
     253= 1.1.0 =
     254Adds site verification codes for Google, Bing, Yandex and Pinterest, and warns when another SEO plugin would override a noindex set here.
     255
    248256= 1.0.0 =
    249257Adds one-click migration from SEOPress, lists images from post content in the image sitemap, and restores structured data on the posts page. Leaving SEOPress? Run the migration before you deactivate it.
  • flexa-seo-aeo/trunk/src/Actions/Front/Metas.php

    r3749993 r3808429  
    137137                }
    138138
     139                // Ownership codes are read from the home page only, and they have no
     140                // module toggle: an empty field is the off switch.
     141                if ( is_front_page() ) {
     142                        foreach ( Settings::VERIFICATION_TAGS as $key => $name ) {
     143                                $code = (string) Settings::get( $key );
     144                                if ( '' !== $code ) {
     145                                        $this->meta_tag( 'name', $name, $code );
     146                                }
     147                        }
     148                }
     149
    139150                echo "<!-- /Flexa SEO -->\n";
    140151        }
  • flexa-seo-aeo/trunk/src/Admin/ConflictNotice.php

    r3751315 r3808429  
    2121 *
    2222 * The dismissal records which plugins were active at the time, so hiding the
    23  * notice for Yoast does not also hide it when Rank Math turns up later.
     23 * notice for Yoast does not also hide it when Rank Math turns up later. It also
     24 * records which revision of the notice was hidden, so a warning added later is
     25 * seen by people who dismissed the earlier text.
    2426 */
    2527final class ConflictNotice {
    … …  
    3032
    3133        private const ACTION = 'flexa_seo_aeo_dismiss_conflict';
     34
     35        /**
     36         * Bump when the notice gains something a past dismissal should not hide.
     37         * Not the plugin version: that would bring the notice back on every update.
     38         *
     39         * 2: the noindex warning for Rank Math, All in One SEO and SEOPress.
     40         */
     41        private const REVISION = 2;
    3242
    3343        public function register(): void {
    … …  
    4656                }
    4757
    48                 if ( SeoConflicts::signature() === (string) get_option( self::OPTION_KEY, '' ) ) {
     58                if ( $this->dismissal_key() === (string) get_option( self::OPTION_KEY, '' ) ) {
    4959                        return;
    5060                }
    … …  
    6575                        : '';
    6676
     77                $robots = $this->robots_warning();
     78
    6779                printf(
    68                         '<div class="notice notice-warning"><p><strong>%s</strong> %s</p><p>%s</p>%s<p><a href="%s" class="button button-secondary">%s</a></p></div>',
     80                        '<div class="notice notice-warning"><p><strong>%s</strong> %s</p><p>%s</p>%s%s<p><a href="%s" class="button button-secondary">%s</a></p></div>',
    6981                        esc_html( $brand ),
    7082                        esc_html(
    … …  
    7688                        ),
    7789                        esc_html__( 'Two SEO plugins on one site means two canonical tags, two sets of Open Graph tags and often two JSON-LD graphs, and search engines pick between them. Run one and deactivate the other.', 'flexa-seo-aeo' ),
     90                        // Built from esc_html() in robots_warning().
     91                        $robots, // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    7892                        // Assembled just above from esc_url() and esc_html__(); escaping the
    7993                        // whole string again would print the markup instead of rendering it.
    … …  
    8296                        esc_html__( 'I know, hide this', 'flexa-seo-aeo' )
    8397                );
     98        }
     99
     100        /**
     101         * The one consequence of a pairing that is worse than a duplicate tag: a
     102         * post set to noindex here can still be indexed. Said per plugin, because
     103         * the advice differs: where the other plugin owns the tag, the setting has
     104         * to be made there until it is switched off.
     105         */
     106        private function robots_warning(): string {
     107                // Mid-sentence, so lower case under white-label.
     108                $brand = (bool) Settings::get( 'whitelabel' )
     109                        ? __( 'this plugin', 'flexa-seo-aeo' )
     110                        : 'Flexa SEO';
     111
     112                $html = '';
     113
     114                foreach ( SeoConflicts::robots_replaced() as $name ) {
     115                        $html .= '<p>' . esc_html(
     116                                sprintf(
     117                                        /* translators: 1: an SEO plugin's name, 2: this plugin's name. */
     118                                        __( 'While %1$s is active, noindex and nofollow set in %2$s are not applied: it removes WordPress\'s robots output and prints its own robots tag. A post you set to noindex here can still be indexed. Set them in %1$s until you switch that plugin off.', 'flexa-seo-aeo' ),
     119                                        $name,
     120                                        $brand
     121                                )
     122                        ) . '</p>';
     123                }
     124
     125                $duplicated = SeoConflicts::robots_duplicated();
     126                if ( [] !== $duplicated ) {
     127                        $html .= '<p>' . esc_html(
     128                                sprintf(
     129                                        /* translators: %s: comma-separated list of SEO plugin names. */
     130                                        __( '%s prints a second robots tag, so a post set to noindex here carries one tag saying noindex and another saying index.', 'flexa-seo-aeo' ),
     131                                        implode( ', ', $duplicated )
     132                                )
     133                        ) . '</p>';
     134                }
     135
     136                return $html;
    84137        }
    85138
    … …  
    91144                check_admin_referer( self::ACTION );
    92145
    93                 update_option( self::OPTION_KEY, SeoConflicts::signature(), false );
     146                update_option( self::OPTION_KEY, $this->dismissal_key(), false );
    94147
    95148                $referer = wp_get_referer();
    … …  
    98151        }
    99152
     153        /**
     154         * What a dismissal is stored as: the active plugins plus the notice
     155         * revision, e.g. `rankmath,yoast@2`. Values saved before revisions existed
     156         * carry no suffix, so they no longer match and the notice shows once more.
     157         */
     158        private function dismissal_key(): string {
     159                return SeoConflicts::signature() . '@' . self::REVISION;
     160        }
     161
    100162        private function dismiss_url(): string {
    101163                return wp_nonce_url( admin_url( 'admin-post.php?action=' . self::ACTION ), self::ACTION );
  • flexa-seo-aeo/trunk/src/Support/SeoConflicts.php

    r3756036 r3808429  
    4646
    4747        /**
     48         * Plugins that take the robots tag away from this one. Rank Math and All in
     49         * One SEO both call `remove_all_filters( 'wp_robots' )` and print a tag of
     50         * their own, so a noindex or nofollow set here never reaches the page.
     51         * Measured on a post set to noindex: Rank Math 1.0.270 printed `index`, All
     52         * in One SEO 5.0.3 printed neither.
     53         *
     54         * @var list<string>
     55         */
     56        private const ROBOTS_REPLACED = [ 'rankmath', 'aioseo' ];
     57
     58        /**
     59         * Plugins that print a robots tag of their own next to core's. The page
     60         * carries both, and on a post set to noindex here they disagree.
     61         *
     62         * @var list<string>
     63         */
     64        private const ROBOTS_DUPLICATED = [ 'seopress' ];
     65
     66        /**
    4867         * Every known SEO plugin currently active, as id => label.
    4968         *
    … …  
    7493
    7594        /**
     95         * Active plugins that stop this plugin's noindex and nofollow reaching the
     96         * page, as id => label.
     97         *
     98         * @return array<string, string>
     99         */
     100        public static function robots_replaced(): array {
     101                return array_intersect_key( self::active(), array_flip( self::ROBOTS_REPLACED ) );
     102        }
     103
     104        /**
     105         * Active plugins that print a second robots tag, as id => label.
     106         *
     107         * @return array<string, string>
     108         */
     109        public static function robots_duplicated(): array {
     110                return array_intersect_key( self::active(), array_flip( self::ROBOTS_DUPLICATED ) );
     111        }
     112
     113        /**
    76114         * A stable fingerprint of what is active right now, so a dismissal applies
    77115         * to the situation the user saw and a newly activated plugin raises the
  • flexa-seo-aeo/trunk/src/Support/Settings.php

    r3749993 r3808429  
    7171
    7272        /**
     73         * Webmaster verification settings => the `<meta name>` each one prints.
     74         * Every one is a site-ownership code pasted from the engine's console.
     75         *
     76         * @var array<string, string>
     77         */
     78        public const VERIFICATION_TAGS = [
     79                'verify_google'    => 'google-site-verification',
     80                'verify_bing'      => 'msvalidate.01',
     81                'verify_yandex'    => 'yandex-verification',
     82                'verify_pinterest' => 'p:domain_verify',
     83        ];
     84
     85        /**
    7386         * Defaults for the nested `aeo` group — the plugin's core differentiator.
    7487         * All inert by default; the AEO endpoints self-gate on `enabled`.
    … …  
    115128                $defaults['aeo']                         = self::aeo_defaults();
    116129
     130                foreach ( array_keys( self::VERIFICATION_TAGS ) as $key ) {
     131                        $defaults[ $key ] = ''; // Site-ownership code, printed on the front page only.
     132                }
     133
    117134                return $defaults;
    118135        }
    … …  
    304321                }
    305322
     323                foreach ( array_keys( self::VERIFICATION_TAGS ) as $key ) {
     324                        if ( array_key_exists( $key, $incoming ) ) {
     325                                $clean[ $key ] = self::sanitize_verification( $incoming[ $key ] );
     326                        }
     327                }
     328
    306329                if ( array_key_exists( 'aeo', $incoming ) && is_array( $incoming['aeo'] ) ) {
    307330                        $clean['aeo'] = self::sanitize_aeo( $incoming['aeo'] );
    … …  
    394417                if ( isset( $stored['whitelabel_name'] ) && is_string( $stored['whitelabel_name'] ) ) {
    395418                        $out['whitelabel_name'] = $stored['whitelabel_name'];
     419                }
     420                foreach ( array_keys( self::VERIFICATION_TAGS ) as $key ) {
     421                        if ( isset( $stored[ $key ] ) ) {
     422                                $out[ $key ] = self::sanitize_verification( $stored[ $key ] );
     423                        }
    396424                }
    397425
    … …  
    521549
    522550        /**
     551         * A webmaster verification code. Search consoles hand out the whole
     552         * `<meta name="…" content="…">` tag, and that is what most people paste,
     553         * so the content attribute is lifted out of it first. What is kept is the
     554         * character set every engine's codes use (letters, digits, `-`, `_`, `=`,
     555         * `.`, `+`, `/`), which also rules out a quote breaking the attribute.
     556         */
     557        private static function sanitize_verification( mixed $value ): string {
     558                $value = is_scalar( $value ) ? trim( (string) $value ) : '';
     559
     560                if ( preg_match( '/content\s*=\s*(["\'])(.*?)\1/i', $value, $m ) ) {
     561                        $value = $m[2];
     562                }
     563
     564                return substr( (string) preg_replace( '/[^A-Za-z0-9_=.+\/-]/', '', $value ), 0, 128 );
     565        }
     566
     567        /**
    523568         * Deterministic boolean coercion mirroring rest_sanitize_boolean()
    524569         * semantics. Kept local so the schema never depends on a templated WP stub
Note: See TracChangeset for help on using the changeset viewer.