Skip to content

Add SEO considerations to redesign plan and create robots.txt#1062

Open
Copilot wants to merge 2 commits intoprodfrom
copilot/update-website-redesign-for-seo
Open

Add SEO considerations to redesign plan and create robots.txt#1062
Copilot wants to merge 2 commits intoprodfrom
copilot/update-website-redesign-for-seo

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 25, 2026

The redesign plan (stack.md, todo.md) had no SEO coverage, and the live site is missing robots.txt, sitemap, meta descriptions, Open Graph tags, canonical links, and structured data.

dev-utils/REDESIGN/stack.md — new ## SEO section

Architectural decisions integrated into the Nunjucks redesign:

  • layout.njk meta tags: {% block description %}, <link rel="canonical"> (route handler injects clean pathname, stripping ?lng=), OG/Twitter Card defaults with per-page {% block og %} override, noindex for private/error pages
  • robots.txt: blocks /api/, /admin, /reset-password/; exposes sitemap URL
  • Sitemap: dynamic GET /sitemap.xml route, public pages only
  • JSON-LD: {% block jsonld %} slot in layout; homepage gets WebApplication schema
  • hreflang: route handlers inject the supported language list → layout renders <link rel="alternate" hreflang="xx"> for all variants
  • Semantic HTML: one <h1> per page, landmark elements, meaningful alt text
  • Core Web Vitals: notes how SSR + content-hashed assets + self-hosted fonts + modulepreload already satisfy Google's ranking signals

dev-utils/REDESIGN/todo.md — new ## SEO checklist

Converts each stack decision into a concrete task (create robots.txt, add sitemap route, inject description/canonical/OG/JSON-LD into layout.njk, social preview image, noindex private pages, hreflang injection, alt text audit, heading hierarchy audit).

src/client/robots.txt — created

Currently absent. Served automatically by the existing express.static middleware — no server code changes needed.

docs/GUIDELINES.md — Static Asset Versioning section

todo.md explicitly called for this addition: JS/CSS are auto-versioned by content hash; images and fonts require a manual ?v=N bump on every template reference when the file changes.

Original prompt

Read and study our webdite redesign plan in stack.md and todo.md. Is there anything we should change, add, or keep in mind, during the redesign, in order to take into consideration SEO? In addition can you inform me of base principles of SEO?


⚡ Quickly spin up Copilot coding agent tasks from anywhere on your macOS or Windows machine with Raycast.

@Naviary2 Naviary2 marked this pull request as ready for review March 25, 2026 02:59
Copilot AI changed the title [WIP] Review website redesign plan with SEO considerations Add SEO considerations to redesign plan and create robots.txt Mar 25, 2026
Copilot AI requested a review from Naviary2 March 25, 2026 03:06
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.

2 participants