Skip to content

Add SEO foundations, slug URLs, and comment appreciations. - #13

Merged
ummaraali2 merged 1 commit into
mainfrom
feat/seo-and-discovery
Jun 12, 2026
Merged

Add SEO foundations, slug URLs, and comment appreciations.#13
ummaraali2 merged 1 commit into
mainfrom
feat/seo-and-discovery

Conversation

@ummaraali2

Copy link
Copy Markdown
Member

Dynamic sitemap and robots, JSON-LD on discussions, Terms page, explore spotlight, and upvote-only reactions so Google can crawl discussions and users get better discovery UX.

Summary

  • SEO: dynamic sitemap.xml and robots.txt, JSON-LD (ScholarlyArticle + DiscussionForumPosting), Open Graph/canonical metadata, /terms page
  • URLs: discussion pages use /d/{slug}-{uuid}; legacy /d/{uuid} redirects to canonical slug
  • Discovery: Explore “Recently active” section via GET /explore/active
  • Engagement: comment “+” appreciations (migration 019, toggle API, “Most appreciated” sort)
  • Mobile: improved comment threading (collapse deep replies on small screens)
  • Docs: DEVELOPER_NOTES.md updated with SEO section and current moderation/search notes

Post-merge deploy steps

  1. Railway — run migrations (includes 019_comment_reactions.sql):
    npm run migrate:railway

Dynamic sitemap and robots, JSON-LD on discussions, Terms page, explore spotlight, and upvote-only reactions so Google can crawl discussions and users get better discovery UX.
@vercel

vercel Bot commented Jun 12, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
postscholar Ready Ready Preview, Comment Jun 12, 2026 3:14am

@ummaraali2
ummaraali2 merged commit 990b0a9 into main Jun 12, 2026
4 checks passed
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