Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to redirect to another wiki page in GitHub flavored Markdown?

Tags:

I would like to create alias pages on GitHub Wiki. Is there something similar to a Wikipedia feature that redirects WP:R and WP:RDR to Wikipedia:Redirect page?

like image 371
GabrielOshiro Avatar asked Apr 10 '15 01:04

GabrielOshiro


People also ask

How do I redirect in Markdown?

You can use the forward. html layout template to redirect any one of your markdown files to another document. By default, it redirects directly, but you can tweak the time and the messaging you want to show to your needs using Markdown frontmatter.

How do I link a wiki page to GitHub?

You can create links in wikis using the standard markup supported by your page, or using MediaWiki syntax. For example: If your pages are rendered with Markdown, the link syntax is [Link Text](full-URL-of-wiki-page) . With MediaWiki syntax, the link syntax is [[nameofwikipage|Link Text]] .

Does GitHub wiki support HTML?

With wikis, you can write content just like everywhere else on GitHub. For more information, see "Getting started with writing and formatting on GitHub." We use our open-source Markup library to convert different formats into HTML, so you can choose to write in Markdown or any other supported format.

What is Sidebar in GitHub wiki?

GitHub has a default sidebar where it places all the pages of the wiki.


1 Answers

GitHub removed/never added the possibility to configure redirects.

The original Gollum wiki supports redirects: https://github.com/gollum/gollum/wiki#redirects

But, as I tested right now, GitHub disabled the feature. It doesn't even work with renamed pages, sorry.

You can see here: Is it possible to redirect in Gollum wiki (GitHub wiki) pages? how people solved the same issue 9 years ago...

like image 178
Deloo Avatar answered Oct 07 '22 18:10

Deloo