Skip to content

feat: implement robots.txt and dynamic sitemap.xml#125

Merged
Rayan9064 merged 1 commit into
mainfrom
feat/seo-sitemap
Jul 20, 2026
Merged

feat: implement robots.txt and dynamic sitemap.xml#125
Rayan9064 merged 1 commit into
mainfrom
feat/seo-sitemap

Conversation

@Rayan9064

@Rayan9064 Rayan9064 commented Jul 20, 2026

Copy link
Copy Markdown
Owner

Summary by CodeRabbit

  • New Features
    • Added search engine guidance to control which site areas are crawled.
    • Added an automatically generated sitemap covering key pages and public user profiles.
    • Sitemap entries include page priorities, update frequency, and last-modified dates.

@vercel

vercel Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
dumpit Ready Ready Preview, Comment Jul 20, 2026 6:01pm

@Rayan9064
Rayan9064 merged commit c3a18ed into main Jul 20, 2026
4 checks passed
@Rayan9064
Rayan9064 deleted the feat/seo-sitemap branch July 20, 2026 18:02
@coderabbitai

coderabbitai Bot commented Jul 20, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: e1f10ce6-ca3f-4373-bb7f-bb32f237ab88

📥 Commits

Reviewing files that changed from the base of the PR and between 2820507 and 2101117.

📒 Files selected for processing (2)
  • app/robots.ts
  • app/sitemap.ts

📝 Walkthrough

Walkthrough

Adds Next.js robots and sitemap metadata routes. Robots rules allow the site root while excluding dashboard, API, and login paths. The sitemap combines static routes with Firestore user profiles and uses an environment-configured app URL.

Changes

SEO metadata routes

Layer / File(s) Summary
Crawler directives
app/robots.ts
Defines wildcard crawler rules, allows the site root, disallows selected paths, and configures the sitemap URL with an environment fallback.
Sitemap generation
app/sitemap.ts
Combines static routes with Firestore user profile URLs, converts updated_at values, and returns static routes when Firestore access fails.

Estimated code review effort: 2 (Simple) | ~10 minutes

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/seo-sitemap

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

ESLint install timed out. The project may have too many dependencies for the sandbox.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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