Help:Redirects

From FamilySearch Wiki

(Difference between revisions)
m
m (Formatting)
(32 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<u>'''Quick Reference:'''</u> '''To redirect, type <nowiki>#REDIRECT [[</nowiki>''pagename''<nowiki>]]</nowiki> inserting the redirect destination where the word "pagename" appears.'''
+
{{Help article}}
  
<br>Redirects are used to forward users from one page name to another. They can be useful if a particular article is referred to by multiple names, or has alternative punctuation, capitalization or spellings. Redirecting pages may also be helpful when joining two pages into one, or if two articles contain the same, or similar information.
+
__TOC__
  
== To redirect, or not to redirect ==
+
{{Quick Reference|''To redirect, type {{xt|<nowiki>#REDIRECT [[</nowiki>pagename<nowiki>]]</nowiki>}} inserting the redirect destination where the word "pagename" appears.''}}
  
Before creating&nbsp;a redirect, first decide which of the following&nbsp;you are trying to accomplish:
+
=== What is a Redirect?  ===
  
1. Are you trying to help users find the same article under various names? This may be accomplished by creating a new page by a new title, and redirecting that page to a pre-existing page. If you are simply trying to rename a page, however, please see [[Help:Renaming a page|Renaming a page]] for details.  
+
Redirects are used to forward users from one page name to another. They can be useful if a particular article is referred to by multiple names, or has alternative punctuation, diacritics, capitalization or spellings. For example: if a user searches for an article in the Wiki on "Prussia," the user may be redirected to an article using the German spelling of that location, "Preussen." Redirecting pages may also be helpful when joining two pages into one, or if two articles contain the same, or similar information. For example, if two articles have been created on the same subject, such as "Indiana Birth, Death, and Marriage Records," and "Indiana Vital Records," the information in these articles may be joined together, and rather than deleting the title to the first article, it can be redirected to the second article.  
  
2. Are you trying to send users from a pre-existing page to another pre-existing page? If so, please see the heading&nbsp;"Resolving duplicate articles" below.
+
=== To redirect, or not to redirect  ===
  
3. Are you trying to send users from a pre-existing page to a page that has not yet been created?
+
{{main|FamilySearch Wiki:Redirects}} Before creating a redirect, first decide which of the following&nbsp;you are trying to accomplish:
  
Once you know which of the following you are trying to accomplish, decide which page you want to redirect FROM, and which page you want to redirect TO. You may want to copy the page titles of both exactly as they appear in the Wiki. Make sure both pages exist before redirecting one page to another. [[Portal:Contribute/Author and Editor|Learn how to create a new page]]. Once both pages exist (whether text appears in those pages or not), please follow the corresponding instructions below.  
+
#Are you trying to help users find the same article under various names? This is one reason to use a redirect. If you are simply trying to rename a page, however, please see [[Help:Renaming a page|Renaming a page]] for details.
 +
#Are there two articles that should be combined because they contain similar titles or information? If so,&nbsp;first read [[Help:Redirects#Resolving_duplicate_articles|resolving duplicate articles]] below, and then read [[Help:Redirects#Creating_a_redirect|create a redirect]].
 +
#Are you trying to send users from an existing page to a page that has not yet been created?
 +
 
 +
Once you know which of the following you are trying to accomplish, decide which page you want to redirect FROM, and which page you want to redirect TO. You may want to copy the page titles of both exactly as they appear in the Wiki. Make sure both pages exist before redirecting one page to another. [[Help:Contributor Help|Learn how to create a new page]]. Once both pages exist (whether text appears in those pages or not), please follow the corresponding instructions below.  
  
 
== Resolving duplicate articles  ==
 
== Resolving duplicate articles  ==
  
Duplicate pages may be resolved by copying differing information from one of the articles into the other article, and then re-directing the first article to the second article. Pages and articles are often linked together. By re-directing pages, the links to various pages will not be broken. For example:  
+
{{Contributor Help badge | link = https://familysearch.org/ask/
 +
| name = Get Help}}&nbsp; Duplicate pages may be resolved by copying differing information from one of the articles into the other article, and then re-directing the first article to the second article. Pages and articles are often linked together. By re-directing pages, the links to various pages will not be broken. For example:  
  
 
#Article A contains similar information to Article B.  
 
#Article A contains similar information to Article B.  
Line 24: Line 29:
 
#Remove any remaining text from Article A, however, do not "Delete" the page (NOTE: Deleting pages may only be done by users with administrative roles). Removing text from one of the articles is not mandatory, however, it is a good best practice. The removed text is not gone forever, but remains in the history of that page in case at some point the redirect needs to be removed.  
 
#Remove any remaining text from Article A, however, do not "Delete" the page (NOTE: Deleting pages may only be done by users with administrative roles). Removing text from one of the articles is not mandatory, however, it is a good best practice. The removed text is not gone forever, but remains in the history of that page in case at some point the redirect needs to be removed.  
 
#Using the steps below, create a "Redirect"&nbsp;FROM Article A&nbsp;TO Article B.&nbsp;
 
#Using the steps below, create a "Redirect"&nbsp;FROM Article A&nbsp;TO Article B.&nbsp;
 
<br>
 
  
 
== Creating a redirect  ==
 
== Creating a redirect  ==
  
1. Make sure you are logged in.  
+
#Make sure you are logged in.  
 
+
#Locate and navigate to the page you want to redirect FROM.  
2. Locate and navigate to the page you want to redirect FROM.  
+
#Click "Edit" under the page options. This should open the Editing window.  
 
+
#In the Editing window, type the following, however, instead of the word "pagename" type the identical title of the page you want to direct TO: {{xt|<nowiki>#REDIRECT [[</nowiki>''pagename''<nowiki>]]</nowiki>}}
3. Click "Edit" under the page options. This should open the Editing window.  
+
#Before saving, you can use the 'preview' button, to check that you have entered the correct page name (Generally you will be redirecting to an existing page name, so the link should be blue, not red). If the pagename appears red, the title entered was incorrect. (NOTE: Pagename titles are case sensitive. For example, if you attempt to redirect a page to the article titled "Indiana birth records," and you type "Indiana Birth Records," the redirect will not work.)  
 
+
#Remember to save your changes by clicking the&nbsp;"Save page" button located below the Editing window.
4. In the Editing window, type the following, however, instead of the word "pagename" type the identical title of the page you want to direct TO:  
+
 
+
<nowiki>#REDIRECT [[</nowiki>''pagename''<nowiki>]]</nowiki>
+
+
 
+
5. Before saving, you can use the 'preview' button, to check that you have entered the correct page name (Generally you will be redirecting to an existing page name, so the link should be blue, not red). If the pagename appears red, the title entered was incorrect. (NOTE: Pagename titles are case sensitive. For example, if you attempt to redirect a page to the article titled "Indiana birth records," and you type "Indiana Birth Records," the redirect will not work.)  
+
 
+
6. Remember to save your changes by clicking the&nbsp;"Save page" button located below the Editing window.  
+
  
 
== Accessing a redirected page  ==
 
== Accessing a redirected page  ==
Line 48: Line 43:
 
After creating a redirect, you will be unable to access the page that you redirected FROM by searching for the title.&nbsp;Any time a user tries to access that page, they will automatically be redirected to the page you indicated in the redirect, however near the top of the page, a link is provided that will allow users to return to the page you redirected FROM. Click this to&nbsp;view the page you redirected FROM.  
 
After creating a redirect, you will be unable to access the page that you redirected FROM by searching for the title.&nbsp;Any time a user tries to access that page, they will automatically be redirected to the page you indicated in the redirect, however near the top of the page, a link is provided that will allow users to return to the page you redirected FROM. Click this to&nbsp;view the page you redirected FROM.  
  
By doing this, you can do all the things that any other wiki page allows. You can go to the associated discussion page to discuss the redirect. You can view the history of the page before the redirect was put in place. You can edit the page if the redirect is incorrect, and you can revert to an older version to remove the redirect.  
+
By doing this, you can do all the things that any other wiki page allows. You can go to the associated talk page to discuss the redirect. You can view the history of the page before the redirect was put in place. You can edit the page if the redirect is incorrect, and you can revert to an older version to remove the redirect.  
  
== Deleting a redirected page&nbsp; ==
+
== Deleting a redirected page  ==
  
 
Deleting a redirected page is different from removing a redirect from a page. There is generally no need to delete redirected pages. They do not occupy a significant amount of database space, and they do not show up in wiki search results. If a page name is vaguely meaningful there's no harm (and some benefit) in having it as a redirect to the most relevant existing page in your wiki. However...  
 
Deleting a redirected page is different from removing a redirect from a page. There is generally no need to delete redirected pages. They do not occupy a significant amount of database space, and they do not show up in wiki search results. If a page name is vaguely meaningful there's no harm (and some benefit) in having it as a redirect to the most relevant existing page in your wiki. However...  
  
If you ''do'' need to delete a redirect, e.g. if the page name of the redirect is offensive, or you wish to discourage people from referring to a concept by that name, then you simply go to the redirect page, and follow the same procedure for deleting a page. See: [[https://wiki.familysearch.org/en/Category:Deletion_Requests Deletion Requests]]  
+
If you ''do'' need to delete a redirect, e.g. if the page name of the redirect is offensive, or you wish to discourage people from referring to a concept by that name, then you simply go to the redirect page, and follow the same procedure for deleting a page, but add the {{tl|delete}} template '''under the redirect'''. If placed before the redirect, it will stop the redirect from working. See: [[:Category:Deletion Requests|Deletion Requests]].
  
 
== Double redirects  ==
 
== Double redirects  ==
Line 64: Line 59:
 
== A redirect to a page in the category namespace  ==
 
== A redirect to a page in the category namespace  ==
  
To prevent a page that redirects to a category from appearing in that category; precede the word Category with a colon like so&nbsp;: <nowiki>#REDIRECT [[:Category:Glossary]]</nowiki>  
+
Occasionally you may need to redirect users to a category, rather than an article. Redirecting to a category page may be more complicated, because the text used to send a user to a category page automatically creates the category on that page. To prevent this, precede the word "Category" with a colon like so&nbsp;: {{xt|<nowiki>#REDIRECT [[:Category:Pagename]]</nowiki>}} As mentioned before, replace the word "Pagename" with the title of the page.
 +
 
 +
{{Contributor help-navbox}} {{Editing help}}
  
[[Category:Help|Help:Redirects]]
+
[[Category:Help|{{PAGENAME}}]]

Revision as of 05:42, 4 August 2013

Help-content.png This help article will guide you as you edit in the Wiki. See Contributor Help for more help articles.


Contents


What is a Redirect?

Redirects are used to forward users from one page name to another. They can be useful if a particular article is referred to by multiple names, or has alternative punctuation, diacritics, capitalization or spellings. For example: if a user searches for an article in the Wiki on "Prussia," the user may be redirected to an article using the German spelling of that location, "Preussen." Redirecting pages may also be helpful when joining two pages into one, or if two articles contain the same, or similar information. For example, if two articles have been created on the same subject, such as "Indiana Birth, Death, and Marriage Records," and "Indiana Vital Records," the information in these articles may be joined together, and rather than deleting the title to the first article, it can be redirected to the second article.

To redirect, or not to redirect

Main article: FamilySearch Wiki:Redirects
Before creating a redirect, first decide which of the following you are trying to accomplish: 
  1. Are you trying to help users find the same article under various names? This is one reason to use a redirect. If you are simply trying to rename a page, however, please see Renaming a page for details.
  2. Are there two articles that should be combined because they contain similar titles or information? If so, first read resolving duplicate articles below, and then read create a redirect.
  3. Are you trying to send users from an existing page to a page that has not yet been created?

Once you know which of the following you are trying to accomplish, decide which page you want to redirect FROM, and which page you want to redirect TO. You may want to copy the page titles of both exactly as they appear in the Wiki. Make sure both pages exist before redirecting one page to another. Learn how to create a new page. Once both pages exist (whether text appears in those pages or not), please follow the corresponding instructions below.

Resolving duplicate articles

Help-content.png Questions?
Visit the Get Help to receive help with contributing to the Wiki.

  Duplicate pages may be resolved by copying differing information from one of the articles into the other article, and then re-directing the first article to the second article. Pages and articles are often linked together. By re-directing pages, the links to various pages will not be broken. For example:

  1. Article A contains similar information to Article B.
  2. Copy any differing information from Article A into Article B.
  3. After copying the information from Article A, confirm that it all appears in Article B.
  4. Remove any remaining text from Article A, however, do not "Delete" the page (NOTE: Deleting pages may only be done by users with administrative roles). Removing text from one of the articles is not mandatory, however, it is a good best practice. The removed text is not gone forever, but remains in the history of that page in case at some point the redirect needs to be removed.
  5. Using the steps below, create a "Redirect" FROM Article A TO Article B. 

Creating a redirect

  1. Make sure you are logged in.
  2. Locate and navigate to the page you want to redirect FROM.
  3. Click "Edit" under the page options. This should open the Editing window.
  4. In the Editing window, type the following, however, instead of the word "pagename" type the identical title of the page you want to direct TO: #REDIRECT [[pagename]]
  5. Before saving, you can use the 'preview' button, to check that you have entered the correct page name (Generally you will be redirecting to an existing page name, so the link should be blue, not red). If the pagename appears red, the title entered was incorrect. (NOTE: Pagename titles are case sensitive. For example, if you attempt to redirect a page to the article titled "Indiana birth records," and you type "Indiana Birth Records," the redirect will not work.)
  6. Remember to save your changes by clicking the "Save page" button located below the Editing window.

Accessing a redirected page

After creating a redirect, you will be unable to access the page that you redirected FROM by searching for the title. Any time a user tries to access that page, they will automatically be redirected to the page you indicated in the redirect, however near the top of the page, a link is provided that will allow users to return to the page you redirected FROM. Click this to view the page you redirected FROM.

By doing this, you can do all the things that any other wiki page allows. You can go to the associated talk page to discuss the redirect. You can view the history of the page before the redirect was put in place. You can edit the page if the redirect is incorrect, and you can revert to an older version to remove the redirect.

Deleting a redirected page

Deleting a redirected page is different from removing a redirect from a page. There is generally no need to delete redirected pages. They do not occupy a significant amount of database space, and they do not show up in wiki search results. If a page name is vaguely meaningful there's no harm (and some benefit) in having it as a redirect to the most relevant existing page in your wiki. However...

If you do need to delete a redirect, e.g. if the page name of the redirect is offensive, or you wish to discourage people from referring to a concept by that name, then you simply go to the redirect page, and follow the same procedure for deleting a page, but add the {{delete}} template under the redirect. If placed before the redirect, it will stop the redirect from working. See: Deletion Requests.

Double redirects

A double redirect (a page redirecting to a page which is itself a redirect) will not work. The redirecting will not follow through to the end of the chain. Instead people will just be presented with the relevant link (a view of the redirect page). This is a deliberate restriction, partly to prevent infinite loops, and partly to keep things simple. It avoids people building up an unpleasantly complicated tree of redirects!

However this does mean that you should look out for double redirects and eliminate them, by changing them to be 1-step redirects instead. You are most likely to need to do this after a significant page move. Use the 'what links here' toolbox link to find double redirects to a particular page, or use Special:DoubleRedirects to find them throughout the whole wiki.

A redirect to a page in the category namespace

Occasionally you may need to redirect users to a category, rather than an article. Redirecting to a category page may be more complicated, because the text used to send a user to a category page automatically creates the category on that page. To prevent this, precede the word "Category" with a colon like so : #REDIRECT [[:Category:Pagename]] As mentioned before, replace the word "Pagename" with the title of the page.