Skip to content

fix(seo): render translated content for language pages - #256

Merged
ThisIs-Developer merged 1 commit into
mainfrom
fix/search-console-localized-content
Sep 20, 2026
Merged

ThisIs-Developer merged 1 commit into
mainfrom
fix/search-console-localized-content

Conversation

@ThisIs-Developer

Copy link
Copy Markdown
Owner

The 14 non-English URLs reported as "Crawled - currently not indexed" returned the same English body and first-run welcome document despite localized metadata. This change serves useful translated welcome content in the initial HTML and gives new visitors a translated starter, so each language URL has matching content before and after JavaScript initialization.

Changes

  • Render welcome content for all 15 supported languages and preserve saved documents during language changes.
  • Keep public URL language, titles, canonicals, schema, and response headers consistent, including the English root and Brazilian Portuguese.
  • Exercise the Pages middleware in the development server and add npm run audit:seo for deployment checks.
  • Preserve intentional redirects for /?lang=en, /tips, and /index.html; keep them out of the sitemap.
  • Update localization documentation, synchronize desktop resources, and include a URL-by-URL Search Console report with deployment and validation steps.

Validation

  • npm run build passed.
  • 7 Chromium SEO tests passed, including all 15 initial responses, rendering without JavaScript, static-host fallback, redirects, and document preservation.
  • 4 Chromium startup/release-note smoke tests passed.
  • The GitHub importer localization regression passed across all 15 interface languages.
  • The local audit:seo check passed for all 15 canonical URLs and the expected redirects.
  • Visually checked French desktop rendering without JavaScript and French mobile rendering; no mobile page overflow or browser errors.

After deployment through Cloudflare Pages with Functions enabled, run npm run audit:seo, inspect the changed URLs in Search Console, and request reassessment. These checks establish technical eligibility; Google controls indexing, and intentional redirects may remain excluded. Translated product copy still benefits from native-speaker review.

@vercel

vercel Bot commented Sep 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
markdown-viwer Ready Ready Preview Sep 20, 2026 5:00pm UTC

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying markdownviewer with  Cloudflare Pages  Cloudflare Pages

Latest commit: beedf7c
Status: ✅  Deploy successful!
Preview URL: https://cdef0b9b.markdownviewer.pages.dev
Branch Preview URL: https://fix-search-console-localized.markdownviewer.pages.dev

View logs

@ThisIs-Developer
ThisIs-Developer merged commit 8ad5015 into main Sep 20, 2026
5 checks passed
@ThisIs-Developer
ThisIs-Developer deleted the fix/search-console-localized-content branch September 20, 2026 17:14

This branch was successfully deployed

1 active deployment
Preview — beedf7c3 Deployed Sep 20, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant