Wikipedia:Redirect

Wikipedia editing guideline about page redirects From Wikipedia, the free encyclopedia

A redirect is a page that automatically sends readers to another page, usually an article or section of an article. For example, if you type "UK" in the search box or click on the wikilink UK, you will be taken to the article United Kingdom with a note at the top of the page (or on mobile, in a black message bar at the bottom): "(Redirected from UKUK)". This is because the page UKUK contains special wikitext that defines it as a redirect page and indicates the target article. It is also possible to redirect to a specific section of the target page, using more advanced syntax.

An example of a Wikipedia redirect, showing a note that UK redirects to United Kingdom
An example of a redirect on the Minerva Neue skin and on mobile, from Web redirect to URL redirection. Note the black message bar on the bottom.

Redirect pages can contain other content below the redirect, such as redirect category templates, and category links (which provide a way to list article sections in categories).

Redirects are used to help people arrive more quickly at the page they want to read; this page contains guidance on how to use them properly. For technical help relating to how redirects work, . Other relevant pages are Wikipedia:Double redirects, Wikipedia:Hatnote § Redirect and WikiProject Redirect.

Purposes of redirects

Reasons for creating and maintaining redirects include:

There are redirect templates to explain the reason for a redirect.

Note that redirects to other Wikimedia wikis, other websites, special pages, or direct file links (Media: namespace) do not work. These should be avoided or replaced with a {{soft redirect}} template. Soft redirects are also used in category space (using the {{category redirect}} template). Redirects from list titles to categories (e.g. a redirect from [[List of things]] to [[Category:Things]]) are highly discouraged.[1]

How to make a redirect

Editing the source directly

To create a basic redirect using the source editor, type #REDIRECT [[target page name here]] as the only text on the page. The capitalization of the word REDIRECT doesn't matter. For instance, if you were redirecting from "UKUK" to "United Kingdom", this would be the entire body of the "UK" pageUK:

#REDIRECT [[United Kingdom]]

If you need to categorize the redirect, you may add an {{Redirect category shell}} ({{rshell}}) template with redirect categories (rcats) as the first parameter, e.g., {{rshell|
{{R to section}}
{{printworthy}}
}}
, with each rcat on a separate line.

Using VisualEditor

To create a redirect using the VisualEditor:

  1. Open the "page options" menu (icon with three parallel horizontal bars) at the top right of the editor
  2. Select "Page settings"
  3. Check the box marked "Redirect this page to"
  4. Enter the name of the target page in the text box below the checkbox
  5. Click on the blue "Apply changes" button
  6. Save the page. You may enter an edit summary, or an automatic summary will be generated.

When moving a page

Redirects can also be automatically created when you move (rename) an existing page.

Requesting a redirect

If you can't create pages, you can request redirects at Wikipedia:Redirect wizard.

How to edit a redirect or convert it into an article

Sometimes an existing redirect should really be handled by a full article, per Category:Redirects with possibilities. For example, the name of a notable musician (who does not yet have an article) may instead be a redirect to an existing article about a band of which the musician is a member. In this case, you can edit the redirect to make it into an article. Also, if an existing redirect points to the wrong page, you can edit the redirect to point to a different page.

If you want to edit a redirect page you must use a special technique in order to get to the redirect page itself. This is because when you try to go straight to the redirect page and edit it, the redirect page will automatically redirect you to its target page (because this is what a redirect page is meant to do). Below is an example of why you might need to go to a redirect page itself (to do a small edit) and how to actually get there.

For example, say Trygve Halvdan Lie did not have his own article, and so this link was a redirect to the page Secretary-General of the United Nations. If, later on, the page Trygve Lie was created as a biography, the page Trygve Halvdan Lie should be changed to redirect to Trygve Lie per WP:COMMONNAME. To do this, go to the redirect page by clicking the existing redirect note on the target page, which in this case would read "(Redirected from Trygve Halvdan LieTrygve Halvdan Lie)". Once there, you may click the "Edit" tab, and change the page from

#REDIRECT [[Secretary-General of the United Nations]]

to

#REDIRECT [[Trygve Lie]]

When adding or changing a redirect, always verify the links that already point there. For instance, if another person named Trygve Lie becomes very well known, it would make sense to make Trygve Lie a redirect to his page (after renaming the existing Trygve Lie page). Such a change cannot be made without changing all the preexisting links to Trygve Lie; these links can be found by clicking on What links here in the left hand menu. Also, when changing the target of a redirect verify that its talk page is not also a redirect and if it is, either retarget it to the current target's talk page, replace the redirect with {{talk page of redirect}} or if you turned the redirect into an article, remove it entirely unless WP:TALKCENT applies.

Targeted and untargeted redirects

Double redirects

Linking to a redirect

Categorizing redirect pages

When to delete a redirect

What needs to be done on pages that are targets of redirects?

Redirects that replace previous articles

Template redirects

Redirect protection

Category redirects

Module redirects

Suppressing redirects

Technical notes

Notes

See also

Related Articles

Wikiwand AI