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

Update to new redirect system #329

Closed
wants to merge 4 commits into from
Closed

Conversation

MrHinsh
Copy link
Member

@MrHinsh MrHinsh commented Mar 5, 2025

No description provided.

@nkdagility-actions-bot
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://yellow-pond-042d21b03-329.westeurope.5.azurestaticapps.net

@MrHinsh
Copy link
Member Author

MrHinsh commented Mar 5, 2025

@darynb this experiment now has all of the redirects moved to 404 page and a lookup. So for example instead of having a page on the system for redirect we do:

https://yellow-pond-042d21b03-329.westeurope.5.azurestaticapps.net/learn/agile-delivery-kit/workshops/Customer-Working-Agreement/
https://yellow-pond-042d21b03-329.westeurope.5.azurestaticapps.net/resources/videos/why-is-scrum-so-easy-to-understand-but-incredibly-hard-to-master/

Ok, I broke it, fix on the way

♻️ (publish-redirects2.html): rename routesFor404 to routes for clarity

The `disableAliases` configuration is removed from `hugo.local.yaml`
to allow Hugo to generate aliases, which can be useful for redirecting
old URLs to new ones. In `publish-redirects2.html`, the variable
`routesFor404` is renamed to `routes` to better reflect its purpose
and improve code readability.
@MrHinsh MrHinsh marked this pull request as draft March 5, 2025 14:54
@nkdagility-actions-bot
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://yellow-pond-042d21b03-329.westeurope.5.azurestaticapps.net

@MrHinsh MrHinsh closed this Mar 6, 2025
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