Feature request for : ability to mark an org or project *non-canonical* so that GH will take whatever measures are needed to ensure it does not compete for search engine placement with a non-GitHub canonical site.
Conversation
For lots of projects, it makes sense to have a mirror on the official name to prevent someone else from namesquatting it, but many of us *can't* do this or GitHub will bury the real project in search results and everyone's source links will end up being to GitHub.
1
2
3
Ideally, it would be possible to pass along search ranking via the links that you provide. Unfortunately, GitHub marks all the links that you provide as rel="nofollow" to discourage spammers. So, for example, github.com/GrapheneOS/Aud provides no boost to attestation.app.
1
1
2
On the other hand, any links that I create to the GitHub repositories increase the ranking for those unless I also include rel="nofollow". GitHub is boosting the search ranking of GitHub repositories for projects relative to their official sites by taking this kind of approach.
1
1
2
They also use <link rel="canonical"> to explicitly mark all the ways of viewing the repository as the canonical URL for the content. In theory, what you want is a way to configure that, but it's probably too complicated to map to another Git web interface beyond the default view.
i.e. it would be easy to let you configure the canonical for github.com/GrapheneOS/Aud but mapping the URL structure for a view like github.com/GrapheneOS/Aud to another Git web interface is a lot more complicated. I doubt they'll offer anything because status quo benefits them...

