LQWiki:How to use a redirect

From LQWiki
Jump to navigation Jump to search

To redirect a page (1) to a different page (2), enter on page 1:

#REDIRECT [[NAME OF PAGE 2]]

For example, if somehow two pages were created for foo: [[FOO]] and [[Foo]], and you want anyone going to [[Foo]] to be redirected to [[FOO]], what you need to do is this: Go to the [[Foo]] page, click the edit button, and on the first line of the page put:

#REDIRECT [[FOO]]

With no other text in that page.

When to use a Redirect:

Later, if you need to edit a redirect, go to:
http://wiki.linuxquestions.org/wiki.phtml?title=Foo&redirect=no
(changing "Foo" in the above URL to whatever page is your "redirect page") and make your change.

See also