Skip to content

Conversation

@rly
Copy link
Contributor

@rly rly commented May 8, 2025

Fix #76

@netlify
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