Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Ok so here is how it works to fix #58
Step 1: redirect the users
Basically for those who will land on the old page referred by Google, the replacing page that I've created will be load, but the browser will redirect the user to the new page, due to the presence of this line:
Step 2: let the search engine know we moved the page
Because of this line, when the Google bot will come back to refresh the content of the cheatbook, we let him know that we moved the page:
Google will change the old page link to the canonical URL in its page index (or remove the bad link if the new page is already registered into its index).
In few days or weeks (totally random, it only depends on Google), the files I've created won't be needed anymore. To know that Google has registered the redirection.
I'll regularly make the verification and I'll make a PR to delete those files when they won't be needed anymore.
I don't use Jekyll so often so this may need a local test before running on production.
It won't break anything since it's related to pages that are not linked anymore into the cheatbook but it may need some fine tuning to make it work perfectly.
Also I'm not sure about the /cheatsheet/release.html redirecting to /cheatsheet.html > I understood that the old cheatsheet were "simplified" so maybe this page does not exists anymore.
Same for the /next/ page, not sure of what it actually were? /_next-steps.html page was the more accurate I've found.