Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for adding a redirect with an extension for every page #274

Open
fredemmott opened this issue Sep 26, 2024 · 0 comments
Open

Support for adding a redirect with an extension for every page #274

fredemmott opened this issue Sep 26, 2024 · 0 comments

Comments

@fredemmott
Copy link

Paraphrasing @satyanash excellent old comment at #214 (comment):

  • I want to change all my URIs from /foo/bar.html to /foo/bar/
  • Once that's done, for every /foo/bar/ URI, (/foo/bar/index.html) I want to create a new /foo/bar.html URI/file that redirects to /foo/bar/

I have a workaround with a small custom plugin which is pretty straightforward (at least in my site where everything is a Jekyll::Page), but bypassing the GitHub-Pages plugin whitelist is nasty and took much longer to figure out how to do - it would be great if this could be a built-in feature in this plugin, as from the issues here it looks to be a fairly common use case.

@fredemmott fredemmott changed the title Support for adding a redirect with an exception for every page Support for adding a redirect with an extension for every page Sep 26, 2024
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

No branches or pull requests

1 participant