Wikia

Athlepedia, The Athletics Wiki

Help:Redirects

Talk0
771pages on
this wiki
PD-icon.svg
Important note: When you edit this page, you agree to release your contribution into the public domain. If you don't want this or can't do this because of license restrictions, please don't edit. This page is one of the Public Domain Help Pages, which can be freely copied into fresh wiki installations and/or distributed with MediaWiki software; see Help:Contents for an overview of all pages.


Redirects are used to forward users from one page name to another. They can be useful if a particular article is referred to by multiple names, or has alternative punctuation, capitalization or spellings.

Creating a redirectEdit

To create a redirect, you must start a new page with the name you want to direct from and enter the following text:

#REDIRECT [[pagename]]

where pagename is the name of the page you want to redirect users to.

You can use the 'preview' button, to check that you have entered the correct page name (Generally you will be redirecting to an existing page name, so the link should be blue not red)

Viewing a redirectEdit

After creating a redirect, you can no longer get to that page name. The browser is always redirected! However near the top of the page, a link is provided. Click this to get back to the redirected page name, and "view" the redirect.

By doing this, you can do all the things that any wiki page allows. You can go to the associated discussion page to discuss the redirect. You can view the history of the page before the redirect was put in place. You edit the page if the redirect is wrong, and you can revert to an older version to remove the redirect.

Deleting a redirectEdit

There's generally no need to delete redirects. They do not occupy a significant amount of database space, and they do not show up in wiki search results. If a page name is vaguely meaninful there's no harm (and some benefit) in having it as a redirect to the most relevant existing page in your wiki. however...

If you do need to delete a redirect, e.g. if the page name of the redirect is offensive, or you wish to discourage people from referring to concept by that name, then you simply go to the redirect page, and follow the same procedure for deleting a page See: Help:Deleting a page

Double-redirects Edit

A double-redirect (a page redirecting to a page which is itself a redirect) will not work. The redirecting will not follow through to the end of the chain. Instead people will just be presented with the relevant link (a view of the redirect page). This is a deliberate restriction, partly to prevent infinite loops, and partly to keep things simple. It avoids people building up an unpleasantly complicated tree of redirects!

However this does mean that you should look out for double-redirects and eliminate them, by changing them to be 1-step redirects instead. You are most likely to need to do this after a significant page move. Use the 'what links here' toolbox link to find double-redirects to a particular page, or use Special:DoubleRedirects to find them throughout the whole wiki.

Redirect sign

A redirect is a bit of code that forwards the user to a new page.

Creating redirects is helpful when there is more than one possible title for a page, or many different ways a user might search for a topic. Creating redirects for potential titles helps your users find the existing page, and also helps to prevent the accidental creation of duplicate articles.

Redirects are also automatically created when a page is moved, allowing links and users who used the old title to automatically be brought to the new title.

Step by step

  • To make a page redirect to another, first open the page for editing.
  • If there is any content on the page, delete it so the page is clear.
  • Enter the following onto the page:
#redirect [[Page title]]
where Page title is the name of the page you want this one to redirect to.
  • Save the page.

Tips

  • Using either lower case #redirect or upper case #REDIRECT will work.
  • The #redirect line must be the first line of the page. All other lines below it will be ignored.

Example

Instead of creating duplicate articles for Darth Vader and Anakin Skywalker on the Star Wars Wiki, you might want links [[Darth Vader]] and [[Anakin Skywalker]] to point to the same page.

If you want that page title to be "Anakin Skywalker", then "Darth Vader" should be a redirect. The Darth Vader page would contain this:

#redirect [[Anakin Skywalker]]

How do I change a redirect?

It is possible to change the Darth Vader redirect by editing it. First, try visiting the Darth Vader page, which redirects to the Anakin Skywalker page. Then, below the title of the page, you will see the text:

Click this "Darth Vader" link to go back to the redirect page at Darth Vader. You can then click "edit" to alter the Darth Vader page as usual (making the redirect link point somewhere else, or replacing it with a new article) like any other page.

What is a "double redirect"?

A double redirect is a redirect page that points to another redirect page. For example, suppose that "Vader" points to "Darth Vader" which points to "Anakin Skywalker". Then visits to the "Vader" page will be forwarded only once and stop at the "Darth Vader" redirect.

To fix this, click the (Redirected from...) link on the "Darth Vader" redirect page, to go back to the "Vader" redirect. Edit Vader's redirect to point to "Anakin Skywalker".

You can find a list of double redirects by visiting the Special:DoubleRedirects on your wiki.

Can I put anything else on a redirect page?

All text below the first line will be ignored, except for category links. Although this is rarely needed, there are a few circumstances where you might want to categorize redirects.

See also

Further Help & Feedback

Around Wikia's network

Random Wiki