Skip to content

Redirect old URLs for hck22, hck23, hck24, hck25, NYU workshop #77

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

Merged
merged 8 commits into from
May 9, 2025

Conversation

rly
Copy link
Contributor

@rly rly commented May 8, 2025

Fix #76

Copy link

netlify bot commented May 8, 2025

Deploy Preview for nwborg ready!

Name Link
🔨 Latest commit f2539ff
🔍 Latest deploy log https://app.netlify.com/sites/nwborg/deploys/681e6772794d600008e9d0cd
😎 Deploy Preview https://deploy-preview-77--nwborg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@rly
Copy link
Contributor Author

rly commented May 8, 2025

The fix applied here using the hugo aliases key works. In the PR preview,
https://deploy-preview-77--nwborg.netlify.app/nwb_hackathons/HCK22_2025_DataConversion_Remote
redirects to
https://nwb.org/events/hck22-2025-dataconversion-remote/

We would have to do this for each event. Alternatively, there may be a programmatic way to do this in Javascript and Hugo but I cannot figure it out. @bendichter any ideas?

@rly rly changed the title Try to redirect nwb_hackathons/* to events/* Redirect hck22 and hck23 May 9, 2025
@rly rly changed the title Redirect hck22 and hck23 Redirect old URLs for hck22, hck23, hck24, hck25, NYU workshop May 9, 2025
@rly rly marked this pull request as ready for review May 9, 2025 20:32
@rly rly requested a review from bendichter May 9, 2025 20:43
@rly
Copy link
Contributor Author

rly commented May 9, 2025

All old links redirect in the PR preview

@rly rly enabled auto-merge (squash) May 9, 2025 20:43
@rly rly merged commit 1efc3ab into main May 9, 2025
4 of 5 checks passed
@rly rly deleted the events-redirect branch May 9, 2025 21:00
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.

Redirect hackathon page to new events page
2 participants