-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path_redirects
More file actions
22 lines (18 loc) · 906 Bytes
/
Copy path_redirects
File metadata and controls
22 lines (18 loc) · 906 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Redirect old blog URLs (if needed)
# Serve /blog/images/* as-is so legacy /blog/* redirect below doesn't eat assets.
# Cloudflare Pages: first matching rule wins; a 200 with identical source/dest
# is the documented exception pattern (Netlify-style "!" prefix is not supported).
/blog/images/* /blog/images/:splat 200
/blog/* /journal/:splat 301
# Newsletter redirect (permanent)
/newsletter /subscribe 301
/links /subscribe 301
# Favicon: redirect .ico requests to existing SVG
/favicon.ico /favicon.svg 301
# Biases & Fallacies Lab aliases
/projects/biases-and-fallacies/ /projects/biases-fallacies-lab/ 301
/projects/biases-and-fallacies /projects/biases-fallacies-lab/ 301
/projects/biases-fallacies/ /projects/biases-fallacies-lab/ 301
/projects/biases-fallacies /projects/biases-fallacies-lab/ 301
# Fallback for SPA-like behavior (not needed for static Astro but good to have)
/* /404.html 404