Help:Redirect

ADVERTISEMENT
From Diablo Wiki
Jump to: navigation, search

Redirects are a tool of DiabloWiki that helps users who type in an URL directly in the address field to find their mark.


What is a Redirect?[edit source]

A redirect is a string of code that makes a page automatically pull up another page instead of loading itself. An example is to have the plural versions of a word redirected to the singular. A link to Barbarians will for example redirect to Barbarian.

How to use a Redirect[edit source]

To make a redirect, just use the following string of characters on the first line of the page:

#REDIRECT [[Barbarian]]

It's possible to add other content under the redirect string, but none will see it unless they visit the page itself. On the other hand it will enable the use of categorization and other effects.

Unfortunately, target links (such as [[Help:Markup#Creating_Links]]) will not work. The wiki will redirect to that page, but not straight to the section.

Ideally, links should be made to avoid this use of redirect, such as writing [[Barbarian]]s instead of [[Barbarians]] (read more about links on the markup help page).


Wiki Help Index [e]
Help Contents

Community Portal
Markup - Create article - Sandbox
Help FAQ
Wiki Support
Category Structure
DiabloWiki Policies
Help Category
Link us

Wiki Tools

Article History
Boilerplates
Deleting pages
Disambiguations
Moving Articles
Redirects
Stubs
Templates

Glossary

Articles
Categories
Images
Linking
Tables
Talk Pages
Vandalism