Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Redirect GitHub Pages site when transferring repository ownership #492
Right now, GitHub Pages won't be redirected when transferring the ownership of a repository. Hence, all links to
I contacted GitHub's support and here's the reply:
Hope this eventually gets resolved.
We have run into a very similar issue and there is no good resolution. We transferred kanaka/noVNC to noVNC/noVNC, but now the site http://kanaka.github.io/noVNC/ has stale data from the original account. Recreating kanaka/noVNC will break all the current redirecting which would be an even worse situation. Can you please put a redirect from http://kanaka.github.io/noVNC/ to http://noVNC.github.io/noVNC or at least make http://kanaka.github.io/noVNC/ return a 404? That would be better than stale date with no good way to fix it (although of course a redirect would be best).
FWIW, this just worked for me to move a GitHub pages site from one repository to a different repository under a different organization while using a custom apex domain.
Note that my goal was to move a project pages site to an organization pages site (see documentation), but these steps may work in other cases.
Note that this process required no DNS changes because the custom apex domain records were already pointing at GitHub as per this guide.