Skip to content

Conversation

@elianiva
Copy link
Contributor

@elianiva elianiva commented Aug 14, 2025

Related GitHub Issue

Partially Closes: #5231
This should also help with #6206

If this gets approved I will also continue doing the same for https://github.com/RooCodeInc/Roo-Code-Docs/ since it seems to be suffering from the same issue.

Roo Code Task Context (Optional)

https://app.roocode.com/share/8821ffaa-d861-4a05-b31f-df92ab49d0ed

Description

This PR adds necessary SEO values needed to help with website indexing. This should also add a nice preview when people share RooCode's website making it look more legitimate. Currently it's missing a lot of values.

Test Procedure

You can check it by using a tool called check-site-meta. Run npx check-site-meta and see the updated version.

Pre-Submission Checklist

  • Issue Linked: This PR is linked to an approved GitHub Issue (see "Related GitHub Issue" above).
  • Scope: My changes are focused on the linked issue (one major feature/fix per PR).
  • Self-Review: I have performed a thorough self-review of my code.
  • Testing: New and/or updated tests have been added to cover my changes (if applicable).
  • Documentation Impact: I have considered if my changes require documentation updates (see "Documentation Updates" section below).
  • Contribution Guidelines: I have read and agree to the Contributor Guidelines.

Screenshots / Videos

Here's a screenshot comparing before and after to save you some time.

BEFORE
before

AFTER
image

Documentation Updates

Additional Notes

If it's really needed I could also probably add dynamic og image generation using something like https://github.com/vercel/satori so it looks better when people share the link, especially for the docs.

Get in Touch

@elianiva on Discord


Important

Enhances SEO metadata across multiple pages using a centralized SEO configuration, improving website indexing and sharing previews.

  • SEO Enhancements:
    • Adds SEO configuration in seo.ts for centralized metadata management.
    • Updates metadata in enterprise/page.tsx, evals/page.tsx, privacy/page.tsx, and terms/page.tsx to use SEO values for title, description, openGraph, and twitter metadata.
    • Adds keywords specific to each page, enhancing search engine visibility.
  • Robots and Sitemap:
    • Adds robots.ts to define robots.txt rules and sitemap location using SEO.url.
  • Layout Changes:
    • Updates layout.tsx to use SEO for metadata, ensuring consistent site-wide SEO settings.

This description was created by Ellipsis for 9b2c1da. You can customize this summary. It will automatically update as commits are pushed.

@elianiva elianiva requested review from cte, jr and mrubens as code owners August 14, 2025 12:14
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. enhancement New feature or request labels Aug 14, 2025
Copy link
Contributor

@roomote roomote bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution! I've reviewed the SEO improvements and they look good overall. The centralized SEO configuration is a great approach. I've left some suggestions inline to help improve the implementation, particularly around the missing sitemap and Open Graph image URL.

userAgent: "*",
allow: "/",
},
sitemap: `${SEO.url}/sitemap.xml`,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The robots.ts file references a sitemap at ${SEO.url}/sitemap.xml, but there's no sitemap.ts file included in this PR. This could cause issues as search engines will look for the sitemap but won't find it.

Consider either:

  1. Adding a sitemap.ts file in this PR
  2. Coordinating with PR feat: implement sitemap generation in TypeScript and remove XML file #6206 which implements sitemap generation
  3. Temporarily removing the sitemap reference until it's implemented

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, ideally this PR should wait for the mentioned PR

"Roo Code puts an entire AI dev team right in your editor, outpacing closed tools with deep project-wide context, multi-step agentic coding, and unmatched developer-centric flexibility.",
locale: "en_US",
ogImage: {
url: "/android-chrome-512x512.png",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ogImage URL uses a relative path. For Open Graph images to work properly across all platforms (especially social media previews), consider using an absolute URL:

Alternatively, you could make it dynamic:

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is already handled by nextjs, it automatically prepends the site url

@daniel-lxs
Copy link
Member

Thank you @elianiva, I'll take over #6206 so we can also merge this one

Copy link
Member

@daniel-lxs daniel-lxs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! Looks good

@daniel-lxs daniel-lxs moved this from Triage to PR [Needs Review] in Roo Code Roadmap Aug 14, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Aug 14, 2025
@mrubens mrubens merged commit 62d023d into RooCodeInc:main Aug 14, 2025
12 checks passed
@github-project-automation github-project-automation bot moved this from PR [Needs Review] to Done in Roo Code Roadmap Aug 14, 2025
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Aug 14, 2025
fxcl added a commit to tameslabs/Roo-Cline that referenced this pull request Aug 16, 2025
* main: (70 commits)
  fix: use native Ollama API instead of OpenAI compatibility layer (RooCodeInc#7137)
  feat: add support for OpenAI gpt-5-chat-latest model (RooCodeInc#7058)
  Make enhance with task history default to true (RooCodeInc#7140)
  Bump cloud version to 0.16.0 (RooCodeInc#7135)
  Release: v1.51.0 (RooCodeInc#7130)
  Add an API for resuming tasks by ID (RooCodeInc#7122)
  Add support for task page event population (RooCodeInc#7117)
  fix: add type check before calling .match() on diffItem.content (RooCodeInc#6905) (RooCodeInc#6906)
  Fix: Enable save button for provider dropdown and checkbox changes (RooCodeInc#7113)
  fix: Use cline.cwd as primary source for workspace path in codebaseSearchTool (RooCodeInc#6902)
  Hotfix multiple folder workspace checkpoint (RooCodeInc#6903)
  fix: prevent XML entity decoding in diff tools (RooCodeInc#7107) (RooCodeInc#7108)
  Refactor task execution system: improve call stack management (RooCodeInc#7035)
  Changeset version bump (RooCodeInc#7104)
  feat(web): fill missing SEO-related values (RooCodeInc#7096)
  Update contributors list (RooCodeInc#6883)
  Release v3.25.15 (RooCodeInc#7103)
  fix: add /evals page to sitemap generation (RooCodeInc#7102)
  feat: implement sitemap generation in TypeScript and remove XML file (RooCodeInc#6206)
  fix: reset condensing state when switching tasks (RooCodeInc#6922)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request lgtm This PR has been approved by a maintainer PR - Needs Review size:L This PR changes 100-499 lines, ignoring generated files.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Index the official website in google

4 participants