gbdev / gbdev.github.io

the 'game boy development community' institutional website: showcases projects and hosts some community content
https://gbdev.io
GNU General Public License v3.0
23 stars 11 forks source link

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

Closed pinobatch closed 3 months ago

pinobatch commented 2 years 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 2 years ago

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

avivace commented 3 months ago

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

pinobatch commented 3 months ago

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

avivace commented 3 months ago

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