[Show & tell] Root redirects for all unique pages #6617
couleurm
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey materials,
I did a little GitHub actions wizardry with a PowerShell script:
It make every nested page that has an unique name (e.g
domain.tld/category/unique
) have a redirect at root (e.gdomain.tld/unique
)and a way to make custom ones.
You can see the script here and how I implemented it in my
.github/workflows
folder hereBeta Was this translation helpful? Give feedback.
All reactions