Skip to content

fix(redirects): restore /installation as a redirect to the docs - #537

Open
fzipi wants to merge 1 commit into
mainfrom
fix/installation-alias-redirect
Open

fix(redirects): restore /installation as a redirect to the docs#537
fzipi wants to merge 1 commit into
mainfrom
fix/installation-alias-redirect

Conversation

@fzipi

@fzipi fzipi commented Aug 17, 2026

Copy link
Copy Markdown
Member

what

Adds /installation (and /installation/) to static/_redirects, pointing at
/docs/1-getting-started/1-1-crs-installation/ with a 301.

why

/installation was linked from a lot of blog posts before the documentation moved to the subsite,
and has returned 404 ever since:

https://coreruleset.org/installation                               404
https://coreruleset.org/docs/1-getting-started/1-1-crs-installation/  200

This is the third bullet of #64. A Hugo alias in the documentation repo cannot fix it: the docs are
a separate Hugo build with baseURL .../docs/, so an alias for /installation is emitted at
/docs/installation/, not at the site root. Cloudflare Pages path redirects can, and
static/_redirects is already used exactly this way for the community call links.

details

  • Both the slashed and unslashed forms are listed: Cloudflare matches the path literally, and the
    docs treat /trailing and /notrailing/ as separate rules.
  • 301 is explicit because the file's default status is 302 — worth knowing for the existing
    /register/* lines, which are currently temporary redirects.
  • Only /installation is included here. If other legacy top-level paths are worth preserving they
    can go in the same block.

caveat

The destination embeds the docs' numbered path, so reorganising the documentation would leave this
pointing at a 404 without anything noticing — _redirects is a plain file, so the lychee link
checker does not crawl it.

`/installation` was widely linked from blog posts before the documentation
moved to the subsite, and has returned 404 ever since. The page now lives at
/docs/1-getting-started/1-1-crs-installation/.

A Hugo alias in the documentation repo cannot cover this: the docs are a
separate build with baseURL /docs/, so an alias for /installation emits at
/docs/installation/. Cloudflare Pages path redirects can, and static/_redirects
is already used this way for the community call links.

Both the slashed and unslashed forms are listed because Cloudflare matches the
path literally, and 301 is explicit because the file's default is 302.

Refs #64

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

@fzipi, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 51 minutes

Limit details: You’ve used all 1 included review currently available under your plan.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 3bb65208-f873-4044-9865-4b237af5ccb5

📥 Commits

Reviewing files that changed from the base of the PR and between 24a6d14 and ee56f2d.

📒 Files selected for processing (1)
  • static/_redirects

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.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying website with  Cloudflare Pages  Cloudflare Pages

Latest commit: ee56f2d
Status: ✅  Deploy successful!
Preview URL: https://3fd0b5d0.website-1u6.pages.dev
Branch Preview URL: https://fix-installation-alias-redir.website-1u6.pages.dev

View logs

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