You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: redirect deep links to their Medium article instead of 404
The site only redirected the root. index.html was served for / and
redirected to the publication home, but GitHub Pages returned its
generic 404 for any other path, so links that worked while Medium
hosted the blog.rook.io custom domain (e.g.
blog.rook.io/rook-v1-20-storage-enhancements-5331368a5936) broke.
index.html now builds the redirect target from the request path rather
than hardcoding the publication home, and a new 404.html carries the
same content. GitHub Pages serves 404.html for any path without a
matching file, so every deep link redirects to the matching slug under
medium.com/rook-io. The bare root still redirects to the publication home.
Signed-off-by: Jared Watts <jbw976@gmail.com>
0 commit comments