Open
Conversation
Tools and Longevity Improvements
Feat: Vibesuite
feat(vibesuite): add Knowledge Gaps map, expand skills to 61, fix mod…
Optimization
Final optimization
Hotfix: Article images
Two SEO bugs in SeoGenerator emitted URLs without the active locale prefix. Search engines indexing structured data on RU/HY pages would record the wrong canonical, leading to either a hard 404 (when slugs differ between locales — e.g. uxcore Russian transliterations) or silent locale-dilution (when slugs are the same — e.g. /ru/articles/awareness-test). Both issues stem from `router.asPath` returning the canonical (un-prefixed) path under Next.js Pages Router i18n. The existing `originalUrl` already prepends `localePath` correctly and is the source of truth used by the `<link rel=canonical>` and `<meta og:url>` tags. 1. JSON-LD `"url"`: schema generator received `pageUrl` built from `domain + router.asPath`, dropping the `/ru` or `/hy` prefix. Now reuses `originalUrl` so JSON-LD matches canonical. 2. `<meta name="twitter:url">`: built from `https://keepsimple.io/${localePath}${alternateLink}` — a literal `/` between domain and `localePath` produced double-slash URLs (`https://keepsimple.io//ru/...` for RU, `https://keepsimple.io//...` for EN). Now also uses `originalUrl` for consistency and to eliminate the divergent-builder pattern that produced the original bug. Verified on /ru/articles/awareness-test and /ru/tools/longevity-protocol/about-project that JSON-LD `url` previously emitted the unprefixed path; rendered HTML before fix attached in the linkinator scan at reports/links-2026-04-28.json. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.