Redirection: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
'''To go back to the WikiDoc scholar program homepage, click [[WikiDoc scholar program|here]].''' | '''To go back to the WikiDoc scholar program homepage, click [[WikiDoc scholar program|here]].''' | ||
{{CMG}} | {{CMG}} | ||
Revision as of 02:43, 16 May 2020
To go back to the WikiDoc scholar program homepage, click here. Editor-In-Chief: C. Michael Gibson, M.S., M.D. [1]
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]]
How Do I Redirect To A Subheading of the Page Instead of the Page in General?
Say you want to redirect the page "Alcohol septal ablation" to a section of the parent page entitled Hypertrophic cardiomyopathy interventional cardiology. You can redirect to a specific subheading within a page by putting the name of the page followed by the hatch mark of the subheading you want to direct to. The example for alcohol septal ablation is shown below:
#REDIRECT Hypertrophic cardiomyopathy interventional cardiology#Alcohol septal ablation
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.