<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://compusofia.com/w/index.php?action=history&amp;feed=atom&amp;title=Help%3ARedirects%2Fen</id>
	<title>Help:Redirects/en - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://compusofia.com/w/index.php?action=history&amp;feed=atom&amp;title=Help%3ARedirects%2Fen"/>
	<link rel="alternate" type="text/html" href="https://compusofia.com/w/index.php?title=Help:Redirects/en&amp;action=history"/>
	<updated>2026-04-19T01:39:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://compusofia.com/w/index.php?title=Help:Redirects/en&amp;diff=11663&amp;oldid=prev</id>
		<title>FuzzyBot: Updating to match new version of source page</title>
		<link rel="alternate" type="text/html" href="https://compusofia.com/w/index.php?title=Help:Redirects/en&amp;diff=11663&amp;oldid=prev"/>
		<updated>2026-04-17T13:05:12Z</updated>

		<summary type="html">&lt;p&gt;Updating to match new version of source page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;languages/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;For information oriented towards site admins and developers, see {{ll|Manual:Redirects}} instead&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{PD Help Page}}&lt;br /&gt;
Redirects are used to forward users from one page name to another.&lt;br /&gt;
They can be useful if a particular article is referred to by multiple names, or has alternative punctuation, capitalization or spellings.&lt;br /&gt;
&lt;br /&gt;
== Types of redirects ==&lt;br /&gt;
&lt;br /&gt;
Two types of redirections exist:&lt;br /&gt;
&lt;br /&gt;
* Hard redirection: Readers navigating to the redirect page are taken directly to the target page (usually other pages of the same wiki). When a page is a redirect, you can no longer get to that page by using its name or by any link using that name. Only hard redirection is described in this article.&lt;br /&gt;
* Soft redirection: Readers are left on the redirect page but given the option of clicking the link to the target page. Usually this is achieved via a template; see corresponding [[m:Special:MyLanguage/Soft redirect|article on Meta]].&lt;br /&gt;
&lt;br /&gt;
{{note|1=In wikis with {{ll|Manual:$wgDisableHardRedirects|$wgDisableHardRedirects}} enabled (such as most public Wikimedia projects), it&amp;#039;s not possible to create a hard redirect to special pages (e.g. Special:MyLanguage) or pages located on another wiki; they will be automatically &amp;quot;softened&amp;quot;.}}&lt;br /&gt;
&lt;br /&gt;
== Appearance ==&lt;br /&gt;
&lt;br /&gt;
=== Following a redirect ===&lt;br /&gt;
&lt;br /&gt;
When a hard redirect is followed, the target page is immediately displayed, with a small notice below the page title to indicate you arrived here indirectly.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background-color: var(--background-color-base, white); color: var(--color-base, black); border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
{{fake heading|level=1|Help:Redirects}}&lt;br /&gt;
&amp;lt;div id=&amp;quot;siteSub&amp;quot;&amp;gt;{{int|Tagline}}&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;contentSub&amp;quot;&amp;gt;{{int|Redirectedfrom|[[Special:MyLanguage/Help:Redirect|Help:Redirect]]}}&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can use the link in this notice to view the redirect page.&lt;br /&gt;
This link adds the &amp;lt;code&amp;gt;&amp;amp;redirect=no&amp;lt;/code&amp;gt; [[Special:MyLanguage/Manual:Parameters to index.php|URL parameter]].&lt;br /&gt;
&lt;br /&gt;
=== Viewing a redirect ===&lt;br /&gt;
&lt;br /&gt;
When a redirect page is displayed, the small notice below the page title indicates this, and the link after the arrow icon displays the target of the redirect.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background-color: var(--background-color-base, white); color: var(--color-base, black); border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
{{fake heading|level=1|Help:Redirect}}&lt;br /&gt;
&amp;lt;div id=&amp;quot;siteSub&amp;quot;&amp;gt;{{int|Tagline}}&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;contentSub&amp;quot;&amp;gt;{{int|redirectpagesub}}&amp;lt;/div&amp;gt;&lt;br /&gt;
[[File:Redirectltr.png]] &amp;lt;span class=&amp;quot;redirectText&amp;quot; style=&amp;quot;font-size:140%&amp;quot;&amp;gt;[[Special:MyLanguage/Help:Redirects|Help:Redirects]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once you view it, you can do all the things with the redirect page that any wiki page allows.&lt;br /&gt;
You can go to the associated discussion page to discuss the redirect.&lt;br /&gt;
You can view the history of the page, including a record of the redirect.&lt;br /&gt;
You can edit the page if the redirect is wrong, and you can revert to an older version to remove the redirect.&lt;br /&gt;
&lt;br /&gt;
== Creating a redirect ==&lt;br /&gt;
&lt;br /&gt;
When a page is [[Special:MyLanguage/Help:Moving a page|moved]], a redirect from the old to the new page name is automatically created.&lt;br /&gt;
&lt;br /&gt;
Users with the &amp;quot;&amp;lt;code&amp;gt;suppressredirect&amp;lt;/code&amp;gt;&amp;quot; [[Special:MyLanguage/Manual:User rights|right]] may move a page without creating a redirect.&lt;br /&gt;
By default this right is assigned to sysops and bots.&lt;br /&gt;
&lt;br /&gt;
You may start a new page with the name you want to direct from (see {{ll|Help:Starting a new page}}).&lt;br /&gt;
You can also use an existing page that you are making inactive as a page by going to that page and using the &amp;quot;edit&amp;quot; tab at the top.&lt;br /&gt;
In either case, you will be inserting the following code at the very first text position of the Edit window for the page:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;#REDIRECT [[&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;pagename&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;#039;&amp;#039;pagename&amp;#039;&amp;#039; is the name of the destination page.&lt;br /&gt;
The word &amp;quot;redirect&amp;quot; is not case-sensitive, but there must be no space before the &amp;quot;&amp;lt;code&amp;gt;#&amp;lt;/code&amp;gt;&amp;quot; symbol.&lt;br /&gt;
If any text is present before this line, it will disable the redirect.&lt;br /&gt;
However, text or other content may appear after this line.&lt;br /&gt;
This is often used to add redirects to categories.&lt;br /&gt;
&lt;br /&gt;
Redirections can be simple page names or specified using a namespace.&lt;br /&gt;
They can be suffixed with a section name if you have the corresponding anchor defined on the target page.&lt;br /&gt;
&lt;br /&gt;
Examples of valid operational redirections:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;#REDIRECT[[Help:Magic_words#Page_names]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;#redirect [[Help:Magic_words#URL_encoded_page_names]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;#Redirect [[Manual:$wgConf]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;#REDIRECT [[MediaWiki/fr]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should &amp;#039;preview&amp;#039; (using the button below the Edit window, or use {{Key press|Alt|P}}) to check that you have entered the correct destination page name.&lt;br /&gt;
&lt;br /&gt;
When the redirect is valid, it will appear in preview as shown in the [[#Viewing a redirect|&amp;quot;Viewing a redirect&amp;quot;]] section above.&lt;br /&gt;
&lt;br /&gt;
When the redirect is not valid, it will appear in preview like a numbered list item:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background-color: var(--background-color-base, white); color: var(--color-base, black); border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
# REDIRECT &amp;lt;span style=&amp;quot;color:var(--color-progressive, #36c)&amp;quot;&amp;gt;&amp;#039;&amp;#039;pagename&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the &amp;#039;&amp;#039;pagename&amp;#039;&amp;#039; as you typed it is not a valid page, it will show in red.&lt;br /&gt;
If there is no valid destination page, you should not create the redirect.&lt;br /&gt;
&lt;br /&gt;
=== Limitations ===&lt;br /&gt;
A redirect target cannot depend on a variable, template, or parser function.&lt;br /&gt;
If that is the case, the browser will not be automatically redirected on visiting the page.&lt;br /&gt;
&lt;br /&gt;
Example of redirection not allowed (not operational):&lt;br /&gt;
*&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;#REDIRECT [[{{ll|Help:Magic_words#Page_names}}]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; although &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{ll|Help:Magic_words#Page_names}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; is operational.&lt;br /&gt;
&lt;br /&gt;
=== JavaScript page redirect ===&lt;br /&gt;
In order to avoid JavaScript functionality from breaking, all [[Special:MyLanguage/Manual:Interface/JavaScript#List of JavaScript pages|JavaScript pages]] have a different redirect syntax from regular pages.&lt;br /&gt;
This syntax allows for proper execution of the page by the browser&amp;#039;s JavaScript engine, as well as being recognised by MediaWiki as a redirect.&lt;br /&gt;
To create a JavaScript page redirect, the format that must be used is as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;js&amp;quot;&amp;gt;&lt;br /&gt;
/* #REDIRECT */mw.loader.load( &amp;quot;{{fullurl:Target.js|action=raw&amp;amp;ctype=text/javascript}}&amp;quot; );&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;code&amp;gt;Target.js&amp;lt;/code&amp;gt; is the target page name.&lt;br /&gt;
&lt;br /&gt;
== Deleting a redirect ==&lt;br /&gt;
There&amp;#039;s generally no need to delete redirects.&lt;br /&gt;
They do not occupy a significant amount of database space.&lt;br /&gt;
If a page name is vaguely meaningful, there&amp;#039;s no harm, and some benefit, in having it as a redirect to the more relevant or current page.&lt;br /&gt;
&lt;br /&gt;
If you want to [[Special:MyLanguage/Help:Moving a page|move a page]] over a redirect that has only one edit in its history and targeted to the old page name, there is no need to delete the redirect: it is overwritten.&lt;br /&gt;
If the redirect has more than one history entry, or the redirect target is somewhere else, then it can only be deleted-and-moved by an administrator.&lt;br /&gt;
&lt;br /&gt;
If you do need to delete a redirect, e.g. if the page name is offensive, or you wish to discourage people from referring to a concept by that name, then you simply go to the redirect page as mentioned above, and follow the procedures at {{ll|Help:Deletion and undeletion}}.&lt;br /&gt;
&lt;br /&gt;
== Problematic redirects ==&lt;br /&gt;
&lt;br /&gt;
=== Double redirects ===&lt;br /&gt;
A double redirect is a page redirecting to a page which is itself a redirect, and it will not work.&lt;br /&gt;
Instead, people will be presented with a view of the next redirect page.&lt;br /&gt;
This is a deliberate restriction, partly to prevent infinite loops, and partly to keep things simple.&lt;br /&gt;
&lt;br /&gt;
However, you could look out for double redirects and eliminate them by changing them to be one-step redirects instead.&lt;br /&gt;
You are most likely to need to do this after a significant [[Special:MyLanguage/Help:Moving a page|page move]].&lt;br /&gt;
Use the &amp;lt;code&amp;gt;{{int|whatlinkshere}}&amp;lt;/code&amp;gt; toolbox link to find double redirects to a particular page, or use [[Special:DoubleRedirects]] to find them throughout the whole wiki.&lt;br /&gt;
&lt;br /&gt;
There is an option, {{wg|FixDoubleRedirects}}, to automatically fix double redirects with a [[Special:MyLanguage/Manual:Job queue|job queue]].&lt;br /&gt;
However, it tends to aggravate page move vandalism, so it is disabled by default.&lt;br /&gt;
The &amp;lt;nowiki&amp;gt;__STATICREDIRECT__&amp;lt;/nowiki&amp;gt; [[Special:MyLanguage/Help:Magic words#Behavior switches|magic word]] can be used to skip the double-redirect fix on a particular page.&lt;br /&gt;
&lt;br /&gt;
{{MW version|version=1.44|comment=and after|gerrit change=1090544}}&lt;br /&gt;
{{note|text=Since 1.44, MediaWiki shows a warning if you try to save a page that redirects to a target that is also a redirect.}}&lt;br /&gt;
&lt;br /&gt;
=== Broken redirects ===&lt;br /&gt;
If the target page does not exist, the redirect is &amp;#039;&amp;#039;broken&amp;#039;&amp;#039;: redirection will not occur.&lt;br /&gt;
You may find all broken redirects at [[Special:BrokenRedirects]].&lt;br /&gt;
&lt;br /&gt;
{{MW version|version=1.44|comment=and after|gerrit change=1089205}}&lt;br /&gt;
{{note|text=Since 1.44, MediaWiki shows a warning if you try to save a page that redirects to an nonexistent page.}}&lt;br /&gt;
&lt;br /&gt;
== Transcluding a redirect ==&lt;br /&gt;
When a page called for inclusion is a redirect page, the redirect target is included instead, with the same parameters, without any redirect message.&lt;br /&gt;
A double redirect does not work.&lt;br /&gt;
&lt;br /&gt;
This allows to create several names for the same template.&lt;br /&gt;
&lt;br /&gt;
== Links to redirect ==&lt;br /&gt;
An internal link to a redirect page has CSS class &amp;lt;code&amp;gt;mw-redirect&amp;lt;/code&amp;gt;.&lt;br /&gt;
This can be useful to make them stand out, for clean-up work involving bypassing redirects.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{ll|Manual:Redirects}}&lt;br /&gt;
* {{ll|Template:soft redirect}} – for soft redirections.&lt;br /&gt;
* {{ll|Manual:redirect table}}&lt;br /&gt;
* {{method doclink |MediaWiki\Output\OutputPage |anchor=a9f70525b78a95a62073c2e5854665b8f |method=OutputPage::redirect()}} – for redirecting to arbitrary URLs from within PHP.&lt;br /&gt;
* {{ll|Category:Redirect extensions}}&lt;br /&gt;
* [[:w:Wikipedia:Redirects|Wikipedia guide on redirects]]&lt;br /&gt;
* [[Special:ListRedirects]] – see a listing of all current redirects&lt;br /&gt;
* [[:wikitech:Data_Platform/Data_Lake/Traffic/Pageviews/Redirects]] for how redirect data is collected and handled at WMF&lt;br /&gt;
&lt;br /&gt;
[[Category:Help{{#translation:}}|Redirects]]&lt;br /&gt;
[[Category:Redirect{{#translation:}}]]&lt;/div&gt;</summary>
		<author><name>FuzzyBot</name></author>
	</entry>
</feed>