Redirection: Difference between revisions
Line 21: | Line 21: | ||
===Undesirable redirects=== | ===Undesirable redirects=== | ||
Don't make | Don't make a redirect that points to another redirect. This is called a double redirect. These redirects don't work, and they can create a slow, unpleasant experience for the reader. | ||
{{WikiDoc Help Menu}} | {{WikiDoc Help Menu}} |
Revision as of 18:34, 3 February 2009
Why redirect a page?
Sometimes a topic will have multiple names or abbreviations, and you will want to direct them all to one page
For example take the page ST Elevation Myocardial Infarction. The names STEMI, MI, Acute MI, Myocardial Infarction, AMI all are redirected to the page ST Elevation Myocardial Infarction.
How to make a redirect (redirect command)
To redirect a page A to a different page B (also called target page), enter the following redirecting command at the top of the redirecting page.
#REDIRECT [[NAME OF PAGE B]]
For example, to redirect the MI page ( redirecting page ) to the ST Elevation Myocardial Infarction page (target page), edit the MI page and enter:
#REDIRECT [[ST Elevation Myocardial Infarction]]
What if I misspell the name of a page that I create
If a spelling mistake occurs in a title such as STElevation Myocardial Infarction, it is not possible for a regular user to move the page with all its history. It is however possible to create a redirect. A new page ST Elevation Myocardial Infarction must be created first, and the contents from the old page must be copied manually. Then the old page STElevation Myocardial Infarction must be edited and its source code replaced by:
#REDIRECT [[ST Elevation Myocardial Infarction (Acute MI)]]
Undesirable redirects
Don't make a redirect that points to another redirect. This is called a double redirect. These redirects don't work, and they can create a slow, unpleasant experience for the reader.