Skip to content
New issue

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

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

Already on GitHub? # to your account

Consider supporting redirects file or similar #178

Open
untitaker opened this issue Oct 27, 2024 · 0 comments
Open

Consider supporting redirects file or similar #178

untitaker opened this issue Oct 27, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@untitaker
Copy link
Owner

Netlify has a very simple file format for redirects: https://docs.netlify.com/routing/redirects/

I wonder if hyperlink should honor that file. But I imagine that for the purposes of link-checking, one could also do this:

cat _redirects | while read _from _to; do cp -vR "./$_to" "./$_from"; done

(although this particular implementation is jank)

@untitaker untitaker added the enhancement New feature or request label Oct 27, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant