gbdev / gbdev.github.io

gbdev institutional website: showcases projects and hosts some community content
https://gbdev.io
GNU General Public License v3.0
23 stars 12 forks source link

Redirect old URL for "Choosing tools"/"To C or not to C" to new URL #83

Closed pinobatch closed 1 month ago

pinobatch commented 1 year ago

The previous URL of the article "Choosing tools for Game Boy development" https://gbdev.io/to_c_or_not_to_c.html is 404 Not Found instead of the expected 301 Moved Permanently to the current URL https://gbdev.io/guides/tools.html. This breaks inbound links.

(https://www.coranac.com/2008/09/to-c-or-not-to-c/ is still present although unrelated.)

pinobatch commented 1 year ago

If a 301 is not possible on GitHub Pages, perhaps a meta refresh is. https://stackoverflow.com/a/32465659/2738262

avivace commented 1 month ago

301 is fine to me, @pinobatch , you want to send a PR?

pinobatch commented 1 month ago

I had filed this issue against the wrong repository. I will prepare a pull request for the correct repository.

avivace commented 1 month ago

Fixed in https://github.com/gbdev/gbdev.github.io/commit/309c692448683b22edbadcc764df562e9a87796b