WikiIndex:Redirect: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
(format whitespace)
(stuff after REDIRECT ok, but not before)
Line 4: Line 4:
the redirect keyword is case-insensitive, you can also write
the redirect keyword is case-insensitive, you can also write
  <nowiki>#redirect [[Destination Page]]</nowiki>
  <nowiki>#redirect [[Destination Page]]</nowiki>
''but the redirect statement must be the only contents of the page''
but the redirect statement should be the absolute first thing on the page!  It may work to have some ancillary material, such as comments or categories, afterwards, but there should be nothing before -- not even blank lines or spaces.
 
<!-- was: ''but the redirect statement must be the only contents of the page'' -->





Revision as of 00:19, 4 February 2007

If you want to redirect one page to another, you have to write:

#REDIRECT [[Destination Page]]

the redirect keyword is case-insensitive, you can also write

#redirect [[Destination Page]]

but the redirect statement should be the absolute first thing on the page! It may work to have some ancillary material, such as comments or categories, afterwards, but there should be nothing before -- not even blank lines or spaces.


Chained redirects do not function automatically. The first redirect will execute, but the process stops after one step. The next page, containing another redirect, is shown as a link. The user must click on the link to follow the chain. So, each redirect should be constructed to point directly to the proper ultimate page.