Help:Redirect: Difference between revisions

From WikiMD's Wellness Encyclopedia

CSV import
 
CSV import
Line 1: Line 1:
[[File:Redirect_arrow_without_text]]_<span_class="redirectText">|thumb|Redirect_arrow_without_text]]_<span_class="redirectText">]] {{Short description|MediaWiki help page on creating redirects}}
[[File:Redirect arrow without text.svg|thumb]] Help:Redirect
{{pp-move-indef}}
{{pp-semi-indef}}
{{Help page}}


'''Help:Redirect''' is a [[MediaWiki]] help page that provides guidance on how to create and manage redirects within the [[MediaWiki]] software. Redirects are used to forward users from one page to another, which can be useful for various reasons, such as handling alternative spellings, merging duplicate pages, or simplifying complex page titles.
A redirect is a page that automatically sends visitors to another page, usually an article or a section of an article. Redirects are used to help users find the information they are looking for, even if they search for it under a different name or spelling. This is particularly useful in a collaborative environment like a wiki, where multiple terms might refer to the same concept.
 
## Creating a Redirect


==Creating a Redirect==
To create a redirect, you need to edit the page that you want to redirect. In the edit box, you should enter the following syntax:
To create a redirect, you need to edit the page that you want to redirect. In the edit box, you should enter the following syntax:


<nowiki>#REDIRECT [[Target page]]</nowiki>
```
#REDIRECT [[Target page name]]
```
 
Replace "Target page name" with the name of the page you want to redirect to. For example, if you want to redirect "USA" to "United States", you would edit the "USA" page to contain:
 
```
#REDIRECT [[United States]]
```
 
### Redirecting to a Section
 
You can also redirect to a specific section of a page by using the section name. For example:
 
```
#REDIRECT [[United States#History]]
```
 
This will redirect the user directly to the "History" section of the "United States" page.
 
## Uses of Redirects
 
Redirects are useful for:
 
- '''Alternative Names''': Redirects can be used for alternative names, such as "UK" redirecting to "United Kingdom".
- '''Common Misspellings''': Redirects can help users who misspell a term, such as "Recieve" redirecting to "Receive".
- '''Abbreviations and Acronyms''': Redirects can be used for abbreviations, such as "NASA" redirecting to "National Aeronautics and Space Administration".
- '''Plural Forms''': Redirects can handle plural forms, such as "Cats" redirecting to "Cat".
 
## Redirects and Page History
 
When a page is redirected, the original page's history is preserved. This means that if you need to revert the redirect or view the history of the original page, you can do so by clicking on the "View history" tab.
 
## Editing a Redirect


Replace "Target page" with the name of the page to which you want to redirect. For example, if you want to redirect "Example" to "Sample Page," you would enter:
To edit a redirect, you need to go to the redirect page and click on the "Edit" tab. You can then change the target of the redirect or remove the redirect altogether.


<nowiki>#REDIRECT [[Sample Page]]</nowiki>
## Double Redirects


==Types of Redirects==
A double redirect occurs when a page redirects to another redirect page. This is not recommended because it can cause confusion and inefficiency. To fix a double redirect, you should edit the first redirect to point directly to the final target page.
There are several types of redirects that can be created in MediaWiki:


* '''Simple Redirects:''' These are straightforward redirects from one page to another.
## Redirects and Search
* '''Double Redirects:''' These occur when a page redirects to another page that is itself a redirect. Double redirects should be avoided as they do not work properly.
* '''Broken Redirects:''' These are redirects that point to a non-existent page. They should be fixed to ensure proper navigation.


==Managing Redirects==
Redirects help improve search functionality by allowing users to find the correct page even if they search for a different term. When a user searches for a term that is a redirect, they are taken directly to the target page.
Redirects can be managed by editing the redirect page or by using special tools available to administrators. Some common tasks include:


* '''Fixing Double Redirects:''' Administrators can use the [[Special:DoubleRedirects]] page to identify and fix double redirects.
## Deleting a Redirect
* '''Deleting Redirects:''' If a redirect is no longer needed, it can be deleted by an administrator.
* '''Updating Redirects:''' If the target page of a redirect changes, the redirect can be updated to point to the new target.


==Uses of Redirects==
Redirects can be deleted if they are no longer needed. This is done by an administrator who will remove the redirect page. Common reasons for deleting a redirect include:
Redirects are useful in various scenarios, including:


* '''Alternative Spellings:''' Redirects can handle different spellings or common misspellings of a page title.
- The redirect is misleading or incorrect.
* '''Merging Pages:''' When two pages are merged, one can be redirected to the other to preserve the history and links.
- The target page has been deleted.
* '''Simplifying Navigation:''' Redirects can simplify navigation by providing shortcuts to longer or more complex page titles.
- The redirect is a result of vandalism.


==Related Pages==
==Also see==
* [[Help:Editing]]
* [[Help:Page history]]
* [[Help:Categories]]
* [[Help:Templates]]
* [[Help:Special pages]]


==See Also==
- [[Help:Editing]]
* [[Wikipedia:Redirect]]
- [[Help:Section linking]]
* [[Help:Moving a page]]
- [[Help:Page history]]
* [[Help:Deleting a page]]
- [[Help:Searching]]


[[Category:MediaWiki help]]
{{Help}}
[[Category:Wikipedia redirects]]


{{Help navbox}}
[[Category:Wikipedia help]]
{{medicine-stub}}

Revision as of 00:51, 9 December 2024

Help:Redirect

A redirect is a page that automatically sends visitors to another page, usually an article or a section of an article. Redirects are used to help users find the information they are looking for, even if they search for it under a different name or spelling. This is particularly useful in a collaborative environment like a wiki, where multiple terms might refer to the same concept.

    1. Creating a Redirect

To create a redirect, you need to edit the page that you want to redirect. In the edit box, you should enter the following syntax:

```

  1. REDIRECT Target page name

```

Replace "Target page name" with the name of the page you want to redirect to. For example, if you want to redirect "USA" to "United States", you would edit the "USA" page to contain:

```

  1. REDIRECT United States

```

      1. Redirecting to a Section

You can also redirect to a specific section of a page by using the section name. For example:

```

  1. REDIRECT United States#History

```

This will redirect the user directly to the "History" section of the "United States" page.

    1. Uses of Redirects

Redirects are useful for:

- Alternative Names: Redirects can be used for alternative names, such as "UK" redirecting to "United Kingdom". - Common Misspellings: Redirects can help users who misspell a term, such as "Recieve" redirecting to "Receive". - Abbreviations and Acronyms: Redirects can be used for abbreviations, such as "NASA" redirecting to "National Aeronautics and Space Administration". - Plural Forms: Redirects can handle plural forms, such as "Cats" redirecting to "Cat".

    1. Redirects and Page History

When a page is redirected, the original page's history is preserved. This means that if you need to revert the redirect or view the history of the original page, you can do so by clicking on the "View history" tab.

    1. Editing a Redirect

To edit a redirect, you need to go to the redirect page and click on the "Edit" tab. You can then change the target of the redirect or remove the redirect altogether.

    1. Double Redirects

A double redirect occurs when a page redirects to another redirect page. This is not recommended because it can cause confusion and inefficiency. To fix a double redirect, you should edit the first redirect to point directly to the final target page.

    1. Redirects and Search

Redirects help improve search functionality by allowing users to find the correct page even if they search for a different term. When a user searches for a term that is a redirect, they are taken directly to the target page.

    1. Deleting a Redirect

Redirects can be deleted if they are no longer needed. This is done by an administrator who will remove the redirect page. Common reasons for deleting a redirect include:

- The redirect is misleading or incorrect. - The target page has been deleted. - The redirect is a result of vandalism.

Also see

- Help:Editing - Help:Section linking - Help:Page history - Help:Searching

  • For help with this template, please post a comment on the template talk page with a {{reply to}} one or more of the == History of Redirect ==

.