Pages Documentation Does Not Redirect (URL) to Index Docs with 404 sub-URLs

Author: wu21-webCreated Sep 26, 2026Updated Sep 28, 2026
Labelsbug

OpenCodeReview Version

486022daaf14f7142275eddb9b3cacc3cc5dadfa

Operating System

macOS (Apple Silicon)

Installation Method

npm (global)

LLM Provider

Other OpenAI-compatible endpoint

Bug Description

The current pages server does not redirect the URL in the browser to a root documentation URL

Steps to Reproduce

  1. In your browser, type https://open-codereview.ai/docs/troubleshooting/#timeout-errorsuttggggg in the address bar
  2. View the results. The content is not found, and the page redirects to https://open-codereview.ai/docs/quickstart, but the address in the URL is left behind, which is inconsistent.
Image

Expected Behavior

We should present 404.html, or at the very least:

  • Redirect to 404.html
  • Respond with status code 404

If a maintainer still wants to redirect to the documentation instead of a hard fallback:

  • Redirect entirely to https://open-codereview.ai/docs/quickstart

Logs / Error Output

bash

AI/LLM Disclosure

  • I didn't use AI/LLM to assist or generate the content above.

Additional Context

Found when someone provided me a 404 URL. I saw the inconsistency and created this issue.

Source: alibaba/open-code-review