Jump to content

Soft redirect

From Meta, a Wikimedia project coordination wiki

This article has been adapted fromWikipedia:Soft redirectandHelp:Redirecton the English Wikipedia. The English pages have been translated in other languages. When editing or translating this page, consider referring to/ synchronizing with the current versions listed on Wikidata:Wikipedia:Soft redirectandHelp:Redirect.

Asoft redirectorinterwiki redirectis a replacement of usual or "hard"redirectsthat is usually used where the linked destination is another website — including otherWikimedia projects.Soft redirects differ from ordinary redirects in that they lead to a special redirect page first, requiring the user to click through to the redirected link again as opposed to automatically taking them there.

Unlike normal redirects, a soft redirect is not a functionality of the wiki software. It is merely a page with a notification to users, that they will be taken to another website when clicking on the link being offered.

The technique is particularly likely to be used when redirecting users across differentWikimedia sister projects.Normalredirectswould be undesirable in these circumstances, and hardinterwikiredirects are disabled. (Reasons: they could not be easily edited without hand-crafting the correct URL, since clicking on a link to the redirect page would take you straight to the redirect's target and there would be no "Redirected from..." message to click, in order to return to the redirect page itself; there would also be infinite loop security considerations.)

Example:

Soft redirects between different languages should be avoided because they will generally be unhelpful to readers unfamiliar with the destination language.

Soft redirects are intended mostly to point to external websites, where hard redirects will not function. For internal use in general, hard redirects should be used instead.

Another situation where soft redirects are used is when the intended target is a special page, and the system automatically "softens" attempted hard redirects to special pages. For example,en:Wikipedia:List of tagsredirects toen:Special:Tags.

Category soft redirects

In some projects such as English Wikipedia, a notion similar to the original interwiki soft redirect is applied to categories, and they are also called "soft redirects." See for examplew:en:Wikipedia:Categories_for_discussion#Redirecting_categories.

Templates