Skip to content

Website: /guides, /mixers and /images no longer redirect in a loop - #1303

Merged
Skeyelab merged 2 commits into
mainfrom
seo-guides-redirect-loop
Dec 3, 2026
Merged

Skeyelab merged 2 commits into
mainfrom
seo-guides-redirect-loop

Conversation

@Skeyelab

@Skeyelab Skeyelab commented Dec 3, 2026

Copy link
Copy Markdown
Member

What

On the live site, /guides, /mixers, /images and /_next redirect forever. Each is a folder in the export, not a page. nginx redirects /guides to /guides/ (its own folder rule), and our trailing-slash rule sends /guides/ back to /guides. A browser shows "too many redirects".

/guides matters most: it is the parent of every guide address, and people shorten addresses by hand.

  • /guides and /guides/ now go to the guides hub, /guides/record (301).
  • The catch-all location no longer tries a folder ($uri/ is gone from its try_files), so /mixers, /images and /_next are a plain 404. / and every page are unchanged: pages were always served from $uri.html.
  • The /mixers/ location, with its mistyped-mixer redirect, is not touched.

Checked

🤖 Generated with Claude Code

https://claude.ai/code/session_01VCgWWseQZtUzcSRzjqqQJQ

@Skeyelab
Skeyelab enabled auto-merge (squash) December 3, 2026 06:53
Skeyelab and others added 2 commits December 3, 2026 02:08
Each is a folder in the export, not a page. nginx redirected /guides to /guides/ (its own folder rule), and the
trailing-slash rule sent /guides/ back to /guides, forever: a browser showed "too many redirects".

- /guides and /guides/ go to the guides hub, /guides/record (301).
- The catch-all location no longer tries a folder, so /mixers, /images and /_next are a 404. "/" is unchanged.

tests/nginx-redirects.sh checks these against the real nginx in CI; tests/folderRedirects.test.ts pins the rules.
The nginx rules were not run locally (no Docker on this machine).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VCgWWseQZtUzcSRzjqqQJQ
Without "$uri/" in try_files the catch-all location does not find "/", which is a folder too (the same change on
soundcheckplayer.app answered 404 for the home page in CI). "location = /" serves index.html directly, and
tests/nginx-redirects.sh checks "/" with and without a query string.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VCgWWseQZtUzcSRzjqqQJQ
@Skeyelab
Skeyelab force-pushed the seo-guides-redirect-loop branch from 96ac0d4 to f3de6f6 Compare December 3, 2026 07:08
@Skeyelab
Skeyelab merged commit 4dd4be7 into main Dec 3, 2026
10 checks passed
@ericdahl-dev-coolify-integration

Copy link
Copy Markdown

The preview deployment for showrecorder-site failed. 🔴

Open Build Logs | Open Application Logs

Last updated at: 2026-12-03 07:10:58 CET

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