Skip to content

I want to re-name a directory. How do I redirect so that my existing links aren't broken? #22301

Discussion options

You must be logged in to vote

sorry, I didn’t explain myself completely.

What I mean, is I want to change the name of a folder within the repository and I want the links that breaks to be re-directed to the new location of the resource.

For example, I want infominer.id/podcast-transcripts/index.html

to redirect to the new location infominer.id/transcripts/index.html.

[edit]

Looks like I’ve found my answer, finally:

https://help.github.com/en/articles/redirects-on-github-pages

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants