Bahaikipedia:Redirect
From Bahaikipedia
Contents |
[edit] 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 redirecting page.
#REDIRECT [[NAME OF PAGE B]]
For example, to redirect the Cambridge University page ( redirecting page ) to the University of Cambridge page (target page), edit the Cambridge University page and enter:
#REDIRECT [[University of Cambridge]]
You can also redirect to page sections within an article. See Meta:Help:Redirect#A redirect to an anchor:
#REDIRECT [[University of Cambridge#History]]
Redirects to anchors should be used sparingly as the user no longer sees the helpful "(redirected from... )" text at the top of the page. However, redirecting to a heading with the same name as the redirecting page seems rather safe, try for example "Argument from contingency". If the section name changes, the redirect will simply lead to the top of the target article.
[edit] Undesirable redirects
Don't make double redirects (a redirect that points to another redirect); they don't work, they create slow, unpleasant experiences for the reader, and they make the navigational structure of the site confusing.
Double redirects are usually created after a move when old redirects are left unchanged and pointing towards an old name.
Another type of undesirable redirect is a self-redirect: an article that redirects to itself through a redirect.
[edit] Creating new redirects
You can create a new page in order to make a redirect.
Only the redirect line will be displayed when you save the page.
To go back and edit your redirect after it's working, add ?redirect=no to the end of the URL for your redirect:
http://en.wikipedia.org/wiki/Cambridge_University?redirect=no
If you wish to add a reason, select one of the tags from the Tag column below and add it one space after and on the same line as #REDIRECT [[Wherever]]. For example, on the redirect page University of cambridge,
#REDIRECT [[University of Cambridge]] {{R from other capitalisation}}
That will also add the redirect to the category listed in the Category column below. Note that there must be a space between the end of the redirect code and the template code for this to work properly.
Redirects take effect immediately after saving a page. You may need to clear your cache in order to see these changes.
[edit] Categories for redirect pages
- See Wikipedia:Categorizing redirects for situations where categorizing a redirect might be helpful.
Redirects should not normally contain categories that would fit on the target page because it can result in duplicate listings of the same page within a category. Relevant categories should be moved to the main page where the redirect is pointing. In some cases, however, adding categories to a redirect page allows legitimate alternative titles or names to be found in category lists. Redirect pages within categories will appear in italics.
[edit] What do we use redirects for?
- Compare the more complete template list in the guideline sub-page: Wikipedia:Template_messages/Redirect_pages and the notations in the corresponding category.
- Use of one of these redirects does not mean two or more can be added, if appropriate. Some redirects will have both alternative spellings, alternative capitalisations, and perhaps be an redirection to a list article entry or section. In the final analysis, all these templates do is establish a categorization of the redirect page, and like articles, more than one category can and frequently should apply.

