Record final Solver SEO audit and Development proxy safeguard
This commit is contained in:
parent
ad489bde07
commit
d40d45f63a
@ -40,3 +40,7 @@ Existing angled layouts and cropped fragments remain. The common `_MarketingScre
|
||||
- `writing-solver-clean-urls.cjs`: all 52 permanent pages, personalised/private evidence, fresh sharing, Back/Forward, revised diagnosis, JS/no-JS, 390/1440, metadata/canonical/OG/schema and Development noindex passed.
|
||||
|
||||
Development deployment and measured performance are recorded in Deployment.md. Production remains unchanged.
|
||||
|
||||
## Final SEO verification amendment
|
||||
|
||||
The [52-page SEO audit](SeoAudit/Report.md) verifies the generated Production sitemap, metadata, structured identity, crawlable discovery and state exclusion. It also records the Development-only global noindex safeguard, the validation-query correction and the distinction between tested application commit and the preserved live Calendar runtime.
|
||||
|
||||
1915
Docs/HomeSolverInvitation/SeoAudit/Development.json
Normal file
1915
Docs/HomeSolverInvitation/SeoAudit/Development.json
Normal file
File diff suppressed because it is too large
Load Diff
25
Docs/HomeSolverInvitation/SeoAudit/DevelopmentProxy.patch
Normal file
25
Docs/HomeSolverInvitation/SeoAudit/DevelopmentProxy.patch
Normal file
@ -0,0 +1,25 @@
|
||||
--- /var/backups/plotdirector/nginx-dev-before-solver-seo-20261102.conf 2026-07-10 18:35:36.642145185 +0000
|
||||
+++ /etc/nginx/sites-enabled/plotdirector-dev.conf 2026-11-02 16:20:21.899882455 +0000
|
||||
@@ -4,6 +4,9 @@
|
||||
|
||||
server_name dev.plotdirector.com;
|
||||
|
||||
+ # This Development origin must never enter a public search index.
|
||||
+ add_header X-Robots-Tag "noindex, follow" always;
|
||||
+
|
||||
access_log /var/log/nginx/plotdirector-dev-access.log;
|
||||
error_log /var/log/nginx/plotdirector-dev-error.log;
|
||||
|
||||
@@ -11,10 +14,12 @@
|
||||
|
||||
location = /health {
|
||||
add_header Content-Type text/plain;
|
||||
+ add_header X-Robots-Tag "noindex, follow" always;
|
||||
return 200 "ok\n";
|
||||
}
|
||||
|
||||
location / {
|
||||
+ proxy_hide_header X-Robots-Tag;
|
||||
proxy_pass http://127.0.0.1:5050;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
1915
Docs/HomeSolverInvitation/SeoAudit/Production.json
Normal file
1915
Docs/HomeSolverInvitation/SeoAudit/Production.json
Normal file
File diff suppressed because it is too large
Load Diff
53
Docs/HomeSolverInvitation/SeoAudit/Report.md
Normal file
53
Docs/HomeSolverInvitation/SeoAudit/Report.md
Normal file
@ -0,0 +1,53 @@
|
||||
# Final Writing Problem Solver public SEO audit
|
||||
|
||||
Extends the completed Home/Tour task. No pages were redesigned or rewritten. No Production deployment or configuration change was made.
|
||||
|
||||
## Results
|
||||
|
||||
| Requested verification | Result |
|
||||
|---|---|
|
||||
| Permanent clean diagnosis URLs found | **52** active, index-eligible diagnoses; native publication JSON and read-only Development publication inspection agree |
|
||||
| Generated Production sitemap | **52/52** permanent diagnosis URLs; generated from `Active && Index` publication data, not a manually maintained list |
|
||||
| `/writing-problems` sitemap status | Included with indexing enabled; excluded when Solver indexing is disabled |
|
||||
| Stateful journey URLs in sitemap | **0**; every generated URL also checked for an empty query and fragment |
|
||||
| HTML titles | **52 unique, nonempty** titles |
|
||||
| Meta descriptions | **52 unique, nonempty** descriptions |
|
||||
| Canonicals | **52/52** point to `https://plotdirector.com/writing-problems/{slug}`; no state or query parameters |
|
||||
| Open Graph | **52/52** have title, description, canonical-aligned URL and a reachable social image; current architecture uses the established site social image when no page-specific image is assigned |
|
||||
| JSON-LD | **WebPage** for the entry page and all diagnoses; valid JSON, stable URL/name/description, describing the page’s authored visible subject; no artificial FAQ schema |
|
||||
| Crawlable links | Entry → browse → area → diagnosis is ordinary server-rendered anchor navigation; all 52 reached through those links with JavaScript disabled; diagnoses link to relevant feature, related problems, area and entry |
|
||||
| Production indexability | **52/52 indexable** under Production/enabled configuration, with no accidental meta/header noindex; default application switch is enabled when absent |
|
||||
| Intermediate states | Protected/invalid `?state=` and validation-only `?choose=true` use noindex and canonical `/writing-problems`; no state enters sitemap |
|
||||
| Personalised arrivals | Title, description, canonical, Open Graph and JSON-LD exactly match direct-entry identity at the same clean result URL; evidence is visible only in the private journey presentation |
|
||||
| Development | Solver meta remains noindex and its sitemap excludes all 52 plus the entry. The entire public Development origin now also sends authoritative `X-Robots-Tag: noindex, follow`, including Home, Tour, Help, XML sitemap and robots.txt |
|
||||
|
||||
The global public `WebPage` schema uses only authored metadata, not personal evidence, diagnoses inferred into schema, reviews, fictional FAQs or other unsupported claims. A separate schema node for every UI control is neither needed nor emitted. Public identities intentionally use the canonical Production host even on Development.
|
||||
|
||||
## Omissions corrected
|
||||
|
||||
1. **Development protection was Solver-specific.** `WritingSolver__EnableIndexing=false` correctly protected the Solver, but Home still emitted `index, follow` with no environmental HTTP safeguard. Added a global Development-origin header at its nginx virtual host. Upstream robots headers are hidden there so the effective public header is unambiguous. The `/health` location has its own matching header because nginx child `add_header` directives replace parent inheritance. Configuration validation and graceful nginx reload succeeded. Normal application deployments preserve this host-level protection.
|
||||
2. **Validation-only query variant.** `?choose=true` without a protected state token previously retained entry-page indexability. The controller now treats that validation flag as transient for robots purposes while retaining the clean entry canonical. Answer selection, state encoding/restoration, scoring, routes and Back/Forward logic are unchanged.
|
||||
3. Added application defence in depth for the next application release: `UseDevelopmentNoIndex()` before static files and redirects, plus environment-aware public HTML robots metadata. Production keeps the requested indexing policy; explicit state noindex remains intact in either environment.
|
||||
|
||||
No sitemap omission, duplicate permanent metadata, missing social asset or unstable structured identity was found.
|
||||
|
||||
## Runtime preservation and changes
|
||||
|
||||
Application/code/test commit: **`ad489bd`**.
|
||||
|
||||
A separate Calendar update had reached Development after the earlier Home deployment. To preserve that runtime and unrelated dirty-worktree changes, this audit **did not redeploy an older application snapshot**. Instead, the Development-only nginx safeguard was applied without restarting `plotdirector-dev`; application PID remained `105230` and DLL SHA-256 remained `1921dad305cb5d6817acb18207d6151b35745af1e8a5b2386f95e90bb5f19e2d` before/after.
|
||||
|
||||
The live application remains the independent `calendar-no-apply-7d05de9-20261102_155722` release. The new application safeguards and validation-only correction are committed/tested for its next application release; **`ad489bd` is not claimed as the live application commit**. Development’s existing Solver switch already prevents indexing of all its query variants, while the proxy now protects the entire Development origin. Production was neither deployed nor queried for private configuration.
|
||||
|
||||
Proxy backup: `/var/backups/plotdirector/nginx-dev-before-solver-seo-20261102.conf`. The exact Development-only [configuration patch](DevelopmentProxy.patch) is retained for review. Public HTTPS verification used normal TLS.
|
||||
|
||||
## Regression protection and evidence
|
||||
|
||||
- Clean isolated worktree at `ad489bd`: solution build passed, with two existing nullable warnings; **395 regression checks passed**, exit 0.
|
||||
- `WritingSolverSeoTests.AuditPublication` is called by the existing clean-URL regression check. It uses the native catalogue, real sitemap controller and real metadata generation; verifies exact eligible sets, flag/deactivation exclusion, no query/fragment URLs, entry inclusion, disabled exclusion, unique metadata, valid social files/JSON-LD, validation-only noindex and Production/Development boundary differences. Counts derive from publication/editorial data rather than hardcoding 52 sitemap entries.
|
||||
- `writing-solver-seo.cjs` audits rendered Razor documents and actual generated XML. Production mode refuses non-loopback origins. It verifies all 52, crawlable browse discovery, social image delivery, uniqueness, canonical/OG/schema identity, personalised/direct parity, invalid/valid state robots and validation-only URLs.
|
||||
- Production configuration exercised on the isolated real Razor host with indexing enabled, no database, workers or Production deployment. [Production results](Production.json).
|
||||
- Actual deployed Development audit passed all 52 and global proxy checks. [Development results](Development.json).
|
||||
- Earlier unchanged clean-URL browser suite covered Back/Forward, state restoration, revision and JS/no-JS; this stage changes only SEO policy around the validation flag.
|
||||
|
||||
For hands-on review: https://dev.plotdirector.com/writing-problems. Development is intentionally excluded from indexing, so its sitemap is not a Production sitemap preview.
|
||||
Loading…
x
Reference in New Issue
Block a user