Help:Redirect

ADVERTISEMENT
From Diablo Wiki
Jump to: navigation, search

What is a Redirect?[edit]

A redirect is a string of code that makes a page automatically go to 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]

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 noone 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
Naming
DiabloWiki Policies
Help Category
Link us

Wiki Tools

Article History
Boilerplates
Deleting pages
Disambiguations
Moving Articles
Redirects
Stubs
Templates

Glossary

Articles
Categories
Images
Tables
Talk Pages
Vandalism