Skip to content

Re-enable jekyll-redirect-from to fix trailing slash 404s - #725

Open
koic wants to merge 1 commit into
rails:mainfrom
koic:re_enable_jekyll_redirect_from
Open

Re-enable jekyll-redirect-from to fix trailing slash 404s#725
koic wants to merge 1 commit into
rails:mainfrom
koic:re_enable_jekyll_redirect_from

Conversation

@koic

@koic koic commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

The jekyll-redirect-from plugin was re-enabled in #563 so that URLs with a trailing slash (e.g. /doctrine/ and /doctrine/ja/) redirect to their canonical counterparts via redirect_from front matter. However, #630 accidentally commented it out again as an unrelated hunk, which made these trailing slash URLs return 404.

Re-enabling the plugin restores the redirect stubs. The redirect loop previously fixed in #585 does not recur: all files with redirect_from were audited and none has a redirect_from path that collides with its own permalink output.

The jekyll-redirect-from plugin was re-enabled in rails#563
so that URLs with a trailing slash (e.g. /doctrine/ and /doctrine/ja/) redirect to
their canonical counterparts via `redirect_from` front matter.
However, rails#630 accidentally commented it out again as
an unrelated hunk, which made these trailing slash URLs return 404.

Re-enabling the plugin restores the redirect stubs.
The redirect loop previously fixed in rails#585 does not recur:
all files with redirect_from were audited and none has a `redirect_from` path that collides with
its own permalink output.
@koic
koic force-pushed the re_enable_jekyll_redirect_from branch from 4a4e3a7 to 3162d95 Compare August 19, 2026 16:22
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