CINXE.COM
URL redirection - Wikipedia
<!DOCTYPE html> <html class="client-nojs vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-enabled skin-theme-clientpref-day vector-toc-available" lang="en" dir="ltr"> <head> <meta charset="UTF-8"> <title>URL redirection - Wikipedia</title> <script>(function(){var className="client-js vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-enabled skin-theme-clientpref-day vector-toc-available";var cookie=document.cookie.match(/(?:^|; )enwikimwclientpreferences=([^;]+)/);if(cookie){cookie[1].split('%2C').forEach(function(pref){className=className.replace(new RegExp('(^| )'+pref.replace(/-clientpref-\w+$|[^\w-]+/g,'')+'-clientpref-\\w+( |$)'),'$1'+pref+'$2');});}document.documentElement.className=className;}());RLCONF={"wgBreakFrames":false,"wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"dmy", "wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgRequestId":"039b0fe2-8490-43f4-86bf-f933aeb3982f","wgCanonicalNamespace":"","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":0,"wgPageName":"URL_redirection","wgTitle":"URL redirection","wgCurRevisionId":1254981463,"wgRevisionId":1254981463,"wgArticleId":636686,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["CS1 maint: bot: original URL status unknown","Webarchive template wayback links","Articles with short description","Short description matches Wikidata","Use dmy dates from February 2020","Spamming","URL","Black hat search engine optimization","Internet search","Internet terminology"],"wgPageViewLanguage":"en","wgPageContentLanguage":"en","wgPageContentModel":"wikitext","wgRelevantPageName":"URL_redirection","wgRelevantArticleId":636686,"wgIsProbablyEditable":true, "wgRelevantPageIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgNoticeProject":"wikipedia","wgCiteReferencePreviewsActive":false,"wgFlaggedRevsParams":{"tags":{"status":{"levels":1}}},"wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":true,"wgPopupsFlags":0,"wgVisualEditor":{"pageLanguageCode":"en","pageLanguageDir":"ltr","pageVariantFallbacks":"en"},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":false,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":40000,"wgRelatedArticlesCompat":[],"wgCentralAuthMobileDomain":false,"wgEditSubmitButtonLabelPublish":true,"wgULSPosition":"interlanguage","wgULSisCompactLinksEnabled":false,"wgVector2022LanguageInHeader":true,"wgULSisLanguageSelectorEmpty":false,"wgWikibaseItemId":"Q1236807","wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","fullVersionList","mobile","model","platform","platformVersion"],"GEHomepageSuggestedEditsEnableTopics": true,"wgGETopicsMatchModeEnabled":false,"wgGEStructuredTaskRejectionReasonTextInputEnabled":false,"wgGELevelingUpEnabledForUser":false};RLSTATE={"ext.globalCssJs.user.styles":"ready","site.styles":"ready","user.styles":"ready","ext.globalCssJs.user":"ready","user":"ready","user.options":"loading","ext.cite.styles":"ready","ext.pygments":"ready","skins.vector.search.codex.styles":"ready","skins.vector.styles":"ready","skins.vector.icons":"ready","jquery.makeCollapsible.styles":"ready","ext.wikimediamessages.styles":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.uls.interlanguage":"ready","wikibase.client.init":"ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["ext.cite.ux-enhancements","ext.pygments.view","site","mediawiki.page.ready","jquery.makeCollapsible","mediawiki.toc","skins.vector.js","ext.centralNotice.geoIP","ext.centralNotice.startUp","ext.gadget.ReferenceTooltips","ext.gadget.switcher","ext.urlShortener.toolbar","ext.centralauth.centralautologin", "ext.popups","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader","ext.echo.centralauth","ext.eventLogging","ext.wikimediaEvents","ext.navigationTiming","ext.uls.interface","ext.cx.eventlogging.campaigns","ext.cx.uls.quick.actions","wikibase.client.vector-2022","ext.checkUser.clientHints","ext.growthExperiments.SuggestedEditSession","wikibase.sidebar.tracking"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.impl(function(){return["user.options@12s5i",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"}); }];});});</script> <link rel="stylesheet" href="/w/load.php?lang=en&modules=ext.cite.styles%7Cext.pygments%2CwikimediaBadges%7Cext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediamessages.styles%7Cjquery.makeCollapsible.styles%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles%7Cwikibase.client.init&only=styles&skin=vector-2022"> <script async="" src="/w/load.php?lang=en&modules=startup&only=scripts&raw=1&skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=en&modules=site.styles&only=styles&skin=vector-2022"> <meta name="generator" content="MediaWiki 1.44.0-wmf.4"> <meta name="referrer" content="origin"> <meta name="referrer" content="origin-when-cross-origin"> <meta name="robots" content="max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta name="viewport" content="width=1120"> <meta property="og:title" content="URL redirection - Wikipedia"> <meta property="og:type" content="website"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//en.m.wikipedia.org/wiki/URL_redirection"> <link rel="alternate" type="application/x-wiki" title="Edit this page" href="/w/index.php?title=URL_redirection&action=edit"> <link rel="apple-touch-icon" href="/static/apple-touch/wikipedia.png"> <link rel="icon" href="/static/favicon/wikipedia.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="Wikipedia (en)"> <link rel="EditURI" type="application/rsd+xml" href="//en.wikipedia.org/w/api.php?action=rsd"> <link rel="canonical" href="https://en.wikipedia.org/wiki/URL_redirection"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/deed.en"> <link rel="alternate" type="application/atom+xml" title="Wikipedia Atom feed" href="/w/index.php?title=Special:RecentChanges&feed=atom"> <link rel="dns-prefetch" href="//meta.wikimedia.org" /> <link rel="dns-prefetch" href="//login.wikimedia.org"> </head> <body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject mw-editable page-URL_redirection rootpage-URL_redirection skin-vector-2022 action-view"><a class="mw-jump-link" href="#bodyContent">Jump to content</a> <div class="vector-header-container"> <header class="vector-header mw-header"> <div class="vector-header-start"> <nav class="vector-main-menu-landmark" aria-label="Site"> <div id="vector-main-menu-dropdown" class="vector-dropdown vector-main-menu-dropdown vector-button-flush-left vector-button-flush-right" > <input type="checkbox" id="vector-main-menu-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-main-menu-dropdown" class="vector-dropdown-checkbox " aria-label="Main menu" > <label id="vector-main-menu-dropdown-label" for="vector-main-menu-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-menu mw-ui-icon-wikimedia-menu"></span> <span class="vector-dropdown-label-text">Main menu</span> </label> <div class="vector-dropdown-content"> <div id="vector-main-menu-unpinned-container" class="vector-unpinned-container"> <div id="vector-main-menu" class="vector-main-menu vector-pinnable-element"> <div class="vector-pinnable-header vector-main-menu-pinnable-header vector-pinnable-header-unpinned" data-feature-name="main-menu-pinned" data-pinnable-element-id="vector-main-menu" data-pinned-container-id="vector-main-menu-pinned-container" data-unpinned-container-id="vector-main-menu-unpinned-container" > <div class="vector-pinnable-header-label">Main menu</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-main-menu.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-main-menu.unpin">hide</button> </div> <div id="p-navigation" class="vector-menu mw-portlet mw-portlet-navigation" > <div class="vector-menu-heading"> Navigation </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage-description" class="mw-list-item"><a href="/wiki/Main_Page" title="Visit the main page [z]" accesskey="z"><span>Main page</span></a></li><li id="n-contents" class="mw-list-item"><a href="/wiki/Wikipedia:Contents" title="Guides to browsing Wikipedia"><span>Contents</span></a></li><li id="n-currentevents" class="mw-list-item"><a href="/wiki/Portal:Current_events" title="Articles related to current events"><span>Current events</span></a></li><li id="n-randompage" class="mw-list-item"><a href="/wiki/Special:Random" title="Visit a randomly selected article [x]" accesskey="x"><span>Random article</span></a></li><li id="n-aboutsite" class="mw-list-item"><a href="/wiki/Wikipedia:About" title="Learn about Wikipedia and how it works"><span>About Wikipedia</span></a></li><li id="n-contactpage" class="mw-list-item"><a href="//en.wikipedia.org/wiki/Wikipedia:Contact_us" title="How to contact Wikipedia"><span>Contact us</span></a></li> </ul> </div> </div> <div id="p-interaction" class="vector-menu mw-portlet mw-portlet-interaction" > <div class="vector-menu-heading"> Contribute </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-help" class="mw-list-item"><a href="/wiki/Help:Contents" title="Guidance on how to use and edit Wikipedia"><span>Help</span></a></li><li id="n-introduction" class="mw-list-item"><a href="/wiki/Help:Introduction" title="Learn how to edit Wikipedia"><span>Learn to edit</span></a></li><li id="n-portal" class="mw-list-item"><a href="/wiki/Wikipedia:Community_portal" title="The hub for editors"><span>Community portal</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Special:RecentChanges" title="A list of recent changes to Wikipedia [r]" accesskey="r"><span>Recent changes</span></a></li><li id="n-upload" class="mw-list-item"><a href="/wiki/Wikipedia:File_upload_wizard" title="Add images or other media for use on Wikipedia"><span>Upload file</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/Main_Page" class="mw-logo"> <img class="mw-logo-icon" src="/static/images/icons/wikipedia.png" alt="" aria-hidden="true" height="50" width="50"> <span class="mw-logo-container skin-invert"> <img class="mw-logo-wordmark" alt="Wikipedia" src="/static/images/mobile/copyright/wikipedia-wordmark-en.svg" style="width: 7.5em; height: 1.125em;"> <img class="mw-logo-tagline" alt="The Free Encyclopedia" src="/static/images/mobile/copyright/wikipedia-tagline-en.svg" width="117" height="13" style="width: 7.3125em; height: 0.8125em;"> </span> </a> </div> <div class="vector-header-end"> <div id="p-search" role="search" class="vector-search-box-vue vector-search-box-collapses vector-search-box-show-thumbnail vector-search-box-auto-expand-width vector-search-box"> <a href="/wiki/Special:Search" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only search-toggle" title="Search Wikipedia [f]" accesskey="f"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>Search</span> </a> <div class="vector-typeahead-search-container"> <div class="cdx-typeahead-search cdx-typeahead-search--show-thumbnail cdx-typeahead-search--auto-expand-width"> <form action="/w/index.php" id="searchform" class="cdx-search-input cdx-search-input--has-end-button"> <div id="simpleSearch" class="cdx-search-input__input-wrapper" data-search-loc="header-moved"> <div class="cdx-text-input cdx-text-input--has-start-icon"> <input class="cdx-text-input__input" type="search" name="search" placeholder="Search Wikipedia" aria-label="Search Wikipedia" autocapitalize="sentences" title="Search Wikipedia [f]" accesskey="f" id="searchInput" > <span class="cdx-text-input__icon cdx-text-input__start-icon"></span> </div> <input type="hidden" name="title" value="Special:Search"> </div> <button class="cdx-button cdx-search-input__end-button">Search</button> </form> </div> </div> </div> <nav class="vector-user-links vector-user-links-wide" aria-label="Personal tools"> <div class="vector-user-links-main"> <div id="p-vector-user-menu-preferences" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-userpage" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <nav class="vector-appearance-landmark" aria-label="Appearance"> <div id="vector-appearance-dropdown" class="vector-dropdown " title="Change the appearance of the page's font size, width, and color" > <input type="checkbox" id="vector-appearance-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-appearance-dropdown" class="vector-dropdown-checkbox " aria-label="Appearance" > <label id="vector-appearance-dropdown-label" for="vector-appearance-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-appearance mw-ui-icon-wikimedia-appearance"></span> <span class="vector-dropdown-label-text">Appearance</span> </label> <div class="vector-dropdown-content"> <div id="vector-appearance-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <div id="p-vector-user-menu-notifications" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-overflow" class="vector-menu mw-portlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="https://donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&utm_medium=sidebar&utm_campaign=C13_en.wikipedia.org&uselang=en" class=""><span>Donate</span></a> </li> <li id="pt-createaccount-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:CreateAccount&returnto=URL+redirection" title="You are encouraged to create an account and log in; however, it is not mandatory" class=""><span>Create account</span></a> </li> <li id="pt-login-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:UserLogin&returnto=URL+redirection" title="You're encouraged to log in; however, it's not mandatory. [o]" accesskey="o" class=""><span>Log in</span></a> </li> </ul> </div> </div> </div> <div id="vector-user-links-dropdown" class="vector-dropdown vector-user-menu vector-button-flush-right vector-user-menu-logged-out" title="Log in and more options" > <input type="checkbox" id="vector-user-links-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-user-links-dropdown" class="vector-dropdown-checkbox " aria-label="Personal tools" > <label id="vector-user-links-dropdown-label" for="vector-user-links-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-ellipsis mw-ui-icon-wikimedia-ellipsis"></span> <span class="vector-dropdown-label-text">Personal tools</span> </label> <div class="vector-dropdown-content"> <div id="p-personal" class="vector-menu mw-portlet mw-portlet-personal user-links-collapsible-item" title="User menu" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport" class="user-links-collapsible-item mw-list-item"><a href="https://donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&utm_medium=sidebar&utm_campaign=C13_en.wikipedia.org&uselang=en"><span>Donate</span></a></li><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:CreateAccount&returnto=URL+redirection" title="You are encouraged to create an account and log in; however, it is not mandatory"><span class="vector-icon mw-ui-icon-userAdd mw-ui-icon-wikimedia-userAdd"></span> <span>Create account</span></a></li><li id="pt-login" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:UserLogin&returnto=URL+redirection" title="You're encouraged to log in; however, it's not mandatory. [o]" accesskey="o"><span class="vector-icon mw-ui-icon-logIn mw-ui-icon-wikimedia-logIn"></span> <span>Log in</span></a></li> </ul> </div> </div> <div id="p-user-menu-anon-editor" class="vector-menu mw-portlet mw-portlet-user-menu-anon-editor" > <div class="vector-menu-heading"> Pages for logged out editors <a href="/wiki/Help:Introduction" aria-label="Learn more about editing"><span>learn more</span></a> </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-anoncontribs" class="mw-list-item"><a href="/wiki/Special:MyContributions" title="A list of edits made from this IP address [y]" accesskey="y"><span>Contributions</span></a></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/Special:MyTalk" title="Discussion about edits from this IP address [n]" accesskey="n"><span>Talk</span></a></li> </ul> </div> </div> </div> </div> </nav> </div> </header> </div> <div class="mw-page-container"> <div class="mw-page-container-inner"> <div class="vector-sitenotice-container"> <div id="siteNotice"><!-- CentralNotice --></div> </div> <div class="vector-column-start"> <div class="vector-main-menu-container"> <div id="mw-navigation"> <nav id="mw-panel" class="vector-main-menu-landmark" aria-label="Site"> <div id="vector-main-menu-pinned-container" class="vector-pinned-container"> </div> </nav> </div> </div> <div class="vector-sticky-pinned-container"> <nav id="mw-panel-toc" aria-label="Contents" data-event-name="ui.sidebar-toc" class="mw-table-of-contents-container vector-toc-landmark"> <div id="vector-toc-pinned-container" class="vector-pinned-container"> <div id="vector-toc" class="vector-toc vector-pinnable-element"> <div class="vector-pinnable-header vector-toc-pinnable-header vector-pinnable-header-pinned" data-feature-name="toc-pinned" data-pinnable-element-id="vector-toc" > <h2 class="vector-pinnable-header-label">Contents</h2> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-toc.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-toc.unpin">hide</button> </div> <ul class="vector-toc-contents" id="mw-panel-toc-list"> <li id="toc-mw-content-text" class="vector-toc-list-item vector-toc-level-1"> <a href="#" class="vector-toc-link"> <div class="vector-toc-text">(Top)</div> </a> </li> <li id="toc-Purposes" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Purposes"> <div class="vector-toc-text"> <span class="vector-toc-numb">1</span> <span>Purposes</span> </div> </a> <button aria-controls="toc-Purposes-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Toggle Purposes subsection</span> </button> <ul id="toc-Purposes-sublist" class="vector-toc-list"> <li id="toc-Forcing_HTTPS" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Forcing_HTTPS"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.1</span> <span>Forcing HTTPS</span> </div> </a> <ul id="toc-Forcing_HTTPS-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Similar_domain_names" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Similar_domain_names"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.2</span> <span>Similar domain names</span> </div> </a> <ul id="toc-Similar_domain_names-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Moving_pages_to_a_new_domain" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Moving_pages_to_a_new_domain"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.3</span> <span>Moving pages to a new domain</span> </div> </a> <ul id="toc-Moving_pages_to_a_new_domain-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Logging_outgoing_links" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Logging_outgoing_links"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.4</span> <span>Logging outgoing links</span> </div> </a> <ul id="toc-Logging_outgoing_links-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Short_aliases_for_long_URLs" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Short_aliases_for_long_URLs"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.5</span> <span>Short aliases for long URLs</span> </div> </a> <ul id="toc-Short_aliases_for_long_URLs-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Meaningful,_persistent_aliases_for_long_or_changing_URLs" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Meaningful,_persistent_aliases_for_long_or_changing_URLs"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.6</span> <span>Meaningful, persistent aliases for long or changing URLs</span> </div> </a> <ul id="toc-Meaningful,_persistent_aliases_for_long_or_changing_URLs-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Post/Redirect/Get" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Post/Redirect/Get"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.7</span> <span>Post/Redirect/Get</span> </div> </a> <ul id="toc-Post/Redirect/Get-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Device_targeting_and_geotargeting" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Device_targeting_and_geotargeting"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.8</span> <span>Device targeting and geotargeting</span> </div> </a> <ul id="toc-Device_targeting_and_geotargeting-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Manipulating_search_engines" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Manipulating_search_engines"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.9</span> <span>Manipulating search engines</span> </div> </a> <ul id="toc-Manipulating_search_engines-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Manipulating_visitors" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Manipulating_visitors"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.10</span> <span>Manipulating visitors</span> </div> </a> <ul id="toc-Manipulating_visitors-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Removing_referrer_information" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Removing_referrer_information"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.11</span> <span>Removing referrer information</span> </div> </a> <ul id="toc-Removing_referrer_information-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Implementation" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Implementation"> <div class="vector-toc-text"> <span class="vector-toc-numb">2</span> <span>Implementation</span> </div> </a> <button aria-controls="toc-Implementation-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Toggle Implementation subsection</span> </button> <ul id="toc-Implementation-sublist" class="vector-toc-list"> <li id="toc-Manual_redirect" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Manual_redirect"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.1</span> <span>Manual redirect</span> </div> </a> <ul id="toc-Manual_redirect-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-HTTP_status_codes_3xx" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#HTTP_status_codes_3xx"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.2</span> <span>HTTP status codes 3xx</span> </div> </a> <ul id="toc-HTTP_status_codes_3xx-sublist" class="vector-toc-list"> <li id="toc-Example_HTTP_response_for_a_301_redirect" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#Example_HTTP_response_for_a_301_redirect"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.2.1</span> <span>Example HTTP response for a 301 redirect</span> </div> </a> <ul id="toc-Example_HTTP_response_for_a_301_redirect-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Using_server-side_scripting_for_redirection" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#Using_server-side_scripting_for_redirection"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.2.2</span> <span>Using server-side scripting for redirection</span> </div> </a> <ul id="toc-Using_server-side_scripting_for_redirection-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Apache_HTTP_Server_mod_rewrite" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#Apache_HTTP_Server_mod_rewrite"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.2.3</span> <span>Apache HTTP Server mod_rewrite</span> </div> </a> <ul id="toc-Apache_HTTP_Server_mod_rewrite-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-nginx_rewrite" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#nginx_rewrite"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.2.4</span> <span>nginx rewrite</span> </div> </a> <ul id="toc-nginx_rewrite-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Refresh_Meta_tag_and_HTTP_refresh_header" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Refresh_Meta_tag_and_HTTP_refresh_header"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.3</span> <span>Refresh Meta tag and HTTP refresh header</span> </div> </a> <ul id="toc-Refresh_Meta_tag_and_HTTP_refresh_header-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-JavaScript_redirects" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#JavaScript_redirects"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.4</span> <span>JavaScript redirects</span> </div> </a> <ul id="toc-JavaScript_redirects-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Frame_redirects" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Frame_redirects"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.5</span> <span>Frame redirects</span> </div> </a> <ul id="toc-Frame_redirects-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Redirect_chains" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Redirect_chains"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.6</span> <span>Redirect chains</span> </div> </a> <ul id="toc-Redirect_chains-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Redirect_loops" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Redirect_loops"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.7</span> <span>Redirect loops</span> </div> </a> <ul id="toc-Redirect_loops-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Services" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Services"> <div class="vector-toc-text"> <span class="vector-toc-numb">3</span> <span>Services</span> </div> </a> <button aria-controls="toc-Services-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Toggle Services subsection</span> </button> <ul id="toc-Services-sublist" class="vector-toc-list"> <li id="toc-URL_redirection_services" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#URL_redirection_services"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.1</span> <span>URL redirection services</span> </div> </a> <ul id="toc-URL_redirection_services-sublist" class="vector-toc-list"> <li id="toc-History" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#History"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.1.1</span> <span>History</span> </div> </a> <ul id="toc-History-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Referrer_masking" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Referrer_masking"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.2</span> <span>Referrer masking</span> </div> </a> <ul id="toc-Referrer_masking-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Security_issues" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Security_issues"> <div class="vector-toc-text"> <span class="vector-toc-numb">4</span> <span>Security issues</span> </div> </a> <ul id="toc-Security_issues-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-See_also" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#See_also"> <div class="vector-toc-text"> <span class="vector-toc-numb">5</span> <span>See also</span> </div> </a> <ul id="toc-See_also-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-References" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#References"> <div class="vector-toc-text"> <span class="vector-toc-numb">6</span> <span>References</span> </div> </a> <ul id="toc-References-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-External_links" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#External_links"> <div class="vector-toc-text"> <span class="vector-toc-numb">7</span> <span>External links</span> </div> </a> <ul id="toc-External_links-sublist" class="vector-toc-list"> </ul> </li> </ul> </div> </div> </nav> </div> </div> <div class="mw-content-container"> <main id="content" class="mw-body"> <header class="mw-body-header vector-page-titlebar"> <nav aria-label="Contents" class="vector-toc-landmark"> <div id="vector-page-titlebar-toc" class="vector-dropdown vector-page-titlebar-toc vector-button-flush-left" > <input type="checkbox" id="vector-page-titlebar-toc-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-titlebar-toc" class="vector-dropdown-checkbox " aria-label="Toggle the table of contents" > <label id="vector-page-titlebar-toc-label" for="vector-page-titlebar-toc-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-listBullet mw-ui-icon-wikimedia-listBullet"></span> <span class="vector-dropdown-label-text">Toggle the table of contents</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-titlebar-toc-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <h1 id="firstHeading" class="firstHeading mw-first-heading"><span class="mw-page-title-main">URL redirection</span></h1> <div id="p-lang-btn" class="vector-dropdown mw-portlet mw-portlet-lang" > <input type="checkbox" id="p-lang-btn-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-lang-btn" class="vector-dropdown-checkbox mw-interlanguage-selector" aria-label="Go to an article in another language. Available in 15 languages" > <label id="p-lang-btn-label" for="p-lang-btn-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--action-progressive mw-portlet-lang-heading-15" aria-hidden="true" ><span class="vector-icon mw-ui-icon-language-progressive mw-ui-icon-wikimedia-language-progressive"></span> <span class="vector-dropdown-label-text">15 languages</span> </label> <div class="vector-dropdown-content"> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="interlanguage-link interwiki-ar mw-list-item"><a href="https://ar.wikipedia.org/wiki/%D8%A5%D8%B9%D8%A7%D8%AF%D8%A9_%D8%AA%D9%88%D8%AC%D9%8A%D9%87_%D9%8A%D9%88_%D8%A2%D8%B1_%D8%A5%D9%84" title="إعادة توجيه يو آر إل – Arabic" lang="ar" hreflang="ar" data-title="إعادة توجيه يو آر إل" data-language-autonym="العربية" data-language-local-name="Arabic" class="interlanguage-link-target"><span>العربية</span></a></li><li class="interlanguage-link interwiki-da mw-list-item"><a href="https://da.wikipedia.org/wiki/URL-alias" title="URL-alias – Danish" lang="da" hreflang="da" data-title="URL-alias" data-language-autonym="Dansk" data-language-local-name="Danish" class="interlanguage-link-target"><span>Dansk</span></a></li><li class="interlanguage-link interwiki-de mw-list-item"><a href="https://de.wikipedia.org/wiki/Weiterleitung" title="Weiterleitung – German" lang="de" hreflang="de" data-title="Weiterleitung" data-language-autonym="Deutsch" data-language-local-name="German" class="interlanguage-link-target"><span>Deutsch</span></a></li><li class="interlanguage-link interwiki-es mw-list-item"><a href="https://es.wikipedia.org/wiki/Redirecci%C3%B3n_de_URL" title="Redirección de URL – Spanish" lang="es" hreflang="es" data-title="Redirección de URL" data-language-autonym="Español" data-language-local-name="Spanish" class="interlanguage-link-target"><span>Español</span></a></li><li class="interlanguage-link interwiki-fa mw-list-item"><a href="https://fa.wikipedia.org/wiki/%D8%AA%D8%BA%DB%8C%DB%8C%D8%B1_%D9%85%D8%B3%DB%8C%D8%B1_%D9%86%D8%B4%D8%A7%D9%86%DB%8C_%D9%88%D8%A8" title="تغییر مسیر نشانی وب – Persian" lang="fa" hreflang="fa" data-title="تغییر مسیر نشانی وب" data-language-autonym="فارسی" data-language-local-name="Persian" class="interlanguage-link-target"><span>فارسی</span></a></li><li class="interlanguage-link interwiki-fr mw-list-item"><a href="https://fr.wikipedia.org/wiki/Redirection_d%27URL" title="Redirection d'URL – French" lang="fr" hreflang="fr" data-title="Redirection d'URL" data-language-autonym="Français" data-language-local-name="French" class="interlanguage-link-target"><span>Français</span></a></li><li class="interlanguage-link interwiki-ko mw-list-item"><a href="https://ko.wikipedia.org/wiki/URL_%EB%A6%AC%EB%8B%A4%EC%9D%B4%EB%A0%89%EC%85%98" title="URL 리다이렉션 – Korean" lang="ko" hreflang="ko" data-title="URL 리다이렉션" data-language-autonym="한국어" data-language-local-name="Korean" class="interlanguage-link-target"><span>한국어</span></a></li><li class="interlanguage-link interwiki-it mw-list-item"><a href="https://it.wikipedia.org/wiki/Reindirizzamento_di_URL" title="Reindirizzamento di URL – Italian" lang="it" hreflang="it" data-title="Reindirizzamento di URL" data-language-autonym="Italiano" data-language-local-name="Italian" class="interlanguage-link-target"><span>Italiano</span></a></li><li class="interlanguage-link interwiki-ja mw-list-item"><a href="https://ja.wikipedia.org/wiki/%E3%83%AA%E3%83%80%E3%82%A4%E3%83%AC%E3%82%AF%E3%83%88_(HTTP)" title="リダイレクト (HTTP) – Japanese" lang="ja" hreflang="ja" data-title="リダイレクト (HTTP)" data-language-autonym="日本語" data-language-local-name="Japanese" class="interlanguage-link-target"><span>日本語</span></a></li><li class="interlanguage-link interwiki-pl mw-list-item"><a href="https://pl.wikipedia.org/wiki/Przekierowanie_URL" title="Przekierowanie URL – Polish" lang="pl" hreflang="pl" data-title="Przekierowanie URL" data-language-autonym="Polski" data-language-local-name="Polish" class="interlanguage-link-target"><span>Polski</span></a></li><li class="interlanguage-link interwiki-pt mw-list-item"><a href="https://pt.wikipedia.org/wiki/Redirecionamento_de_URL" title="Redirecionamento de URL – Portuguese" lang="pt" hreflang="pt" data-title="Redirecionamento de URL" data-language-autonym="Português" data-language-local-name="Portuguese" class="interlanguage-link-target"><span>Português</span></a></li><li class="interlanguage-link interwiki-ru mw-list-item"><a href="https://ru.wikipedia.org/wiki/%D0%9F%D0%B5%D1%80%D0%B5%D0%BD%D0%B0%D0%BF%D1%80%D0%B0%D0%B2%D0%BB%D0%B5%D0%BD%D0%B8%D0%B5_URL" title="Перенаправление URL – Russian" lang="ru" hreflang="ru" data-title="Перенаправление URL" data-language-autonym="Русский" data-language-local-name="Russian" class="interlanguage-link-target"><span>Русский</span></a></li><li class="interlanguage-link interwiki-sr mw-list-item"><a href="https://sr.wikipedia.org/wiki/URL_preusmerenje" title="URL preusmerenje – Serbian" lang="sr" hreflang="sr" data-title="URL preusmerenje" data-language-autonym="Српски / srpski" data-language-local-name="Serbian" class="interlanguage-link-target"><span>Српски / srpski</span></a></li><li class="interlanguage-link interwiki-uk mw-list-item"><a href="https://uk.wikipedia.org/wiki/%D0%9F%D0%B5%D1%80%D0%B5%D0%BD%D0%B0%D0%BF%D1%80%D0%B0%D0%B2%D0%BB%D0%B5%D0%BD%D0%BD%D1%8F_URL" title="Перенаправлення URL – Ukrainian" lang="uk" hreflang="uk" data-title="Перенаправлення URL" data-language-autonym="Українська" data-language-local-name="Ukrainian" class="interlanguage-link-target"><span>Українська</span></a></li><li class="interlanguage-link interwiki-zh mw-list-item"><a href="https://zh.wikipedia.org/wiki/%E7%B6%B2%E5%9F%9F%E5%90%8D%E7%A8%B1%E8%BD%89%E5%9D%80" title="網域名稱轉址 – Chinese" lang="zh" hreflang="zh" data-title="網域名稱轉址" data-language-autonym="中文" data-language-local-name="Chinese" class="interlanguage-link-target"><span>中文</span></a></li> </ul> <div class="after-portlet after-portlet-lang"><span class="wb-langlinks-edit wb-langlinks-link"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q1236807#sitelinks-wikipedia" title="Edit interlanguage links" class="wbc-editpage">Edit links</a></span></div> </div> </div> </div> </header> <div class="vector-page-toolbar"> <div class="vector-page-toolbar-container"> <div id="left-navigation"> <nav aria-label="Namespaces"> <div id="p-associated-pages" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-associated-pages" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-nstab-main" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/URL_redirection" title="View the content page [c]" accesskey="c"><span>Article</span></a></li><li id="ca-talk" class="vector-tab-noicon mw-list-item"><a href="/wiki/Talk:URL_redirection" rel="discussion" title="Discuss improvements to the content page [t]" accesskey="t"><span>Talk</span></a></li> </ul> </div> </div> <div id="vector-variants-dropdown" class="vector-dropdown emptyPortlet" > <input type="checkbox" id="vector-variants-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-variants-dropdown" class="vector-dropdown-checkbox " aria-label="Change language variant" > <label id="vector-variants-dropdown-label" for="vector-variants-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">English</span> </label> <div class="vector-dropdown-content"> <div id="p-variants" class="vector-menu mw-portlet mw-portlet-variants emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> </div> </div> </nav> </div> <div id="right-navigation" class="vector-collapsible"> <nav aria-label="Views"> <div id="p-views" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-views" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-view" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/URL_redirection"><span>Read</span></a></li><li id="ca-edit" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=URL_redirection&action=edit" title="Edit this page [e]" accesskey="e"><span>Edit</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=URL_redirection&action=history" title="Past revisions of this page [h]" accesskey="h"><span>View history</span></a></li> </ul> </div> </div> </nav> <nav class="vector-page-tools-landmark" aria-label="Page tools"> <div id="vector-page-tools-dropdown" class="vector-dropdown vector-page-tools-dropdown" > <input type="checkbox" id="vector-page-tools-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-tools-dropdown" class="vector-dropdown-checkbox " aria-label="Tools" > <label id="vector-page-tools-dropdown-label" for="vector-page-tools-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">Tools</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-tools-unpinned-container" class="vector-unpinned-container"> <div id="vector-page-tools" class="vector-page-tools vector-pinnable-element"> <div class="vector-pinnable-header vector-page-tools-pinnable-header vector-pinnable-header-unpinned" data-feature-name="page-tools-pinned" data-pinnable-element-id="vector-page-tools" data-pinned-container-id="vector-page-tools-pinned-container" data-unpinned-container-id="vector-page-tools-unpinned-container" > <div class="vector-pinnable-header-label">Tools</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-page-tools.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-page-tools.unpin">hide</button> </div> <div id="p-cactions" class="vector-menu mw-portlet mw-portlet-cactions emptyPortlet vector-has-collapsible-items" title="More options" > <div class="vector-menu-heading"> Actions </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-more-view" class="selected vector-more-collapsible-item mw-list-item"><a href="/wiki/URL_redirection"><span>Read</span></a></li><li id="ca-more-edit" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=URL_redirection&action=edit" title="Edit this page [e]" accesskey="e"><span>Edit</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=URL_redirection&action=history"><span>View history</span></a></li> </ul> </div> </div> <div id="p-tb" class="vector-menu mw-portlet mw-portlet-tb" > <div class="vector-menu-heading"> General </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/Special:WhatLinksHere/URL_redirection" title="List of all English Wikipedia pages containing links to this page [j]" accesskey="j"><span>What links here</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Special:RecentChangesLinked/URL_redirection" rel="nofollow" title="Recent changes in pages linked from this page [k]" accesskey="k"><span>Related changes</span></a></li><li id="t-upload" class="mw-list-item"><a href="/wiki/Wikipedia:File_Upload_Wizard" title="Upload files [u]" accesskey="u"><span>Upload file</span></a></li><li id="t-specialpages" class="mw-list-item"><a href="/wiki/Special:SpecialPages" title="A list of all special pages [q]" accesskey="q"><span>Special pages</span></a></li><li id="t-permalink" class="mw-list-item"><a href="/w/index.php?title=URL_redirection&oldid=1254981463" title="Permanent link to this revision of this page"><span>Permanent link</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=URL_redirection&action=info" title="More information about this page"><span>Page information</span></a></li><li id="t-cite" class="mw-list-item"><a href="/w/index.php?title=Special:CiteThisPage&page=URL_redirection&id=1254981463&wpFormIdentifier=titleform" title="Information on how to cite this page"><span>Cite this page</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=Special:UrlShortener&url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FURL_redirection"><span>Get shortened URL</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Special:QrCode&url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FURL_redirection"><span>Download QR code</span></a></li> </ul> </div> </div> <div id="p-coll-print_export" class="vector-menu mw-portlet mw-portlet-coll-print_export" > <div class="vector-menu-heading"> Print/export </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="coll-download-as-rl" class="mw-list-item"><a href="/w/index.php?title=Special:DownloadAsPdf&page=URL_redirection&action=show-download-screen" title="Download this page as a PDF file"><span>Download as PDF</span></a></li><li id="t-print" class="mw-list-item"><a href="/w/index.php?title=URL_redirection&printable=yes" title="Printable version of this page [p]" accesskey="p"><span>Printable version</span></a></li> </ul> </div> </div> <div id="p-wikibase-otherprojects" class="vector-menu mw-portlet mw-portlet-wikibase-otherprojects" > <div class="vector-menu-heading"> In other projects </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-wikibase" class="wb-otherproject-link wb-otherproject-wikibase-dataitem mw-list-item"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q1236807" title="Structured data on this page hosted by Wikidata [g]" accesskey="g"><span>Wikidata item</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> </div> </div> </div> <div class="vector-column-end"> <div class="vector-sticky-pinned-container"> <nav class="vector-page-tools-landmark" aria-label="Page tools"> <div id="vector-page-tools-pinned-container" class="vector-pinned-container"> </div> </nav> <nav class="vector-appearance-landmark" aria-label="Appearance"> <div id="vector-appearance-pinned-container" class="vector-pinned-container"> <div id="vector-appearance" class="vector-appearance vector-pinnable-element"> <div class="vector-pinnable-header vector-appearance-pinnable-header vector-pinnable-header-pinned" data-feature-name="appearance-pinned" data-pinnable-element-id="vector-appearance" data-pinned-container-id="vector-appearance-pinned-container" data-unpinned-container-id="vector-appearance-unpinned-container" > <div class="vector-pinnable-header-label">Appearance</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">hide</button> </div> </div> </div> </nav> </div> </div> <div id="bodyContent" class="vector-body" aria-labelledby="firstHeading" data-mw-ve-target-container> <div class="vector-body-before-content"> <div class="mw-indicators"> </div> <div id="siteSub" class="noprint">From Wikipedia, the free encyclopedia</div> </div> <div id="contentSub"><div id="mw-content-subtitle"></div></div> <div id="mw-content-text" class="mw-body-content"><div class="mw-content-ltr mw-parser-output" lang="en" dir="ltr"><div class="shortdescription nomobile noexcerpt noprint searchaux" style="display:none">Technique for making a Web page available under more than one URL address</div> <style data-mw-deduplicate="TemplateStyles:r1236090951">.mw-parser-output .hatnote{font-style:italic}.mw-parser-output div.hatnote{padding-left:1.6em;margin-bottom:0.5em}.mw-parser-output .hatnote i{font-style:normal}.mw-parser-output .hatnote+link+.hatnote{margin-top:-0.5em}@media print{body.ns-0 .mw-parser-output .hatnote{display:none!important}}</style><div role="note" class="hatnote navigation-not-searchable">For URL redirection on Wikipedia, see <a href="/wiki/Wikipedia:Redirect" title="Wikipedia:Redirect">Wikipedia:Redirect</a>.</div> <p><b>URL redirection</b>, also called <b>URL forwarding</b>, is a <a href="/wiki/World_Wide_Web" title="World Wide Web">World Wide Web</a> technique for making a <a href="/wiki/Web_page" title="Web page">web page</a> available under more than one <a href="/wiki/Uniform_Resource_Locator" class="mw-redirect" title="Uniform Resource Locator">URL</a> address. When a <a href="/wiki/Web_browser" title="Web browser">web browser</a> attempts to open a URL that has been redirected, a page with a different URL is opened. Similarly, domain redirection or domain forwarding is when all pages in a URL <a href="/wiki/Domain_name" title="Domain name">domain</a> are redirected to a different domain, as when <a rel="nofollow" class="external text" href="https://www.wikipedia.com/">wikipedia.com</a> and <a rel="nofollow" class="external text" href="https://www.wikipedia.net/">wikipedia.net</a> are automatically redirected to <a class="external text" href="https://www.wikipedia.org/">wikipedia.org</a>. </p><p>URL redirection is done for various reasons: </p> <ul><li>for <a href="/wiki/URL_shortening" title="URL shortening">URL shortening</a>;</li> <li>to prevent <a href="/wiki/Link_rot" title="Link rot">broken links</a> when web pages are moved;</li> <li>to allow multiple domain names belonging to the same owner to refer to a single <a href="/wiki/Website" title="Website">web site</a>;</li> <li>to guide navigation into and out of a website;</li> <li>for privacy protection (such as redirecting <a href="/wiki/YouTube" title="YouTube">YouTube</a> and <a href="/wiki/Twitter" title="Twitter">Twitter</a> links to <a href="/wiki/Invidious" title="Invidious">Invidious</a> and <a href="/wiki/Nitter" title="Nitter">Nitter</a> respectively or to turn <a href="/wiki/Accelerated_Mobile_Pages" title="Accelerated Mobile Pages">AMP</a> links into normal links); and</li> <li>for hostile purposes such as <a href="/wiki/Phishing" title="Phishing">phishing</a> attacks or malware distribution.</li></ul> <meta property="mw:PageProp/toc" /> <div class="mw-heading mw-heading2"><h2 id="Purposes">Purposes</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=URL_redirection&action=edit&section=1" title="Edit section: Purposes"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>There are several reasons to use URL redirection: </p> <div class="mw-heading mw-heading3"><h3 id="Forcing_HTTPS">Forcing HTTPS</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=URL_redirection&action=edit&section=2" title="Edit section: Forcing HTTPS"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>A website may potentially be accessible over both a secure <a href="/wiki/HTTPS" title="HTTPS">HTTPS</a> URI scheme and plain HTTP (an insecure URI beginning with "http://"). </p><p>If a user types in a URI or clicks on a link that refers to the insecure variant, the browser will automatically redirect to the secure version in case the website is contained in the <a href="/wiki/HTTP_Strict_Transport_Security" title="HTTP Strict Transport Security">HSTS</a> preload list shipped with the application or if the user had already visited the origin in the past. </p><p>Otherwise the website will be contacted over HTTP. A website operator may decide to serve such requests by redirecting the browser to the HTTPS variant instead and hopefully also priming HSTS for future accesses. </p> <div class="mw-heading mw-heading3"><h3 id="Similar_domain_names">Similar domain names</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=URL_redirection&action=edit&section=3" title="Edit section: Similar domain names"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>A user might mistype a URL. Organizations often register these misspelled domains and redirect them to the intended location. This technique is often used to "reserve" other <a href="/wiki/Top-level_domain" title="Top-level domain">top-level domains</a> (TLD) with the same name, or make it easier for a ".edu" or ".net" site to accommodate users who type ".com". </p> <div class="mw-heading mw-heading3"><h3 id="Moving_pages_to_a_new_domain">Moving pages to a new domain</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=URL_redirection&action=edit&section=4" title="Edit section: Moving pages to a new domain"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Web pages may be redirected to a new domain for three reasons: </p> <ul><li>a site might desire, or need, to change its domain name;</li> <li>an author might move their individual pages to a new domain;</li> <li>two web sites might merge.</li></ul> <p>With URL redirects, incoming links to an outdated URL can be sent to the correct location. These links might be from other sites that have not realized that there is a change or from bookmarks/favorites that users have saved in their browsers. The same applies to <a href="/wiki/Search_engine" title="Search engine">search engines</a>. They often have the older/outdated domain names and links in their database and will send search users to these old URLs. By using a "moved permanently" redirect to the new URL, visitors will still end up at the correct page. Also, in the next search engine pass, the search engine should detect and use the newer URL. </p> <div class="mw-heading mw-heading3"><h3 id="Logging_outgoing_links">Logging outgoing links</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=URL_redirection&action=edit&section=5" title="Edit section: Logging outgoing links"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>The access logs of most web servers keep detailed information about where visitors came from and how they browsed the hosted site. They do not, however, log which links visitors left by. This is because the visitor's browser has no need to communicate with the original server when the visitor clicks on an outgoing link. This information can be captured in several ways. One way involves URL redirection. Instead of sending the visitor straight to the other site, links on the site can direct to a URL on the original website's domain that automatically redirects to the real target. This technique bears the downside of the delay caused by the additional request to the original website's server. As this added request will leave a trace in the server log, revealing exactly which link was followed, it can also be a privacy issue.<sup id="cite_ref-NtrEdf_1-0" class="reference"><a href="#cite_note-NtrEdf-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup> The same technique is also used by some corporate websites to implement a statement that the subsequent content is at another site, and therefore not necessarily affiliated with the corporation. In such scenarios, displaying the warning causes an additional delay. </p> <div class="mw-heading mw-heading3"><h3 id="Short_aliases_for_long_URLs">Short aliases for long URLs</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=URL_redirection&action=edit&section=6" title="Edit section: Short aliases for long URLs"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1236090951"><div role="note" class="hatnote navigation-not-searchable">Main article: <a href="/wiki/URL_shortening" title="URL shortening">URL shortening</a></div> <p>Web applications often include lengthy descriptive attributes in their URLs which represent data hierarchies, command structures, transaction paths and session information. This practice results in a URL that is aesthetically unpleasant and difficult to remember, and which may not fit within the size limitations of <a href="/wiki/Microblogging" title="Microblogging">microblogging</a> sites. <a href="/wiki/URL_shortening" title="URL shortening">URL shortening</a> services provide a solution to this problem by redirecting a user to a longer URL from a shorter one.<sup id="cite_ref-NtrEdf_1-1" class="reference"><a href="#cite_note-NtrEdf-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup> </p> <div class="mw-heading mw-heading3"><h3 id="Meaningful,_persistent_aliases_for_long_or_changing_URLs"><span id="Meaningful.2C_persistent_aliases_for_long_or_changing_URLs"></span>Meaningful, persistent aliases for long or changing URLs</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=URL_redirection&action=edit&section=7" title="Edit section: Meaningful, persistent aliases for long or changing URLs"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1236090951"><div role="note" class="hatnote navigation-not-searchable">See also: <a href="/wiki/Permalink" title="Permalink">Permalink</a>, <a href="/wiki/PURL" class="mw-redirect" title="PURL">PURL</a>, and <a href="/wiki/Link_rot" title="Link rot">Link rot</a></div> <p>Sometimes the URL of a page changes even though the content stays the same. Therefore, URL redirection can help users who have bookmarks. This is routinely done on Wikipedia whenever a page is renamed. </p> <div class="mw-heading mw-heading3"><h3 id="Post/Redirect/Get"><span id="Post.2FRedirect.2FGet"></span>Post/Redirect/Get</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=URL_redirection&action=edit&section=8" title="Edit section: Post/Redirect/Get"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1236090951"><div role="note" class="hatnote navigation-not-searchable">Main article: <a href="/wiki/Post/Redirect/Get" title="Post/Redirect/Get">Post/Redirect/Get</a></div> <p>Post/Redirect/Get (PRG) is a <a href="/wiki/Web_development" title="Web development">web development</a> <a href="/wiki/Design_pattern" title="Design pattern">design pattern</a> that prevents some duplicate <a href="/wiki/Form_(web)" class="mw-redirect" title="Form (web)">form</a> submissions if the user clicks the refresh button after submitting the form, creating a more intuitive interface for <a href="/wiki/User_agent" title="User agent">user agents</a> (users). </p> <div class="mw-heading mw-heading3"><h3 id="Device_targeting_and_geotargeting">Device targeting and geotargeting</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=URL_redirection&action=edit&section=9" title="Edit section: Device targeting and geotargeting"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Redirects can be effectively used for targeting purposes like <a href="/wiki/Geotargeting" title="Geotargeting">geotargeting</a>. Device targeting has become increasingly important with the rise of mobile clients. There are two approaches to serve mobile users: Make the website <a href="/wiki/Responsive_web_design" title="Responsive web design">responsive</a> or redirect to a mobile website version. If a mobile website version is offered, users with mobile clients will be automatically forwarded to the corresponding mobile content. For device targeting, client-side redirects or non-cacheable server-side redirects are used. Geotargeting is the approach to offer localized content and automatically forward the user to a localized version of the requested URL. This is helpful for websites that target audience in more than one location and/or language. Usually server-side redirects are used for Geotargeting but client-side redirects might be an option as well, depending on requirements.<sup id="cite_ref-KFihp_2-0" class="reference"><a href="#cite_note-KFihp-2"><span class="cite-bracket">[</span>2<span class="cite-bracket">]</span></a></sup> </p> <div class="mw-heading mw-heading3"><h3 id="Manipulating_search_engines">Manipulating search engines</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=URL_redirection&action=edit&section=10" title="Edit section: Manipulating search engines"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Redirects have been used to manipulate search engines with unethical intentions, e.g., <a href="/wiki/URL_hijacking" class="mw-redirect" title="URL hijacking">URL hijacking</a>. The goal of misleading redirects is to drive search traffic to landing pages, which do not have enough ranking power on their own or which are only remotely or not at all related to the search target. The approach requires a rank for a range of search terms with a number of URLs that would utilize sneaky redirects to forward the searcher to the target page. This method had a revival with the uprise of mobile devices and device targeting. URL hijacking is an off-domain redirect technique<sup id="cite_ref-NAY3X_3-0" class="reference"><a href="#cite_note-NAY3X-3"><span class="cite-bracket">[</span>3<span class="cite-bracket">]</span></a></sup> that exploited the nature of the search engine's handling for temporary redirects. If a temporary redirect is encountered, search engines have to decide whether they assign the ranking value to the URL that initializes the redirect or to the redirect target URL. The URL that initiates the redirect may be kept to show up in search results, as the redirect indicates a temporary nature. Under certain circumstances it was possible to exploit this behavior by applying temporary redirects to well-ranking URLs, leading to a replacement of the original URL in search results by the URL that initialized the redirect, therefore "stealing" the ranking. This method was usually combined with sneaky redirects to re-target the user stream from the search results to a target page. Search engines have developed efficient technologies to detect these kinds of manipulative approaches. Major search engines usually apply harsh ranking penalties on sites that get caught applying techniques like these.<sup id="cite_ref-vMaE1_4-0" class="reference"><a href="#cite_note-vMaE1-4"><span class="cite-bracket">[</span>4<span class="cite-bracket">]</span></a></sup> </p> <div class="mw-heading mw-heading3"><h3 id="Manipulating_visitors">Manipulating visitors</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=URL_redirection&action=edit&section=11" title="Edit section: Manipulating visitors"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>URL redirection is sometimes used as a part of <a href="/wiki/Phishing" title="Phishing">phishing</a> attacks that confuse visitors about which web site they are visiting.<sup id="cite_ref-XP9Dh_5-0" class="reference"><a href="#cite_note-XP9Dh-5"><span class="cite-bracket">[</span>5<span class="cite-bracket">]</span></a></sup> Because modern browsers always show the real URL in the address bar, the threat is lessened. However, redirects can also take you to sites that will otherwise attempt to attack in other ways. For example, a redirect might take a user to a site that would attempt to trick them into downloading antivirus software and installing a <a href="/wiki/Trojan_horse_(computing)" title="Trojan horse (computing)">Trojan</a> of some sort instead. </p> <div class="mw-heading mw-heading3"><h3 id="Removing_referrer_information">Removing <code>referrer</code> information</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=URL_redirection&action=edit&section=12" title="Edit section: Removing referrer information"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>When a link is clicked, the browser sends along in the <a href="/wiki/HTTP_request" class="mw-redirect" title="HTTP request">HTTP request</a> a field called <a href="/wiki/HTTP_referer" title="HTTP referer">referer</a> which indicates the source of the link. This field is populated with the URL of the current web page, and will end up in the <a href="/wiki/Server_log" class="mw-redirect" title="Server log">logs</a> of the server serving the external link. Since sensitive pages may have sensitive URLs (for example, <code>https://company.com/plans-for-the-next-release-of-our-product</code>), it is not desirable for the <code>referrer</code> URL to leave the organization. A redirection page that performs <a href="/wiki/Referer#Referrer_hiding" class="mw-redirect" title="Referer">referrer hiding</a> could be embedded in all external URLs, transforming for example <code>https://externalsite.com/page</code> into <code>https://redirect.company.com/https://externalsite.com/page</code>. This technique also eliminates other potentially sensitive information from the referrer URL, such as the <a href="/wiki/Session_ID" title="Session ID">session ID</a>, and can reduce the chance of <a href="/wiki/Phishing" title="Phishing">phishing</a> by indicating to the end user that they passed a clear gateway to another site. </p> <div class="mw-heading mw-heading2"><h2 id="Implementation">Implementation</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=URL_redirection&action=edit&section=13" title="Edit section: Implementation"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Several different kinds of response to the browser will result in a redirection. These vary in whether they affect <a href="/wiki/HTTP_headers" class="mw-redirect" title="HTTP headers">HTTP headers</a> or HTML content. The techniques used typically depend on the role of the person implementing it and their access to different parts of the system. For example, a web author with no control over the headers might use a <a href="/wiki/Meta_refresh" title="Meta refresh">Refresh meta tag</a> whereas a web server administrator redirecting all pages on a site is more likely to use server configuration. </p> <div class="mw-heading mw-heading3"><h3 id="Manual_redirect">Manual redirect</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=URL_redirection&action=edit&section=14" title="Edit section: Manual redirect"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>The simplest technique is to ask the visitor to follow a link to the new page, usually using an HTML anchor like: </p> <div class="mw-highlight mw-highlight-lang-html mw-content-ltr" dir="ltr"><pre><span></span>Please follow <span class="p"><</span><span class="nt">a</span> <span class="na">href</span><span class="o">=</span><span class="s">"https://www.example.com/"</span><span class="p">></span>this link<span class="p"></</span><span class="nt">a</span><span class="p">></span>. </pre></div> <p>This method is often used as a fall-back — if the browser does not support the automatic redirect, the visitor can still reach the target document by following the link. </p> <div class="mw-heading mw-heading3"><h3 id="HTTP_status_codes_3xx">HTTP status codes 3xx</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=URL_redirection&action=edit&section=15" title="Edit section: HTTP status codes 3xx"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>In the <a href="/wiki/HTTP" title="HTTP">HTTP</a> <a href="/wiki/Protocol_(computing)" class="mw-redirect" title="Protocol (computing)">protocol</a> used by the <a href="/wiki/World_Wide_Web" title="World Wide Web">World Wide Web</a>, a <b>redirect</b> is a response with a <a href="/wiki/List_of_HTTP_status_codes" title="List of HTTP status codes">status code</a> beginning with <i>3</i> that causes a browser to display a different page. If a client encounters a redirect, it needs to make a number of decisions how to handle the redirect. Different status codes are used by clients to understand the purpose of the redirect, how to handle caching and which request method to use for the subsequent request. </p><p>HTTP/1.1 defines several status codes for redirection (<a rel="nofollow" class="external text" href="https://tools.ietf.org/html/rfc7231">RFC 7231</a>): </p> <ul><li><a href="/wiki/HTTP_300" class="mw-redirect" title="HTTP 300">300 multiple choices</a> (e.g. offer different languages)</li> <li><a href="/wiki/HTTP_301" title="HTTP 301">301 moved permanently</a> (redirects permanently from one URL to another passing link equity to the redirected page)</li> <li><a href="/wiki/HTTP_302" title="HTTP 302">302 found</a> (originally "temporary redirect" in HTTP/1.0 and popularly used for CGI scripts; superseded by 303 and 307 in HTTP/1.1 but preserved for backward compatibility)</li> <li><a href="/wiki/HTTP_303" title="HTTP 303">303 see other</a> (forces a GET request to the new URL even if original request was POST)</li> <li><a href="/wiki/305_Use_Proxy" class="mw-redirect" title="305 Use Proxy">305 use proxy</a> (indicates that the client's requested resource is only available through a proxy)</li> <li><a href="/wiki/HTTP_307" class="mw-redirect" title="HTTP 307">307 temporary redirect</a> (provides a new URL for the browser to resubmit a GET or POST request)</li> <li><a href="/wiki/HTTP_308" class="mw-redirect" title="HTTP 308">308 permanent redirect</a> (provides a new URL for the browser to resubmit a GET or POST request)</li></ul> <p>Status codes <a href="/wiki/HTTP_304" class="mw-redirect" title="HTTP 304">304 not modified</a> and <a href="/wiki/HTTP_305" class="mw-redirect" title="HTTP 305">305 use proxy</a> are not redirects. </p> <table class="wikitable"> <caption><span class="anchor" id="Redirect_status_codes_and_characteristics"></span> Redirect status codes and characteristics<sup id="cite_ref-G1Lfc_6-0" class="reference"><a href="#cite_note-G1Lfc-6"><span class="cite-bracket">[</span>6<span class="cite-bracket">]</span></a></sup> </caption> <tbody><tr> <th>HTTP Status Code</th> <th>HTTP Version</th> <th>Temporary / Permanent</th> <th>Cacheable</th> <th>Request Method Subsequent Request </th></tr> <tr> <td>301</td> <td>HTTP/1.0</td> <td>Permanent</td> <td style="background:#9EFF9E;color:black;vertical-align:middle;text-align:center;" class="table-yes">Yes</td> <td>GET / POST may change </td></tr> <tr> <td>302</td> <td>HTTP/1.0</td> <td>Temporary</td> <td style="background: #FFE3E3; color: black; vertical-align: middle; text-align: center;" class="table-no2">not by default</td> <td>GET / POST may change </td></tr> <tr> <td>303</td> <td>HTTP/1.1</td> <td>Temporary</td> <td style="background:#FFC7C7;color:black;vertical-align:middle;text-align:center;" class="table-no">never</td> <td>always GET </td></tr> <tr> <td>307</td> <td>HTTP/1.1</td> <td>Temporary</td> <td style="background: #FFE3E3; color: black; vertical-align: middle; text-align: center;" class="table-no2">not by default</td> <td>may not change </td></tr> <tr> <td>308</td> <td>HTTP/1.1</td> <td>Permanent</td> <td style="background:#bfd; color:black; vertical-align:middle; text-align:center;" class="table-yes2">by default</td> <td>may not change </td></tr> </tbody></table> <p>All of these status codes require the URL of the redirect target to be given in the Location: header of the HTTP response. The 300 multiple choices will usually list all choices in the body of the message and show the default choice in the Location: header. </p> <div class="mw-heading mw-heading4"><h4 id="Example_HTTP_response_for_a_301_redirect">Example HTTP response for a 301 redirect</h4><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=URL_redirection&action=edit&section=16" title="Edit section: Example HTTP response for a 301 redirect"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>A <a href="/wiki/HTTP" title="HTTP">HTTP</a> response with the 301 "moved permanently" redirect looks like this: </p> <div class="mw-highlight mw-highlight-lang-http mw-content-ltr" dir="ltr"><pre><span></span><span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span> <span class="m">301</span> <span class="ne">Moved Permanently</span> <span class="na">Location</span><span class="o">:</span> <span class="l">https://www.example.org/</span> <span class="na">Content-Type</span><span class="o">:</span> <span class="l">text/html</span> <span class="na">Content-Length</span><span class="o">:</span> <span class="l">174</span> <span class="p"><</span><span class="nt">html</span><span class="p">></span> <span class="p"><</span><span class="nt">head</span><span class="p">></span> <span class="p"><</span><span class="nt">title</span><span class="p">></span>Moved<span class="p"></</span><span class="nt">title</span><span class="p">></span> <span class="p"></</span><span class="nt">head</span><span class="p">></span> <span class="p"><</span><span class="nt">body</span><span class="p">></span> =Moved= <span class="p"><</span><span class="nt">p</span><span class="p">></span>This page has moved to <span class="p"><</span><span class="nt">a</span> <span class="na">href</span><span class="o">=</span><span class="s">"https://www.example.org/"</span><span class="p">></span>https://www.example.org/<span class="p"></</span><span class="nt">a</span><span class="p">></span>.<span class="p"></</span><span class="nt">p</span><span class="p">></span> <span class="p"></</span><span class="nt">body</span><span class="p">></span> <span class="p"></</span><span class="nt">html</span><span class="p">></span> </pre></div> <div class="mw-heading mw-heading4"><h4 id="Using_server-side_scripting_for_redirection">Using server-side scripting for redirection</h4><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=URL_redirection&action=edit&section=17" title="Edit section: Using server-side scripting for redirection"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Web authors producing HTML content can't usually create redirects using HTTP headers as these are generated automatically by the web server program when serving an HTML file. The same is usually true even for programmers writing CGI scripts, though some servers allow scripts to add custom headers (e.g. by enabling "non-parsed-headers"). Many web servers will generate a 3xx status code if a script outputs a "Location:" header line. For example, in <a href="/wiki/PHP" title="PHP">PHP</a>, one can use the "header" function: </p> <div class="mw-highlight mw-highlight-lang-php mw-content-ltr" dir="ltr"><pre><span></span><span class="nb">header</span><span class="p">(</span><span class="s1">'HTTP/1.1 301 Moved Permanently'</span><span class="p">);</span> <span class="nb">header</span><span class="p">(</span><span class="s1">'Location: https://www.example.com/'</span><span class="p">);</span> <span class="k">exit</span><span class="p">();</span> </pre></div> <p>More headers may be required to prevent caching.<sup id="cite_ref-php-301-robust-solution_7-0" class="reference"><a href="#cite_note-php-301-robust-solution-7"><span class="cite-bracket">[</span>7<span class="cite-bracket">]</span></a></sup> The programmer must ensure that the headers are output before the body. This may not fit easily with the natural flow of control through the code. To help with this, some frameworks for server-side content generation can buffer the body data. In the <a href="/wiki/Active_Server_Pages" title="Active Server Pages">ASP scripting</a> language, this can also be accomplished using <code>response.buffer=true</code> and <code>response.redirect "https://www.example.com/"</code> HTTP/1.1 allows for either a relative URI reference or an absolute URI reference.<sup id="cite_ref-venDA_8-0" class="reference"><a href="#cite_note-venDA-8"><span class="cite-bracket">[</span>8<span class="cite-bracket">]</span></a></sup> If the URI reference is relative the client computes the required absolute URI reference according to the rules defined in <a rel="nofollow" class="external text" href="https://tools.ietf.org/html/rfc3986">RFC 3986</a>.<sup id="cite_ref-3Y1IG_9-0" class="reference"><a href="#cite_note-3Y1IG-9"><span class="cite-bracket">[</span>9<span class="cite-bracket">]</span></a></sup> </p> <div class="mw-heading mw-heading4"><h4 id="Apache_HTTP_Server_mod_rewrite">Apache HTTP Server mod_rewrite<span class="anchor" id="mod_rewrite"></span></h4><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=URL_redirection&action=edit&section=18" title="Edit section: Apache HTTP Server mod_rewrite"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>The <a href="/wiki/Apache_HTTP_Server" title="Apache HTTP Server">Apache HTTP Server</a> mod_alias extension can be used to redirect certain requests. Typical configuration directives look like: </p> <div class="mw-highlight mw-highlight-lang-apache mw-content-ltr" dir="ltr"><pre><span></span><span class="nb">Redirect</span><span class="w"> </span>permanent<span class="w"> </span><span class="sx">/oldpage.html</span><span class="w"> </span>https://www.example.com/newpage.html <span class="nb">Redirect</span><span class="w"> </span><span class="m">301</span><span class="w"> </span><span class="sx">/oldpage.html</span><span class="w"> </span>https://www.example.com/newpage.html </pre></div> <p>For more flexible <a href="/wiki/URL_rewriting" class="mw-redirect" title="URL rewriting">URL rewriting</a> and redirection, Apache mod_rewrite can be used. E.g., to redirect a requests to a canonical domain name: </p> <div class="mw-highlight mw-highlight-lang-apache mw-content-ltr" dir="ltr"><pre><span></span><span class="nb">RewriteEngine</span><span class="w"> </span><span class="k">on</span> <span class="nb">RewriteCond</span><span class="w"> </span>%{HTTP_HOST}<span class="w"> </span>^([^.:]+\.)*oldsite\.example\.com\.?(:[0-9]*)?$<span class="w"> </span>[NC] <span class="nb">RewriteRule</span><span class="w"> </span>^(.*)$<span class="w"> </span>https://newsite.example.net/$1<span class="w"> </span>[R=301,L] </pre></div> <p>Such configuration can be applied to one or all sites on the server through the server configuration files or to a single content directory through a <code><a href="/wiki/.htaccess" title=".htaccess">.htaccess</a></code> file. </p> <div class="mw-heading mw-heading4"><h4 id="nginx_rewrite">nginx rewrite</h4><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=URL_redirection&action=edit&section=19" title="Edit section: nginx rewrite"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p><a href="/wiki/Nginx" title="Nginx">Nginx</a> has an integrated http rewrite module,<sup id="cite_ref-T6lN6_10-0" class="reference"><a href="#cite_note-T6lN6-10"><span class="cite-bracket">[</span>10<span class="cite-bracket">]</span></a></sup> which can be used to perform advanced URL processing and even web-page generation (with the <code>return</code> directive). An example of such advanced use of the rewrite module is mdoc.su, which implements a deterministic <a href="/wiki/URL_shortening" title="URL shortening">URL shortening</a> service entirely with the help of nginx configuration language alone.<sup id="cite_ref-ltnoQ_11-0" class="reference"><a href="#cite_note-ltnoQ-11"><span class="cite-bracket">[</span>11<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-sjHzb_12-0" class="reference"><a href="#cite_note-sjHzb-12"><span class="cite-bracket">[</span>12<span class="cite-bracket">]</span></a></sup> </p><p>For example, if a request for <code><a rel="nofollow" class="external text" href="https://www.dragonflybsd.org/cgi/web-man?command=HAMMER&section=5">/DragonFlyBSD/HAMMER.5</a></code> were to come along, it would first be redirected internally to <code>/d/HAMMER.5</code> with the first rewrite directive below (only affecting the internal state, without any HTTP replies issued to the client just yet), and then with the second rewrite directive, an <a href="/wiki/HTTP_response" class="mw-redirect" title="HTTP response">HTTP response</a> with a <a href="/wiki/HTTP_302" title="HTTP 302">302 Found status code</a> would be issued to the client to actually redirect to the external <a href="/wiki/Common_Gateway_Interface" title="Common Gateway Interface">cgi script</a> of web-<a href="/wiki/Man_page" title="Man page">man</a>:<sup id="cite_ref-y0ZUF_13-0" class="reference"><a href="#cite_note-y0ZUF-13"><span class="cite-bracket">[</span>13<span class="cite-bracket">]</span></a></sup> </p> <div class="mw-highlight mw-highlight-lang-nginx mw-content-ltr" dir="ltr"><pre><span></span><span class="w"> </span><span class="k">location</span><span class="w"> </span><span class="s">/DragonFly</span><span class="w"> </span><span class="p">{</span> <span class="w"> </span><span class="kn">rewrite</span><span class="w"> </span><span class="s">^/DragonFly(BSD)?([,/].*)?</span>$<span class="w"> </span><span class="s">/d</span><span class="nv">$2</span><span class="w"> </span><span class="s">last</span><span class="p">;</span> <span class="w"> </span><span class="p">}</span> <span class="w"> </span><span class="k">location</span><span class="w"> </span><span class="s">/d</span><span class="w"> </span><span class="p">{</span> <span class="w"> </span><span class="kn">set</span><span class="w"> </span><span class="nv">$db</span><span class="w"> </span><span class="s">"https://leaf.dragonflybsd.org/cgi/web-man?command="</span><span class="p">;</span> <span class="w"> </span><span class="kn">set</span><span class="w"> </span><span class="nv">$ds</span><span class="w"> </span><span class="s">"&section="</span><span class="p">;</span> <span class="w"> </span><span class="kn">rewrite</span><span class="w"> </span><span class="s">^/./([^/]+)\.([1-9])</span>$<span class="w"> </span><span class="nv">$db$1$ds$2</span><span class="w"> </span><span class="s">redirect</span><span class="p">;</span> <span class="w"> </span><span class="p">}</span> </pre></div> <div class="mw-heading mw-heading3"><h3 id="Refresh_Meta_tag_and_HTTP_refresh_header">Refresh Meta tag and HTTP refresh header</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=URL_redirection&action=edit&section=20" title="Edit section: Refresh Meta tag and HTTP refresh header"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p><a href="/wiki/Netscape" title="Netscape">Netscape</a> introduced the <a href="/wiki/Meta_refresh" title="Meta refresh">meta refresh</a> feature which refreshes a page after a certain amount of time. This can specify a new URL to replace one page with another. This is supported by most web browsers.<sup id="cite_ref-iFTFs_14-0" class="reference"><a href="#cite_note-iFTFs-14"><span class="cite-bracket">[</span>14<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-BEKGZ_15-0" class="reference"><a href="#cite_note-BEKGZ-15"><span class="cite-bracket">[</span>15<span class="cite-bracket">]</span></a></sup> A timeout of zero seconds effects an immediate redirect. This is treated like a 301 permanent redirect by Google, allowing transfer of PageRank to the target page.<sup id="cite_ref-DOOOW_16-0" class="reference"><a href="#cite_note-DOOOW-16"><span class="cite-bracket">[</span>16<span class="cite-bracket">]</span></a></sup> </p><p>This is an example of a simple HTML document that uses this technique: </p> <div class="mw-highlight mw-highlight-lang-html mw-content-ltr" dir="ltr"><pre><span></span><span class="p"><</span><span class="nt">html</span><span class="p">></span> <span class="p"><</span><span class="nt">head</span><span class="p">></span> <span class="p"><</span><span class="nt">meta</span> <span class="na">http-equiv</span><span class="o">=</span><span class="s">"Refresh"</span> <span class="na">content</span><span class="o">=</span><span class="s">"0; url=https://www.example.com/"</span> <span class="p">/></span> <span class="p"></</span><span class="nt">head</span><span class="p">></span> <span class="p"><</span><span class="nt">body</span><span class="p">></span> <span class="p"><</span><span class="nt">p</span><span class="p">></span>Please follow <span class="p"><</span><span class="nt">a</span> <span class="na">href</span><span class="o">=</span><span class="s">"https://www.example.com/"</span><span class="p">></span>this link<span class="p"></</span><span class="nt">a</span><span class="p">></span>.<span class="p"></</span><span class="nt">p</span><span class="p">></span> <span class="p"></</span><span class="nt">body</span><span class="p">></span> <span class="p"></</span><span class="nt">html</span><span class="p">></span> </pre></div> <p>This technique can be used by <a href="/wiki/Web_designer" class="mw-redirect" title="Web designer">web authors</a> because the meta tag is contained inside the document itself. The meta tag must be placed in the "head" section of the HTML file. The number "0" in this example may be replaced by another number to achieve a delay of that many seconds. The anchor in the "body" section is for users whose browsers do not support this feature. </p><p>The same effect can be achieved with an HTTP <code>refresh</code> header: </p> <div class="mw-highlight mw-highlight-lang-http mw-content-ltr" dir="ltr"><pre><span></span><span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span> <span class="m">200</span> <span class="ne">OK</span> <span class="na">Refresh</span><span class="o">:</span> <span class="l">0; url=https://www.example.com/</span> <span class="na">Content-Type</span><span class="o">:</span> <span class="l">text/html</span> <span class="na">Content-Length</span><span class="o">:</span> <span class="l">78</span> Please follow <span class="p"><</span><span class="nt">a</span> <span class="na">href</span><span class="o">=</span><span class="s">"https://www.example.com/"</span><span class="p">></span>this link<span class="p"></</span><span class="nt">a</span><span class="p">></span>. </pre></div> <p>This response is easier to generate by CGI programs because one does not need to change the default status code. </p><p>Here is a simple CGI program that effects this redirect: </p> <div class="mw-highlight mw-highlight-lang-perl mw-content-ltr" dir="ltr"><pre><span></span><span class="c1"># !/usr/bin/perl</span> <span class="k">print</span><span class="w"> </span><span class="s">"Refresh: 0; url=https://www.example.com/\r\n"</span><span class="p">;</span> <span class="k">print</span><span class="w"> </span><span class="s">"Content-Type: text/html\r\n"</span><span class="p">;</span> <span class="k">print</span><span class="w"> </span><span class="s">"\r\n"</span><span class="p">;</span> <span class="k">print</span><span class="w"> </span><span class="s">"Please follow <a href=\"https://www.example.com/\">this link</a>!"</span> </pre></div> <p>Note: Usually, the HTTP server adds the status line and the Content-Length header automatically. </p><p>The <a href="/wiki/World_Wide_Web_Consortium" title="World Wide Web Consortium">W3C</a> discourage the use of meta refresh, since it does not communicate any information about either the original or new resource, to the browser (or <a href="/wiki/Search_engine" title="Search engine">search engine</a>). The W3C's Web Content Accessibility Guidelines (7.4)<sup id="cite_ref-DO1Os_17-0" class="reference"><a href="#cite_note-DO1Os-17"><span class="cite-bracket">[</span>17<span class="cite-bracket">]</span></a></sup> discourage the creation of auto-refreshing pages, since most web browsers do not allow the user to disable or control the refresh rate. Some articles that they have written on the issue include <a rel="nofollow" class="external text" href="https://www.w3.org/TR/WAI-WEBCONTENT/#gl-movement">W3C Web Content Accessibility Guidelines (1.0): Ensure user control of time-sensitive content changes</a>, Use standard redirects: don't break the back button!<sup id="cite_ref-sEvbk_18-0" class="reference"><a href="#cite_note-sEvbk-18"><span class="cite-bracket">[</span>18<span class="cite-bracket">]</span></a></sup> and Core Techniques for Web Content Accessibility Guidelines 1.0 section 7.<sup id="cite_ref-V6sLN_19-0" class="reference"><a href="#cite_note-V6sLN-19"><span class="cite-bracket">[</span>19<span class="cite-bracket">]</span></a></sup> </p> <div class="mw-heading mw-heading3"><h3 id="JavaScript_redirects">JavaScript redirects</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=URL_redirection&action=edit&section=21" title="Edit section: JavaScript redirects"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p><a href="/wiki/JavaScript" title="JavaScript">JavaScript</a> can cause a redirect by setting the <code>window.location</code> attribute, e.g.: </p> <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="nb">window</span><span class="p">.</span><span class="nx">location</span><span class="o">=</span><span class="s1">'https://www.example.com/'</span> </pre></div> <p>Normally JavaScript pushes the redirector site's <a href="/wiki/URL" title="URL">URL</a> to the browser's history. It can cause redirect loops when users hit the back button. With the following command you can prevent this type of behaviour.<sup id="cite_ref-knBmq_20-0" class="reference"><a href="#cite_note-knBmq-20"><span class="cite-bracket">[</span>20<span class="cite-bracket">]</span></a></sup> </p> <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="nb">window</span><span class="p">.</span><span class="nx">location</span><span class="p">.</span><span class="nx">replace</span><span class="p">(</span><span class="s1">'https://www.example.com/'</span><span class="p">)</span> </pre></div> <p>However, HTTP headers or the refresh meta tag may be preferred for security reasons and because JavaScript will not be executed by some browsers and many <a href="/wiki/Web_crawler" title="Web crawler">web crawlers</a>. </p> <div class="mw-heading mw-heading3"><h3 id="Frame_redirects">Frame redirects</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=URL_redirection&action=edit&section=22" title="Edit section: Frame redirects"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>A slightly different effect can be achieved by creating an inline <a href="/wiki/Frame_(World_Wide_Web)" title="Frame (World Wide Web)">frame</a>: </p> <div class="mw-highlight mw-highlight-lang-html mw-content-ltr" dir="ltr"><pre><span></span><span class="p"><</span><span class="nt">iframe</span> <span class="na">height</span><span class="o">=</span><span class="s">"100%"</span> <span class="na">width</span><span class="o">=</span><span class="s">"100%"</span> <span class="na">src</span><span class="o">=</span><span class="s">"https://www.example.com/"</span><span class="p">></span> Please follow <span class="p"><</span><span class="nt">a</span> <span class="na">href</span><span class="o">=</span><span class="s">"https://www.example.com/"</span><span class="p">></span>link<span class="p"></</span><span class="nt">a</span><span class="p">></span>. <span class="p"></</span><span class="nt">iframe</span><span class="p">></span> </pre></div> <p>One main difference to the above redirect methods is that for a frame redirect, the browser displays the URL of the frame document and not the URL of the target page in the URL bar. This <i>cloaking</i> technique may be used so that the reader sees a more memorable URL or to fraudulently conceal a <a href="/wiki/Phishing" title="Phishing">phishing</a> site as part of <a href="/wiki/Website_spoofing" title="Website spoofing">website spoofing</a>.<sup id="cite_ref-G9pV6_21-0" class="reference"><a href="#cite_note-G9pV6-21"><span class="cite-bracket">[</span>21<span class="cite-bracket">]</span></a></sup> </p><p>Before HTML5,<sup id="cite_ref-zW4Ol_22-0" class="reference"><a href="#cite_note-zW4Ol-22"><span class="cite-bracket">[</span>22<span class="cite-bracket">]</span></a></sup> the same effect could be done with an <a href="/wiki/Framing_(World_Wide_Web)" class="mw-redirect" title="Framing (World Wide Web)">HTML frame</a> that contains the target page: </p> <div class="mw-highlight mw-highlight-lang-html mw-content-ltr" dir="ltr"><pre><span></span><span class="p"><</span><span class="nt">frameset</span> <span class="na">rows</span><span class="o">=</span><span class="s">"100%"</span><span class="p">></span> <span class="p"><</span><span class="nt">frame</span> <span class="na">src</span><span class="o">=</span><span class="s">"https://www.example.com/"</span><span class="p">></span> <span class="p"><</span><span class="nt">noframes</span><span class="p">></span> <span class="p"><</span><span class="nt">body</span><span class="p">></span>Please follow <span class="p"><</span><span class="nt">a</span> <span class="na">href</span><span class="o">=</span><span class="s">"https://www.example.com/"</span><span class="p">></span>link<span class="p"></</span><span class="nt">a</span><span class="p">></span>.<span class="p"></</span><span class="nt">body</span><span class="p">></span> <span class="p"></</span><span class="nt">noframes</span><span class="p">></span> <span class="p"></</span><span class="nt">frameset</span><span class="p">></span> </pre></div> <div class="mw-heading mw-heading3"><h3 id="Redirect_chains">Redirect chains</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=URL_redirection&action=edit&section=23" title="Edit section: Redirect chains"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1236090951"><div role="note" class="hatnote navigation-not-searchable">"Double redirect" redirects here. For Wikipedia's guideline on Double redirect, see <a href="/wiki/Wikipedia:Double_redirects" title="Wikipedia:Double redirects">Wikipedia:Double redirects</a>.</div> <p>One redirect may lead to another in a redirect chain. If a redirect leads to another redirect, this may also be known as a double redirect.<sup id="cite_ref-Schwartz_23-0" class="reference"><a href="#cite_note-Schwartz-23"><span class="cite-bracket">[</span>23<span class="cite-bracket">]</span></a></sup> For example, the URL "<a rel="nofollow" class="external free" href="https://wikipedia.com">https://wikipedia.com</a>" (with "*.com" as domain) is first redirected to <a class="external free" href="https://www.wikipedia.org/">https://www.wikipedia.org/</a> (with domain name in <a href="/wiki/.org" title=".org">.org</a>), where you can navigate to the <a class="external text" href="https://en.wikipedia.org/">language-specific site</a>. This is unavoidable if the different links in the chain are served by different servers though it should be minimised by <i><a href="/wiki/Rewriting" title="Rewriting">rewriting</a></i> the URL as much as possible on the server before returning it to the browser as a redirect. </p> <div class="mw-heading mw-heading3"><h3 id="Redirect_loops">Redirect loops</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=URL_redirection&action=edit&section=24" title="Edit section: Redirect loops"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Sometimes a mistake can cause a page to end up redirecting back to itself, possibly via other pages, leading to an infinite sequence of redirects. Browsers should stop redirecting after a certain number of hops and display an error message. </p><p>The HTTP/1.1 Standard states:<sup id="cite_ref-rfc7231sec6.4_24-0" class="reference"><a href="#cite_note-rfc7231sec6.4-24"><span class="cite-bracket">[</span>24<span class="cite-bracket">]</span></a></sup> </p> <blockquote> <p>A client <i>SHOULD</i> detect and intervene in cyclical redirections (i.e., "infinite" redirection loops). </p><p>Note: An earlier version of this specification recommended a maximum of five redirections ([<a rel="nofollow" class="external text" href="https://tools.ietf.org/html/rfc2068">RFC 2068</a>], Section 10.3). Content developers need to be aware that some clients might implement such a fixed limitation. </p> </blockquote> <div class="mw-heading mw-heading2"><h2 id="Services">Services</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=URL_redirection&action=edit&section=25" title="Edit section: Services"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>There exist services that can perform URL redirection on demand, with no need for technical work or access to the web server your site is hosted on. </p> <div class="mw-heading mw-heading3"><h3 id="URL_redirection_services">URL redirection services</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=URL_redirection&action=edit&section=26" title="Edit section: URL redirection services"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>A <b>redirect service</b> is an information management system, which provides an internet link that redirects users to the desired content. The typical benefit to the user is the use of a memorable domain name, and a reduction in the length of the URL or web address. A redirecting link can also be used as a permanent address for content that frequently changes hosts, similarly to the <a href="/wiki/Domain_Name_System" title="Domain Name System">Domain Name System</a>. Hyperlinks involving URL redirection services are frequently used in spam messages directed at blogs and wikis. Thus, one way to reduce spam is to reject all edits and comments containing hyperlinks to known URL redirection services; however, this will also remove legitimate edits and comments and may not be an effective method to reduce spam. Recently, URL redirection services have taken to using <a href="/wiki/AJAX" class="mw-redirect" title="AJAX">AJAX</a> as an efficient, user friendly method for creating shortened URLs. A major drawback of some URL redirection services is the use of delay pages, or frame based advertising, to generate revenue. </p> <div class="mw-heading mw-heading4"><h4 id="History">History</h4><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=URL_redirection&action=edit&section=27" title="Edit section: History"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>The first redirect services took advantage of <a href="/wiki/Top-level_domains" class="mw-redirect" title="Top-level domains">top-level domains</a> (TLD) such as "<a href="/wiki/.to" title=".to">.to</a>" (Tonga), "<a href="/wiki/.at" title=".at">.at</a>" (Austria) and "<a href="/wiki/.is" title=".is">.is</a>" (Iceland). Their goal was to make memorable URLs. The first mainstream redirect service was V3.com that boasted 4 million users at its peak in 2000. V3.com success was attributed to having a wide variety of short memorable domains including "r.im", "go.to", "i.am", "come.to" and "start.at". V3.com was acquired by FortuneCity.com, a large free web hosting company, in early 1999.<sup id="cite_ref-2Died_25-0" class="reference"><a href="#cite_note-2Died-25"><span class="cite-bracket">[</span>25<span class="cite-bracket">]</span></a></sup> As the sales price of top level domains started falling from <span style="white-space: nowrap">$50.00</span> per year to less than <span style="white-space: nowrap">$10.00</span>, use of redirection services declined. With the launch of <a href="/wiki/TinyURL" title="TinyURL">TinyURL</a> in 2002 a new kind of redirecting service was born, namely <a href="/wiki/URL_shortening" title="URL shortening">URL shortening</a>. Their goal was to make long URLs short, to be able to post them on internet forums. Since 2006, with the 140 character limit on the extremely popular <a href="/wiki/Twitter" title="Twitter">Twitter</a> service, these short URL services have been heavily used. </p> <div class="mw-heading mw-heading3"><h3 id="Referrer_masking">Referrer masking</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=URL_redirection&action=edit&section=28" title="Edit section: Referrer masking"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Redirection services can hide the <a href="/wiki/Referrer" class="mw-redirect" title="Referrer">referrer</a> by placing an intermediate page between the page the link is on and its destination. Although these are conceptually similar to other URL redirection services, they serve a different purpose, and they rarely attempt to shorten or obfuscate the destination URL (as their only intended side-effect is to hide referrer information and provide a clear gateway between other websites.) This type of redirection is often used to prevent potentially-malicious links from gaining information using the referrer, for example a <a href="/wiki/Session_ID" title="Session ID">session ID</a> in the query string. Many large community websites use link redirection on external links to lessen the chance of an exploit that could be used to steal account information, as well as make it clear when a user is leaving a service, to lessen the chance of effective <a href="/wiki/Phishing" title="Phishing">phishing</a> . </p><p>Here is a simplistic example of such a service, written in <a href="/wiki/PHP" title="PHP">PHP</a>. </p> <div class="mw-highlight mw-highlight-lang-html+php mw-content-ltr" dir="ltr"><pre><span></span><span class="cp"><?php</span> <span class="nv">$url</span> <span class="o">=</span> <span class="nb">htmlspecialchars</span><span class="p">(</span><span class="nv">$_GET</span><span class="p">[</span><span class="s1">'url'</span><span class="p">]);</span> <span class="nb">header</span><span class="p">(</span><span class="s1">'Refresh: 0; url=https://'</span> <span class="o">.</span> <span class="nv">$url</span><span class="p">);</span> <span class="cp">?></span> <span class="cm"><!-- Fallback using meta refresh. --></span> <span class="p"><</span><span class="nt">html</span><span class="p">></span> <span class="p"><</span><span class="nt">head</span><span class="p">></span> <span class="p"><</span><span class="nt">title</span><span class="p">></span>Redirecting...<span class="p"></</span><span class="nt">title</span><span class="p">></span> <span class="p"><</span><span class="nt">meta</span> <span class="na">http-equiv</span><span class="o">=</span><span class="s">"refresh"</span> <span class="na">content</span><span class="o">=</span><span class="s">"0;url=https://</span><span class="cp"><?</span><span class="o">=</span> <span class="nv">$url</span><span class="p">;</span> <span class="cp">?></span><span class="s">"</span><span class="p">></span> <span class="p"></</span><span class="nt">head</span><span class="p">></span> <span class="p"><</span><span class="nt">body</span><span class="p">></span> Attempting to redirect to <span class="p"><</span><span class="nt">a</span> <span class="na">href</span><span class="o">=</span><span class="s">"https://</span><span class="cp"><?</span><span class="o">=</span> <span class="nv">$url</span><span class="p">;</span> <span class="cp">?></span><span class="s">"</span><span class="p">></span>https://<span class="cp"><?</span><span class="o">=</span> <span class="nv">$url</span><span class="p">;</span> <span class="cp">?></span><span class="p"></</span><span class="nt">a</span><span class="p">></span>. <span class="p"></</span><span class="nt">body</span><span class="p">></span> <span class="p"></</span><span class="nt">html</span><span class="p">></span> </pre></div> <p>The above example does not check who called it (e.g. by referrer, although that could be spoofed). Also, it does not check the URL provided. This means that a malicious person could link to the redirection page using a URL parameter of his/her own selection, from any page, which uses the web server's resources. </p> <div class="mw-heading mw-heading2"><h2 id="Security_issues">Security issues</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=URL_redirection&action=edit&section=29" title="Edit section: Security issues"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>URL redirection can be abused by attackers to perform <a href="/wiki/Phishing" title="Phishing">phishing</a> attacks. If a redirect target is not sufficiently validated by a web application, an attacker can make a web application redirect to an arbitrary website. This vulnerability is known as an open-redirect vulnerability.<sup id="cite_ref-:0_26-0" class="reference"><a href="#cite_note-:0-26"><span class="cite-bracket">[</span>26<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-Open_Redirect_27-0" class="reference"><a href="#cite_note-Open_Redirect-27"><span class="cite-bracket">[</span>27<span class="cite-bracket">]</span></a></sup> In certain cases when an open redirect occurs as part of an <a href="/wiki/Authentication" title="Authentication">authentication</a> flow, the vulnerability is known as a covert redirect.<sup id="cite_ref-Covert_Redirect_28-0" class="reference"><a href="#cite_note-Covert_Redirect-28"><span class="cite-bracket">[</span>28<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-CNET_29-0" class="reference"><a href="#cite_note-CNET-29"><span class="cite-bracket">[</span>29<span class="cite-bracket">]</span></a></sup> When a covert redirect occurs, the attacker website can steal <a href="/wiki/Authentication_cookie" class="mw-redirect" title="Authentication cookie">authentication information</a> from the victim website.<sup id="cite_ref-:0_26-1" class="reference"><a href="#cite_note-:0-26"><span class="cite-bracket">[</span>26<span class="cite-bracket">]</span></a></sup> Open redirect vulnerabilities are fairly common on the web. In June 2022, TechRadar found over 25 active examples of open redirect vulnerabilities on the web, including sites like <a href="/wiki/Google" title="Google">Google</a> and <a href="/wiki/Instagram" title="Instagram">Instagram</a>.<sup id="cite_ref-30" class="reference"><a href="#cite_note-30"><span class="cite-bracket">[</span>30<span class="cite-bracket">]</span></a></sup> Open redirects have their own CWE identifier, CWE-601.<sup id="cite_ref-31" class="reference"><a href="#cite_note-31"><span class="cite-bracket">[</span>31<span class="cite-bracket">]</span></a></sup> </p><p>URL redirection also provides a mechanism to perform <a href="/wiki/Cross-site_leak" class="mw-redirect" title="Cross-site leak">cross-site leak</a> attacks. By timing how long a website took to return a particular page or by differentiating one destination page from another, an attacker can gain significant information about another website's state. In 2021, Knittel et al. discovered a vulnerability in the Chrome's Performance API implementation which allowed them to reliably detect cross-origin redirects.<sup id="cite_ref-32" class="reference"><a href="#cite_note-32"><span class="cite-bracket">[</span>32<span class="cite-bracket">]</span></a></sup> </p> <div class="mw-heading mw-heading2"><h2 id="See_also">See also</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=URL_redirection&action=edit&section=30" title="Edit section: See also"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <ul><li><a href="/wiki/Canonical_link_element" title="Canonical link element">Canonical link element</a></li> <li><a href="/wiki/Clean_URL" title="Clean URL">Clean URL</a></li> <li><a href="/wiki/Domain_masking" title="Domain masking">Domain masking</a></li> <li><a href="/wiki/HTTP_location" title="HTTP location">HTTP location</a></li> <li><a href="/wiki/Link_rot" title="Link rot">Link rot</a></li> <li><a href="/wiki/URI_normalization" title="URI normalization">URI normalization</a></li></ul> <div class="mw-heading mw-heading2"><h2 id="References">References</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=URL_redirection&action=edit&section=31" title="Edit section: References"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <style data-mw-deduplicate="TemplateStyles:r1239543626">.mw-parser-output .reflist{margin-bottom:0.5em;list-style-type:decimal}@media screen{.mw-parser-output .reflist{font-size:90%}}.mw-parser-output .reflist .references{font-size:100%;margin-bottom:0;list-style-type:inherit}.mw-parser-output .reflist-columns-2{column-width:30em}.mw-parser-output .reflist-columns-3{column-width:25em}.mw-parser-output .reflist-columns{margin-top:0.3em}.mw-parser-output .reflist-columns ol{margin-top:0}.mw-parser-output .reflist-columns li{page-break-inside:avoid;break-inside:avoid-column}.mw-parser-output .reflist-upper-alpha{list-style-type:upper-alpha}.mw-parser-output .reflist-upper-roman{list-style-type:upper-roman}.mw-parser-output .reflist-lower-alpha{list-style-type:lower-alpha}.mw-parser-output .reflist-lower-greek{list-style-type:lower-greek}.mw-parser-output .reflist-lower-roman{list-style-type:lower-roman}</style><div class="reflist"> <div class="mw-references-wrap mw-references-columns"><ol class="references"> <li id="cite_note-NtrEdf-1"><span class="mw-cite-backlink">^ <a href="#cite_ref-NtrEdf_1-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-NtrEdf_1-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><style data-mw-deduplicate="TemplateStyles:r1238218222">.mw-parser-output cite.citation{font-style:inherit;word-wrap:break-word}.mw-parser-output .citation q{quotes:"\"""\"""'""'"}.mw-parser-output .citation:target{background-color:rgba(0,127,255,0.133)}.mw-parser-output .id-lock-free.id-lock-free a{background:url("//upload.wikimedia.org/wikipedia/commons/6/65/Lock-green.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-limited.id-lock-limited a,.mw-parser-output .id-lock-registration.id-lock-registration a{background:url("//upload.wikimedia.org/wikipedia/commons/d/d6/Lock-gray-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-subscription.id-lock-subscription a{background:url("//upload.wikimedia.org/wikipedia/commons/a/aa/Lock-red-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .cs1-ws-icon a{background:url("//upload.wikimedia.org/wikipedia/commons/4/4c/Wikisource-logo.svg")right 0.1em center/12px no-repeat}body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-free a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-limited a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-registration a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-subscription a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .cs1-ws-icon a{background-size:contain;padding:0 1em 0 0}.mw-parser-output .cs1-code{color:inherit;background:inherit;border:none;padding:inherit}.mw-parser-output .cs1-hidden-error{display:none;color:var(--color-error,#d33)}.mw-parser-output .cs1-visible-error{color:var(--color-error,#d33)}.mw-parser-output .cs1-maint{display:none;color:#085;margin-left:0.3em}.mw-parser-output .cs1-kern-left{padding-left:0.2em}.mw-parser-output .cs1-kern-right{padding-right:0.2em}.mw-parser-output .citation .mw-selflink{font-weight:inherit}@media screen{.mw-parser-output .cs1-format{font-size:95%}html.skin-theme-clientpref-night .mw-parser-output .cs1-maint{color:#18911f}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .cs1-maint{color:#18911f}}</style><cite class="citation journal cs1"><a rel="nofollow" class="external text" href="https://web.archive.org/web/20110817024348/http://blog.anta.net/2009/01/29/509/">"Google revives redirect snoopery"</a>. <i>Blog.anta.net</i>. 29 January 2009. <a href="/wiki/ISSN_(identifier)" class="mw-redirect" title="ISSN (identifier)">ISSN</a> <a rel="nofollow" class="external text" href="https://search.worldcat.org/issn/1797-1993">1797-1993</a>. Archived from <a rel="nofollow" class="external text" href="http://blog.anta.net/2009/01/29/509/">the original</a> on 17 August 2011.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.jtitle=Blog.anta.net&rft.atitle=Google+revives+redirect+snoopery&rft.date=2009-01-29&rft.issn=1797-1993&rft_id=http%3A%2F%2Fblog.anta.net%2F2009%2F01%2F29%2F509%2F&rfr_id=info%3Asid%2Fen.wikipedia.org%3AURL+redirection" class="Z3988"></span></span> </li> <li id="cite_note-KFihp-2"><span class="mw-cite-backlink"><b><a href="#cite_ref-KFihp_2-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://audisto.com/insights/guides/31/">"Redirects & SEO - The Total Guide"</a>. Audisto<span class="reference-accessdate">. Retrieved <span class="nowrap">29 November</span> 2015</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=unknown&rft.btitle=Redirects+%26+SEO+-+The+Total+Guide&rft.pub=Audisto&rft_id=https%3A%2F%2Faudisto.com%2Finsights%2Fguides%2F31%2F&rfr_id=info%3Asid%2Fen.wikipedia.org%3AURL+redirection" class="Z3988"></span></span> </li> <li id="cite_note-NAY3X-3"><span class="mw-cite-backlink"><b><a href="#cite_ref-NAY3X_3-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.mattcutts.com/blog/seo-advice-discussing-302-redirects/">"SEO advice: discussing 302 redirects"</a>. Matt Cutts, former Head of Google Webspam Team. 4 January 2006.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=unknown&rft.btitle=SEO+advice%3A+discussing+302+redirects&rft.pub=Matt+Cutts%2C+former+Head+of+Google+Webspam+Team&rft.date=2006-01-04&rft_id=https%3A%2F%2Fwww.mattcutts.com%2Fblog%2Fseo-advice-discussing-302-redirects%2F&rfr_id=info%3Asid%2Fen.wikipedia.org%3AURL+redirection" class="Z3988"></span></span> </li> <li id="cite_note-vMaE1-4"><span class="mw-cite-backlink"><b><a href="#cite_ref-vMaE1_4-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://support.google.com/webmasters/answer/2721217?hl=en">"Sneaky Redirects"</a>. Google Inc. 3 December 2015.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=unknown&rft.btitle=Sneaky+Redirects&rft.pub=Google+Inc.&rft.date=2015-12-03&rft_id=https%3A%2F%2Fsupport.google.com%2Fwebmasters%2Fanswer%2F2721217%3Fhl%3Den&rfr_id=info%3Asid%2Fen.wikipedia.org%3AURL+redirection" class="Z3988"></span></span> </li> <li id="cite_note-XP9Dh-5"><span class="mw-cite-backlink"><b><a href="#cite_ref-XP9Dh_5-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.owasp.org/index.php/Unvalidated_Redirects_and_Forwards_Cheat_Sheet">"Unvalidated Redirects and Forwards Cheat Sheet"</a>. Open Web Application Security Project (OWASP). 21 August 2014.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=unknown&rft.btitle=Unvalidated+Redirects+and+Forwards+Cheat+Sheet&rft.pub=Open+Web+Application+Security+Project+%28OWASP%29&rft.date=2014-08-21&rft_id=https%3A%2F%2Fwww.owasp.org%2Findex.php%2FUnvalidated_Redirects_and_Forwards_Cheat_Sheet&rfr_id=info%3Asid%2Fen.wikipedia.org%3AURL+redirection" class="Z3988"></span></span> </li> <li id="cite_note-G1Lfc-6"><span class="mw-cite-backlink"><b><a href="#cite_ref-G1Lfc_6-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://audisto.com/insights/guides/31/">"Redirects & SEO - The Complete Guide"</a>. Audisto<span class="reference-accessdate">. Retrieved <span class="nowrap">29 November</span> 2015</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=unknown&rft.btitle=Redirects+%26+SEO+-+The+Complete+Guide&rft.pub=Audisto&rft_id=https%3A%2F%2Faudisto.com%2Finsights%2Fguides%2F31%2F&rfr_id=info%3Asid%2Fen.wikipedia.org%3AURL+redirection" class="Z3988"></span></span> </li> <li id="cite_note-php-301-robust-solution-7"><span class="mw-cite-backlink"><b><a href="#cite_ref-php-301-robust-solution_7-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://web.archive.org/web/20121012042703/http://www.websitefactors.co.uk/php/2011/05/php-redirects-302-to-301-rock-solid-solution">"PHP Redirects: 302 to 301 Rock Solid Robust Solution"</a>. WebSiteFactors.co.uk. Archived from <a rel="nofollow" class="external text" href="http://www.websitefactors.co.uk/php/2011/05/php-redirects-302-to-301-rock-solid-solution/">the original</a> on 12 October 2012.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=unknown&rft.btitle=PHP+Redirects%3A+302+to+301+Rock+Solid+Robust+Solution&rft.pub=WebSiteFactors.co.uk&rft_id=http%3A%2F%2Fwww.websitefactors.co.uk%2Fphp%2F2011%2F05%2Fphp-redirects-302-to-301-rock-solid-solution%2F&rfr_id=info%3Asid%2Fen.wikipedia.org%3AURL+redirection" class="Z3988"></span></span> </li> <li id="cite_note-venDA-8"><span class="mw-cite-backlink"><b><a href="#cite_ref-venDA_8-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFRoy_T._FieldingJulian_F._Reschke2014" class="citation cs1">Roy T. Fielding; Julian F. Reschke, eds. (2014). <a rel="nofollow" class="external text" href="https://datatracker.ietf.org/doc/html/rfc7231#section-7.1.2">"Location"</a>. <a rel="nofollow" class="external text" href="https://datatracker.ietf.org/doc/html/rfc7231"><i>Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content</i></a>. <a href="/wiki/Internet_Engineering_Task_Force" title="Internet Engineering Task Force">IETF</a>. p. 68. sec. 7.1.2. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://doi.org/10.17487%2FRFC7231">10.17487/RFC7231</a></span>. <a href="/wiki/Request_for_Comments" title="Request for Comments">RFC</a> <a rel="nofollow" class="external text" href="https://datatracker.ietf.org/doc/html/rfc7231">7231</a>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=bookitem&rft.atitle=Location&rft.btitle=Hypertext+Transfer+Protocol+%28HTTP%2F1.1%29%3A+Semantics+and+Content&rft.pages=p.-68.-sec.-7.1.2&rft.pub=IETF&rft.date=2014&rft_id=info%3Adoi%2F10.17487%2FRFC7231&rft_id=https%3A%2F%2Fdatatracker.ietf.org%2Fdoc%2Fhtml%2Frfc7231%26%23035%3Bsection-7.1.2&rfr_id=info%3Asid%2Fen.wikipedia.org%3AURL+redirection" class="Z3988"></span></span> </li> <li id="cite_note-3Y1IG-9"><span class="mw-cite-backlink"><b><a href="#cite_ref-3Y1IG_9-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFBerners-LeeFieldingMasinter2005" class="citation cs1"><a href="/wiki/Tim_Berners-Lee" title="Tim Berners-Lee">Berners-Lee, Tim</a>; <a href="/wiki/Roy_Fielding" title="Roy Fielding">Fielding, Roy T.</a>; Masinter, Larry (2005). <a rel="nofollow" class="external text" href="https://datatracker.ietf.org/doc/html/rfc3986#section-5">"Reference Resolution"</a>. <a rel="nofollow" class="external text" href="https://datatracker.ietf.org/doc/html/rfc3986"><i>Uniform Resource Identifier (URI): Generic Syntax</i></a>. <a href="/wiki/Internet_Engineering_Task_Force" title="Internet Engineering Task Force">IETF</a>. p. 28. sec. 5. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://doi.org/10.17487%2FRFC3986">10.17487/RFC3986</a></span>. <a href="/wiki/Request_for_Comments" title="Request for Comments">RFC</a> <a rel="nofollow" class="external text" href="https://datatracker.ietf.org/doc/html/rfc3986">3986</a>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=bookitem&rft.atitle=Reference+Resolution&rft.btitle=Uniform+Resource+Identifier+%28URI%29%3A+Generic+Syntax&rft.pages=p.-28.-sec.-5&rft.pub=IETF&rft.date=2005&rft_id=info%3Adoi%2F10.17487%2FRFC3986&rft.aulast=Berners-Lee&rft.aufirst=Tim&rft.au=Fielding%2C+Roy+T.&rft.au=Masinter%2C+Larry&rft_id=https%3A%2F%2Fdatatracker.ietf.org%2Fdoc%2Fhtml%2Frfc3986%26%23035%3Bsection-5&rfr_id=info%3Asid%2Fen.wikipedia.org%3AURL+redirection" class="Z3988"></span></span> </li> <li id="cite_note-T6lN6-10"><span class="mw-cite-backlink"><b><a href="#cite_ref-T6lN6_10-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://nginx.org/r/rewrite">"Module ngx_http_rewrite_module - rewrite"</a>. nginx.org<span class="reference-accessdate">. Retrieved <span class="nowrap">24 December</span> 2014</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=unknown&rft.btitle=Module+ngx_http_rewrite_module+-+rewrite&rft.pub=nginx.org&rft_id=http%3A%2F%2Fnginx.org%2Fr%2Frewrite&rfr_id=info%3Asid%2Fen.wikipedia.org%3AURL+redirection" class="Z3988"></span></span> </li> <li id="cite_note-ltnoQ-11"><span class="mw-cite-backlink"><b><a href="#cite_ref-ltnoQ_11-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFMurenin2013" class="citation mailinglist cs1">Murenin, Constantine A. (18 February 2013). <a rel="nofollow" class="external text" href="http://mailman.nginx.org/pipermail/nginx/2013-February/037592.html">"A dynamic web-site written wholly in nginx.conf? Introducing mdoc.su!"</a>. <i>nginx@nginx.org</i> (Mailing list)<span class="reference-accessdate">. Retrieved <span class="nowrap">24 December</span> 2014</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=unknown&rft.btitle=A+dynamic+web-site+written+wholly+in+nginx.conf%3F+Introducing+mdoc.su%21&rft.date=2013-02-18&rft.aulast=Murenin&rft.aufirst=Constantine+A.&rft_id=http%3A%2F%2Fmailman.nginx.org%2Fpipermail%2Fnginx%2F2013-February%2F037592.html&rfr_id=info%3Asid%2Fen.wikipedia.org%3AURL+redirection" class="Z3988"></span></span> </li> <li id="cite_note-sjHzb-12"><span class="mw-cite-backlink"><b><a href="#cite_ref-sjHzb_12-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFMurenin2013" class="citation web cs1">Murenin, Constantine A. (23 February 2013). <a rel="nofollow" class="external text" href="http://mdoc.su/">"mdoc.su – Short manual page URLs for FreeBSD, OpenBSD, NetBSD and DragonFly BSD"</a><span class="reference-accessdate">. Retrieved <span class="nowrap">25 December</span> 2014</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=unknown&rft.btitle=mdoc.su+%E2%80%93+Short+manual+page+URLs+for+FreeBSD%2C+OpenBSD%2C+NetBSD+and+DragonFly+BSD&rft.date=2013-02-23&rft.aulast=Murenin&rft.aufirst=Constantine+A.&rft_id=http%3A%2F%2Fmdoc.su%2F&rfr_id=info%3Asid%2Fen.wikipedia.org%3AURL+redirection" class="Z3988"></span></span> </li> <li id="cite_note-y0ZUF-13"><span class="mw-cite-backlink"><b><a href="#cite_ref-y0ZUF_13-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFMurenin2013" class="citation web cs1">Murenin, Constantine A. (23 February 2013). <a rel="nofollow" class="external text" href="http://nginx.conf.mdoc.su/mdoc.su.nginx.conf">"mdoc.su.nginx.conf"</a><span class="reference-accessdate">. Retrieved <span class="nowrap">25 December</span> 2014</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=unknown&rft.btitle=mdoc.su.nginx.conf&rft.date=2013-02-23&rft.aulast=Murenin&rft.aufirst=Constantine+A.&rft_id=http%3A%2F%2Fnginx.conf.mdoc.su%2Fmdoc.su.nginx.conf&rfr_id=info%3Asid%2Fen.wikipedia.org%3AURL+redirection" class="Z3988"></span></span> </li> <li id="cite_note-iFTFs-14"><span class="mw-cite-backlink"><b><a href="#cite_ref-iFTFs_14-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.w3schools.com/tags/tag_meta.asp">"HTML meta tag"</a>. <i>www.w3schools.com</i>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=unknown&rft.jtitle=www.w3schools.com&rft.atitle=HTML+meta+tag&rft_id=https%3A%2F%2Fwww.w3schools.com%2Ftags%2Ftag_meta.asp&rfr_id=info%3Asid%2Fen.wikipedia.org%3AURL+redirection" class="Z3988"></span></span> </li> <li id="cite_note-BEKGZ-15"><span class="mw-cite-backlink"><b><a href="#cite_ref-BEKGZ_15-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://web.archive.org/web/20020802170847/http://wp.netscape.com/assist/net_sites/pushpull.html">"An Exploration of Dynamic Documents"</a>. 2 August 2002. Archived from the original on 2 August 2002.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=unknown&rft.btitle=An+Exploration+of+Dynamic+Documents&rft.date=2002-08-02&rft_id=http%3A%2F%2Fwp.netscape.com%2Fassist%2Fnet_sites%2Fpushpull.html&rfr_id=info%3Asid%2Fen.wikipedia.org%3AURL+redirection" class="Z3988"></span><span class="cs1-maint citation-comment"><code class="cs1-code">{{<a href="/wiki/Template:Cite_web" title="Template:Cite web">cite web</a>}}</code>: CS1 maint: bot: original URL status unknown (<a href="/wiki/Category:CS1_maint:_bot:_original_URL_status_unknown" title="Category:CS1 maint: bot: original URL status unknown">link</a>)</span></span> </li> <li id="cite_note-DOOOW-16"><span class="mw-cite-backlink"><b><a href="#cite_ref-DOOOW_16-0">^</a></b></span> <span class="reference-text"><a rel="nofollow" class="external text" href="http://sebastians-pamphlets.com/google-and-yahoo-treat-undelayed-meta-refresh-as-301-redirect/">"Google and Yahoo accept undelayed meta refreshs as 301 redirects"</a>. Sebastian's Pamphlets. 3 September 2007.</span> </li> <li id="cite_note-DO1Os-17"><span class="mw-cite-backlink"><b><a href="#cite_ref-DO1Os_17-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://www.w3.org/TR/WAI-WEBCONTENT/#tech-no-periodic-refresh">"Web Content Accessibility Guidelines 1.0"</a>. <i>www.w3.org</i>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=unknown&rft.jtitle=www.w3.org&rft.atitle=Web+Content+Accessibility+Guidelines+1.0&rft_id=http%3A%2F%2Fwww.w3.org%2FTR%2FWAI-WEBCONTENT%2F%23tech-no-periodic-refresh&rfr_id=info%3Asid%2Fen.wikipedia.org%3AURL+redirection" class="Z3988"></span></span> </li> <li id="cite_note-sEvbk-18"><span class="mw-cite-backlink"><b><a href="#cite_ref-sEvbk_18-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFTeam" class="citation web cs1">Team, the QA. <a rel="nofollow" class="external text" href="http://www.w3.org/QA/Tips/reback">"Use standard redirects"</a>. <i>www.w3.org</i>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=unknown&rft.jtitle=www.w3.org&rft.atitle=Use+standard+redirects&rft.aulast=Team&rft.aufirst=the+QA&rft_id=http%3A%2F%2Fwww.w3.org%2FQA%2FTips%2Freback&rfr_id=info%3Asid%2Fen.wikipedia.org%3AURL+redirection" class="Z3988"></span></span> </li> <li id="cite_note-V6sLN-19"><span class="mw-cite-backlink"><b><a href="#cite_ref-V6sLN_19-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://www.w3.org/TR/WCAG10-CORE-TECHS/#auto-page-refresh">"Core Techniques for Web Content Accessibility Guidelines 1.0"</a>. <i>www.w3.org</i>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=unknown&rft.jtitle=www.w3.org&rft.atitle=Core+Techniques+for+Web+Content+Accessibility+Guidelines+1.0&rft_id=http%3A%2F%2Fwww.w3.org%2FTR%2FWCAG10-CORE-TECHS%2F%23auto-page-refresh&rfr_id=info%3Asid%2Fen.wikipedia.org%3AURL+redirection" class="Z3988"></span></span> </li> <li id="cite_note-knBmq-20"><span class="mw-cite-backlink"><b><a href="#cite_ref-knBmq_20-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://web.archive.org/web/20200726044044/http://insider.zone/tools/client-side-url-redirect-generator/">"Cross-browser client side URL redirect generator"</a>. Insider Zone. Archived from <a rel="nofollow" class="external text" href="http://insider.zone/tools/client-side-url-redirect-generator/">the original</a> on 26 July 2020<span class="reference-accessdate">. Retrieved <span class="nowrap">27 August</span> 2015</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=unknown&rft.btitle=Cross-browser+client+side+URL+redirect+generator&rft.pub=Insider+Zone&rft_id=http%3A%2F%2Finsider.zone%2Ftools%2Fclient-side-url-redirect-generator%2F&rfr_id=info%3Asid%2Fen.wikipedia.org%3AURL+redirection" class="Z3988"></span></span> </li> <li id="cite_note-G9pV6-21"><span class="mw-cite-backlink"><b><a href="#cite_ref-G9pV6_21-0">^</a></b></span> <span class="reference-text">Aaron Emigh (19 January 2005). <a rel="nofollow" class="external text" href="http://www.sfbay-infragard.org/Documents/phishing-sfectf-report.pdf">"Anti-Phishing Technology"</a> <a rel="nofollow" class="external text" href="https://web.archive.org/web/20070927171420/http://www.sfbay-infragard.org/Documents/phishing-sfectf-report.pdf">Archived</a> 27 September 2007 at the <a href="/wiki/Wayback_Machine" title="Wayback Machine">Wayback Machine</a> (PDF). Radix Labs.</span> </li> <li id="cite_note-zW4Ol-22"><span class="mw-cite-backlink"><b><a href="#cite_ref-zW4Ol_22-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.w3.org/TR/html5/obsolete.html">"HTML 5.2: 11. Obsolete features"</a>. <i>www.w3.org</i>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=unknown&rft.jtitle=www.w3.org&rft.atitle=HTML+5.2%3A+11.+Obsolete+features&rft_id=https%3A%2F%2Fwww.w3.org%2FTR%2Fhtml5%2Fobsolete.html&rfr_id=info%3Asid%2Fen.wikipedia.org%3AURL+redirection" class="Z3988"></span></span> </li> <li id="cite_note-Schwartz-23"><span class="mw-cite-backlink"><b><a href="#cite_ref-Schwartz_23-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFSchwartz2007" class="citation web cs1">Schwartz, Barry (18 December 2007). <a rel="nofollow" class="external text" href="https://www.seroundtable.com/archives/015712.html">"Double Redirects May Take Google More Time To Pick Up On"</a>. <i>Search Engine Roundtable</i><span class="reference-accessdate">. Retrieved <span class="nowrap">28 January</span> 2024</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=unknown&rft.jtitle=Search+Engine+Roundtable&rft.atitle=Double+Redirects+May+Take+Google+More+Time+To+Pick+Up+On&rft.date=2007-12-18&rft.aulast=Schwartz&rft.aufirst=Barry&rft_id=https%3A%2F%2Fwww.seroundtable.com%2Farchives%2F015712.html&rfr_id=info%3Asid%2Fen.wikipedia.org%3AURL+redirection" class="Z3988"></span></span> </li> <li id="cite_note-rfc7231sec6.4-24"><span class="mw-cite-backlink"><b><a href="#cite_ref-rfc7231sec6.4_24-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFRoy_T._FieldingJulian_F._Reschke2014" class="citation cs1"><a href="/wiki/Roy_Fielding" title="Roy Fielding">Roy T. Fielding</a>; Julian F. Reschke, eds. (2014). <a rel="nofollow" class="external text" href="https://datatracker.ietf.org/doc/html/rfc7231#section-6.4">"Redirection 3xx"</a>. <a rel="nofollow" class="external text" href="https://datatracker.ietf.org/doc/html/rfc7231"><i>Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content</i></a>. <a href="/wiki/Internet_Engineering_Task_Force" title="Internet Engineering Task Force">IETF</a>. p. 54. sec. 6.4. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://doi.org/10.17487%2FRFC7231">10.17487/RFC7231</a></span>. <a href="/wiki/Request_for_Comments" title="Request for Comments">RFC</a> <a rel="nofollow" class="external text" href="https://datatracker.ietf.org/doc/html/rfc7231">7231</a>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=bookitem&rft.atitle=Redirection+3xx&rft.btitle=Hypertext+Transfer+Protocol+%28HTTP%2F1.1%29%3A+Semantics+and+Content&rft.pages=p.-54.-sec.-6.4&rft.pub=IETF&rft.date=2014&rft_id=info%3Adoi%2F10.17487%2FRFC7231&rft_id=https%3A%2F%2Fdatatracker.ietf.org%2Fdoc%2Fhtml%2Frfc7231%26%23035%3Bsection-6.4&rfr_id=info%3Asid%2Fen.wikipedia.org%3AURL+redirection" class="Z3988"></span></span> </li> <li id="cite_note-2Died-25"><span class="mw-cite-backlink"><b><a href="#cite_ref-2Died_25-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation news cs1"><a rel="nofollow" class="external text" href="https://web.archive.org/web/20140512232450/http://news.bbc.co.uk/2/hi/technology/6991719.stm">"Net gains for tiny Pacific nation"</a>. <i>BBC News</i>. 14 September 2007. Archived from <a rel="nofollow" class="external text" href="http://news.bbc.co.uk/2/hi/technology/6991719.stm">the original</a> on 12 May 2014<span class="reference-accessdate">. Retrieved <span class="nowrap">27 May</span> 2010</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.jtitle=BBC+News&rft.atitle=Net+gains+for+tiny+Pacific+nation&rft.date=2007-09-14&rft_id=http%3A%2F%2Fnews.bbc.co.uk%2F2%2Fhi%2Ftechnology%2F6991719.stm&rfr_id=info%3Asid%2Fen.wikipedia.org%3AURL+redirection" class="Z3988"></span></span> </li> <li id="cite_note-:0-26"><span class="mw-cite-backlink">^ <a href="#cite_ref-:0_26-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-:0_26-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFInnocentiGolinelliOnarliogluMirheidari2023" class="citation book cs1">Innocenti, Tommaso; Golinelli, Matteo; Onarlioglu, Kaan; Mirheidari, Ali; Crispo, Bruno; Kirda, Engin (4 December 2023). <a rel="nofollow" class="external text" href="https://dl.acm.org/doi/10.1145/3627106.3627140">"OAuth 2.0 Redirect URI Validation Falls Short, Literally"</a>. <i>Annual Computer Security Applications Conference</i>. ACSAC '23. New York, NY, USA: Association for Computing Machinery. pp. 256–267. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1145%2F3627106.3627140">10.1145/3627106.3627140</a>. <a href="/wiki/Hdl_(identifier)" class="mw-redirect" title="Hdl (identifier)">hdl</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://hdl.handle.net/11572%2F399070">11572/399070</a></span>. <a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a> <a href="/wiki/Special:BookSources/979-8-4007-0886-2" title="Special:BookSources/979-8-4007-0886-2"><bdi>979-8-4007-0886-2</bdi></a>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=bookitem&rft.atitle=OAuth+2.0+Redirect+URI+Validation+Falls+Short%2C+Literally&rft.btitle=Annual+Computer+Security+Applications+Conference&rft.place=New+York%2C+NY%2C+USA&rft.series=ACSAC+%2723&rft.pages=256-267&rft.pub=Association+for+Computing+Machinery&rft.date=2023-12-04&rft_id=info%3Ahdl%2F11572%2F399070&rft_id=info%3Adoi%2F10.1145%2F3627106.3627140&rft.isbn=979-8-4007-0886-2&rft.aulast=Innocenti&rft.aufirst=Tommaso&rft.au=Golinelli%2C+Matteo&rft.au=Onarlioglu%2C+Kaan&rft.au=Mirheidari%2C+Ali&rft.au=Crispo%2C+Bruno&rft.au=Kirda%2C+Engin&rft_id=https%3A%2F%2Fdl.acm.org%2Fdoi%2F10.1145%2F3627106.3627140&rfr_id=info%3Asid%2Fen.wikipedia.org%3AURL+redirection" class="Z3988"></span></span> </li> <li id="cite_note-Open_Redirect-27"><span class="mw-cite-backlink"><b><a href="#cite_ref-Open_Redirect_27-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.owasp.org/index.php/Open_redirect">"Open Redirect"</a>. OWASP. 16 March 2014<span class="reference-accessdate">. Retrieved <span class="nowrap">21 December</span> 2014</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=unknown&rft.btitle=Open+Redirect&rft.pub=OWASP&rft.date=2014-03-16&rft_id=https%3A%2F%2Fwww.owasp.org%2Findex.php%2FOpen_redirect&rfr_id=info%3Asid%2Fen.wikipedia.org%3AURL+redirection" class="Z3988"></span></span> </li> <li id="cite_note-Covert_Redirect-28"><span class="mw-cite-backlink"><b><a href="#cite_ref-Covert_Redirect_28-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://tetraph.com/covert_redirect/">"Covert Redirect"</a>. Tetraph. 1 May 2014<span class="reference-accessdate">. Retrieved <span class="nowrap">21 December</span> 2014</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=unknown&rft.btitle=Covert+Redirect&rft.pub=Tetraph&rft.date=2014-05-01&rft_id=http%3A%2F%2Ftetraph.com%2Fcovert_redirect%2F&rfr_id=info%3Asid%2Fen.wikipedia.org%3AURL+redirection" class="Z3988"></span></span> </li> <li id="cite_note-CNET-29"><span class="mw-cite-backlink"><b><a href="#cite_ref-CNET_29-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.cnet.com/news/serious-security-flaw-in-oauth-and-openid-discovered/">"Serious security flaw in OAuth, OpenID discovered"</a>. CNET. 2 May 2014<span class="reference-accessdate">. Retrieved <span class="nowrap">21 December</span> 2014</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=unknown&rft.btitle=Serious+security+flaw+in+OAuth%2C+OpenID+discovered&rft.pub=CNET&rft.date=2014-05-02&rft_id=https%3A%2F%2Fwww.cnet.com%2Fnews%2Fserious-security-flaw-in-oauth-and-openid-discovered%2F&rfr_id=info%3Asid%2Fen.wikipedia.org%3AURL+redirection" class="Z3988"></span></span> </li> <li id="cite_note-30"><span class="mw-cite-backlink"><b><a href="#cite_ref-30">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFMike_Williams2022" class="citation web cs1">Mike Williams (5 June 2022). <a rel="nofollow" class="external text" href="https://www.techradar.com/features/what-is-open-redirect-vulnerability">"What is an Open Redirect vulnerability, why is it dangerous and how can you stay safe?"</a>. <i>TechRadar</i><span class="reference-accessdate">. Retrieved <span class="nowrap">8 April</span> 2024</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=unknown&rft.jtitle=TechRadar&rft.atitle=What+is+an+Open+Redirect+vulnerability%2C+why+is+it+dangerous+and+how+can+you+stay+safe%3F&rft.date=2022-06-05&rft.au=Mike+Williams&rft_id=https%3A%2F%2Fwww.techradar.com%2Ffeatures%2Fwhat-is-open-redirect-vulnerability&rfr_id=info%3Asid%2Fen.wikipedia.org%3AURL+redirection" class="Z3988"></span></span> </li> <li id="cite_note-31"><span class="mw-cite-backlink"><b><a href="#cite_ref-31">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://cwe.mitre.org/data/definitions/601.html">"CWE - CWE-601: URL Redirection to Untrusted Site ('Open Redirect') (4.14)"</a>. <i>cwe.mitre.org</i><span class="reference-accessdate">. Retrieved <span class="nowrap">8 April</span> 2024</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=unknown&rft.jtitle=cwe.mitre.org&rft.atitle=CWE+-+CWE-601%3A+URL+Redirection+to+Untrusted+Site+%28%27Open+Redirect%27%29+%284.14%29&rft_id=https%3A%2F%2Fcwe.mitre.org%2Fdata%2Fdefinitions%2F601.html&rfr_id=info%3Asid%2Fen.wikipedia.org%3AURL+redirection" class="Z3988"></span></span> </li> <li id="cite_note-32"><span class="mw-cite-backlink"><b><a href="#cite_ref-32">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFKnittelMainkaNiemietzNoß2021" class="citation book cs1">Knittel, Lukas; Mainka, Christian; Niemietz, Marcus; Noß, Dominik Trevor; Schwenk, Jörg (13 November 2021). <a rel="nofollow" class="external text" href="https://dl.acm.org/doi/10.1145/3460120.3484739">"XSinator.com: From a Formal Model to the Automatic Evaluation of Cross-Site Leaks in Web Browsers"</a>. <i>Proceedings of the 2021 ACM SIGSAC Conference on Computer and Communications Security</i>. CCS '21. New York, NY, USA: Association for Computing Machinery. pp. 1771–1788. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1145%2F3460120.3484739">10.1145/3460120.3484739</a>. <a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a> <a href="/wiki/Special:BookSources/978-1-4503-8454-4" title="Special:BookSources/978-1-4503-8454-4"><bdi>978-1-4503-8454-4</bdi></a>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=bookitem&rft.atitle=XSinator.com%3A+From+a+Formal+Model+to+the+Automatic+Evaluation+of+Cross-Site+Leaks+in+Web+Browsers&rft.btitle=Proceedings+of+the+2021+ACM+SIGSAC+Conference+on+Computer+and+Communications+Security&rft.place=New+York%2C+NY%2C+USA&rft.series=CCS+%2721&rft.pages=1771-1788&rft.pub=Association+for+Computing+Machinery&rft.date=2021-11-13&rft_id=info%3Adoi%2F10.1145%2F3460120.3484739&rft.isbn=978-1-4503-8454-4&rft.aulast=Knittel&rft.aufirst=Lukas&rft.au=Mainka%2C+Christian&rft.au=Niemietz%2C+Marcus&rft.au=No%C3%9F%2C+Dominik+Trevor&rft.au=Schwenk%2C+J%C3%B6rg&rft_id=https%3A%2F%2Fdl.acm.org%2Fdoi%2F10.1145%2F3460120.3484739&rfr_id=info%3Asid%2Fen.wikipedia.org%3AURL+redirection" class="Z3988"></span></span> </li> </ol></div></div> <div class="mw-heading mw-heading2"><h2 id="External_links">External links</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=URL_redirection&action=edit&section=32" title="Edit section: External links"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <ul><li><a rel="nofollow" class="external text" href="https://httpd.apache.org/docs/2.4/en/urlmapping.html">Mapping URLs to Filesystem Locations - Apache HTTP Server Version 2.4</a></li> <li><a rel="nofollow" class="external text" href="http://www2007.org/workshops/paper_115.pdf">Taxonomy of JavaScript Redirection Spam</a> (Microsoft Live Labs)</li> <li><a rel="nofollow" class="external text" href="http://projects.webappsec.org/URL-Redirector-Abuse">Security vulnerabilities in URL Redirectors</a> The Web Application Security Consortium Threat Classification</li></ul> <div class="navbox-styles"><style data-mw-deduplicate="TemplateStyles:r1129693374">.mw-parser-output .hlist dl,.mw-parser-output .hlist ol,.mw-parser-output .hlist ul{margin:0;padding:0}.mw-parser-output .hlist dd,.mw-parser-output .hlist dt,.mw-parser-output .hlist li{margin:0;display:inline}.mw-parser-output .hlist.inline,.mw-parser-output .hlist.inline dl,.mw-parser-output .hlist.inline ol,.mw-parser-output .hlist.inline ul,.mw-parser-output .hlist dl dl,.mw-parser-output .hlist dl ol,.mw-parser-output .hlist dl ul,.mw-parser-output .hlist ol dl,.mw-parser-output .hlist ol ol,.mw-parser-output .hlist ol ul,.mw-parser-output .hlist ul dl,.mw-parser-output .hlist ul ol,.mw-parser-output .hlist ul ul{display:inline}.mw-parser-output .hlist .mw-empty-li{display:none}.mw-parser-output .hlist dt::after{content:": "}.mw-parser-output .hlist dd::after,.mw-parser-output .hlist li::after{content:" · ";font-weight:bold}.mw-parser-output .hlist dd:last-child::after,.mw-parser-output .hlist dt:last-child::after,.mw-parser-output .hlist li:last-child::after{content:none}.mw-parser-output .hlist dd dd:first-child::before,.mw-parser-output .hlist dd dt:first-child::before,.mw-parser-output .hlist dd li:first-child::before,.mw-parser-output .hlist dt dd:first-child::before,.mw-parser-output .hlist dt dt:first-child::before,.mw-parser-output .hlist dt li:first-child::before,.mw-parser-output .hlist li dd:first-child::before,.mw-parser-output .hlist li dt:first-child::before,.mw-parser-output .hlist li li:first-child::before{content:" (";font-weight:normal}.mw-parser-output .hlist dd dd:last-child::after,.mw-parser-output .hlist dd dt:last-child::after,.mw-parser-output .hlist dd li:last-child::after,.mw-parser-output .hlist dt dd:last-child::after,.mw-parser-output .hlist dt dt:last-child::after,.mw-parser-output .hlist dt li:last-child::after,.mw-parser-output .hlist li dd:last-child::after,.mw-parser-output .hlist li dt:last-child::after,.mw-parser-output .hlist li li:last-child::after{content:")";font-weight:normal}.mw-parser-output .hlist ol{counter-reset:listitem}.mw-parser-output .hlist ol>li{counter-increment:listitem}.mw-parser-output .hlist ol>li::before{content:" "counter(listitem)"\a0 "}.mw-parser-output .hlist dd ol>li:first-child::before,.mw-parser-output .hlist dt ol>li:first-child::before,.mw-parser-output .hlist li ol>li:first-child::before{content:" ("counter(listitem)"\a0 "}</style><style data-mw-deduplicate="TemplateStyles:r1236075235">.mw-parser-output .navbox{box-sizing:border-box;border:1px solid #a2a9b1;width:100%;clear:both;font-size:88%;text-align:center;padding:1px;margin:1em auto 0}.mw-parser-output .navbox .navbox{margin-top:0}.mw-parser-output .navbox+.navbox,.mw-parser-output .navbox+.navbox-styles+.navbox{margin-top:-1px}.mw-parser-output .navbox-inner,.mw-parser-output .navbox-subgroup{width:100%}.mw-parser-output .navbox-group,.mw-parser-output .navbox-title,.mw-parser-output .navbox-abovebelow{padding:0.25em 1em;line-height:1.5em;text-align:center}.mw-parser-output .navbox-group{white-space:nowrap;text-align:right}.mw-parser-output .navbox,.mw-parser-output .navbox-subgroup{background-color:#fdfdfd}.mw-parser-output .navbox-list{line-height:1.5em;border-color:#fdfdfd}.mw-parser-output .navbox-list-with-group{text-align:left;border-left-width:2px;border-left-style:solid}.mw-parser-output tr+tr>.navbox-abovebelow,.mw-parser-output tr+tr>.navbox-group,.mw-parser-output tr+tr>.navbox-image,.mw-parser-output tr+tr>.navbox-list{border-top:2px solid #fdfdfd}.mw-parser-output .navbox-title{background-color:#ccf}.mw-parser-output .navbox-abovebelow,.mw-parser-output .navbox-group,.mw-parser-output .navbox-subgroup .navbox-title{background-color:#ddf}.mw-parser-output .navbox-subgroup .navbox-group,.mw-parser-output .navbox-subgroup .navbox-abovebelow{background-color:#e6e6ff}.mw-parser-output .navbox-even{background-color:#f7f7f7}.mw-parser-output .navbox-odd{background-color:transparent}.mw-parser-output .navbox .hlist td dl,.mw-parser-output .navbox .hlist td ol,.mw-parser-output .navbox .hlist td ul,.mw-parser-output .navbox td.hlist dl,.mw-parser-output .navbox td.hlist ol,.mw-parser-output .navbox td.hlist ul{padding:0.125em 0}.mw-parser-output .navbox .navbar{display:block;font-size:100%}.mw-parser-output .navbox-title .navbar{float:left;text-align:left;margin-right:0.5em}body.skin--responsive .mw-parser-output .navbox-image img{max-width:none!important}@media print{body.ns-0 .mw-parser-output .navbox{display:none!important}}</style></div><div role="navigation" class="navbox" aria-labelledby="Unsolicited_digital_communication" style="padding:3px"><table class="nowraplinks mw-collapsible autocollapse navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tbody><tr><th scope="col" class="navbox-title" colspan="2"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1129693374"><style data-mw-deduplicate="TemplateStyles:r1239400231">.mw-parser-output .navbar{display:inline;font-size:88%;font-weight:normal}.mw-parser-output .navbar-collapse{float:left;text-align:left}.mw-parser-output .navbar-boxtext{word-spacing:0}.mw-parser-output .navbar ul{display:inline-block;white-space:nowrap;line-height:inherit}.mw-parser-output .navbar-brackets::before{margin-right:-0.125em;content:"[ "}.mw-parser-output .navbar-brackets::after{margin-left:-0.125em;content:" ]"}.mw-parser-output .navbar li{word-spacing:-0.125em}.mw-parser-output .navbar a>span,.mw-parser-output .navbar a>abbr{text-decoration:inherit}.mw-parser-output .navbar-mini abbr{font-variant:small-caps;border-bottom:none;text-decoration:none;cursor:inherit}.mw-parser-output .navbar-ct-full{font-size:114%;margin:0 7em}.mw-parser-output .navbar-ct-mini{font-size:114%;margin:0 4em}html.skin-theme-clientpref-night .mw-parser-output .navbar li a abbr{color:var(--color-base)!important}@media(prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .navbar li a abbr{color:var(--color-base)!important}}@media print{.mw-parser-output .navbar{display:none!important}}</style><div class="navbar plainlinks hlist navbar-mini"><ul><li class="nv-view"><a href="/wiki/Template:Spamming" title="Template:Spamming"><abbr title="View this template">v</abbr></a></li><li class="nv-talk"><a href="/wiki/Template_talk:Spamming" title="Template talk:Spamming"><abbr title="Discuss this template">t</abbr></a></li><li class="nv-edit"><a href="/wiki/Special:EditPage/Template:Spamming" title="Special:EditPage/Template:Spamming"><abbr title="Edit this template">e</abbr></a></li></ul></div><div id="Unsolicited_digital_communication" style="font-size:114%;margin:0 4em"><a href="/wiki/Spamming" title="Spamming">Unsolicited digital communication</a></div></th></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/Communication_protocol" title="Communication protocol">Protocols</a></th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"></div><table class="nowraplinks navbox-subgroup" style="border-spacing:0"><tbody><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/Email_spam" title="Email spam">Email spam</a></th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Address_munging" title="Address munging">Address munging</a></li> <li><a href="/wiki/Bulk_email_software" title="Bulk email software">Bulk email software</a></li> <li><a href="/wiki/Directory_harvest_attack" title="Directory harvest attack">Directory harvest attack</a></li> <li><a href="/wiki/Domain_Name_System_blocklist" title="Domain Name System blocklist">DNSBL</a></li> <li><a href="/wiki/DNSWL" class="mw-redirect" title="DNSWL">DNSWL</a></li> <li><a href="/wiki/Email_spoofing" title="Email spoofing">Email spoofing</a></li> <li><a href="/wiki/Image_spam" title="Image spam">Image spam</a></li> <li><a href="/wiki/Joe_job" title="Joe job">Joe job</a></li> <li><a href="/wiki/Pink_contract" title="Pink contract">Pink contract</a></li> <li><a href="/wiki/Email-address_harvesting" title="Email-address harvesting">Spambot</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Other</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Auto_dialer" title="Auto dialer">Auto dialer</a></li> <li><a href="/wiki/Cold_calling" title="Cold calling">Cold calling</a></li> <li><a href="/wiki/Flyposting" title="Flyposting">Flyposting</a></li> <li><a href="/wiki/Junk_fax" title="Junk fax">Junk fax</a></li> <li><a href="/wiki/Messaging_spam" title="Messaging spam">Messaging</a></li> <li><a href="/wiki/Mobile_phone_spam" title="Mobile phone spam">Mobile phone</a></li> <li><a href="/wiki/Newsgroup_spam" title="Newsgroup spam">Newsgroup</a></li> <li><a href="/wiki/Robocall" title="Robocall">Robocall</a></li> <li><a href="/wiki/Spambot" title="Spambot">Spambot</a></li> <li><a href="/wiki/Telemarketing" title="Telemarketing">Telemarketing</a></li> <li><a href="/wiki/VoIP_spam" title="VoIP spam">VoIP</a></li></ul> </div></td></tr></tbody></table><div></div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/Anti-spam_techniques" title="Anti-spam techniques">Anti-spam</a></th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Anti-spam_techniques_(users)" class="mw-redirect" title="Anti-spam techniques (users)">Client-side</a></li> <li><a href="/wiki/Challenge%E2%80%93response_spam_filtering" title="Challenge–response spam filtering">Challenge–response spam filtering</a></li> <li><a href="/wiki/Context_filtering" title="Context filtering">Context filtering</a></li> <li><a href="/wiki/Disposable_email_address" title="Disposable email address">Disposable email address</a></li> <li><a href="/wiki/Distributed_Checksum_Clearinghouse" title="Distributed Checksum Clearinghouse">Distributed Checksum Clearinghouse</a></li> <li><a href="/wiki/Email_authentication" title="Email authentication">Email authentication</a></li> <li><a href="/wiki/Greylisting_(email)" title="Greylisting (email)">Greylisting</a></li> <li><a href="/wiki/List_poisoning" title="List poisoning">List poisoning</a></li> <li><a href="/wiki/Naive_Bayes_spam_filtering" title="Naive Bayes spam filtering">Naive Bayes spam filtering</a></li> <li><a href="/wiki/Spam_and_Open_Relay_Blocking_System" title="Spam and Open Relay Blocking System">SORBS</a></li> <li><a href="/wiki/SpamCop" title="SpamCop">SpamCop</a></li> <li><a href="/wiki/The_Spamhaus_Project" title="The Spamhaus Project">Spamhaus</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/Spamdexing" title="Spamdexing">Spamdexing</a></th><td class="navbox-list-with-group navbox-list navbox-even hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Spam_in_blogs" title="Spam in blogs">Blog spam</a></li> <li><a href="/wiki/Cloaking" title="Cloaking">Cloaking</a></li> <li><a href="/wiki/Doorway_page" title="Doorway page">Doorway page</a></li> <li><a href="/wiki/Forum_spam" title="Forum spam">Forum spam</a></li> <li><a href="/wiki/Google_bombing" title="Google bombing">Google bombing</a></li> <li><a href="/wiki/Keyword_stuffing" class="mw-redirect" title="Keyword stuffing">Keyword stuffing</a></li> <li><a href="/wiki/Link_farm" title="Link farm">Link farm</a></li> <li><a href="/wiki/Referrer_spam" title="Referrer spam">Referrer spam</a></li> <li><a href="/wiki/Scraper_site" title="Scraper site">Scraper site</a></li> <li><a href="/wiki/Social_spam" title="Social spam">Social spam</a></li> <li><a href="/wiki/Spam_blog" title="Spam blog">Spam blogs</a></li> <li><a href="/wiki/Sping" title="Sping">Sping</a></li> <li><a class="mw-selflink selflink">URL redirection</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/Internet_fraud" title="Internet fraud">Internet fraud</a></th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Advance-fee_scam" title="Advance-fee scam">Advance-fee scam</a> <ul><li><a href="/wiki/Lottery_scam" title="Lottery scam">Lottery scam</a></li></ul></li> <li><a href="/wiki/Make_Money_Fast" title="Make Money Fast">Make Money Fast</a></li> <li><a href="/wiki/Phishing" title="Phishing">Phishing</a> <ul><li><a href="/wiki/Voice_phishing" title="Voice phishing">Voice</a></li></ul></li></ul> </div></td></tr></tbody></table></div> <!-- NewPP limit report Parsed by mw‐web.codfw.main‐f69cdc8f6‐5pr2z Cached time: 20241122140842 Cache expiry: 2592000 Reduced expiry: false Complications: [vary‐revision‐sha1, show‐toc] CPU time usage: 0.580 seconds Real time usage: 1.431 seconds Preprocessor visited node count: 3483/1000000 Post‐expand include size: 73064/2097152 bytes Template argument size: 3215/2097152 bytes Highest expansion depth: 18/100 Expensive parser function count: 24/500 Unstrip recursion depth: 1/20 Unstrip post‐expand size: 129102/5000000 bytes Lua time usage: 0.316/10.000 seconds Lua memory usage: 6198016/52428800 bytes Number of Wikibase entities loaded: 0/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 1338.097 1 -total 22.64% 302.880 1 Template:Reflist 7.28% 97.461 1 Template:Short_description 6.98% 93.367 1 Template:Cite_journal 6.50% 86.943 22 Template:Cite_web 5.89% 78.762 1 Template:Spamming 5.70% 76.290 2 Template:Navbox 4.22% 56.518 2 Template:Pagetype 3.32% 44.453 3 Template:Cite_IETF 2.13% 28.505 5 Template:Main_other --> <!-- Saved in parser cache with key enwiki:pcache:idhash:636686-0!canonical and timestamp 20241122140842 and revision id 1254981463. Rendering was triggered because: page-view --> </div><!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?type=1x1" alt="" width="1" height="1" style="border: none; position: absolute;"></noscript> <div class="printfooter" data-nosnippet="">Retrieved from "<a dir="ltr" href="https://en.wikipedia.org/w/index.php?title=URL_redirection&oldid=1254981463">https://en.wikipedia.org/w/index.php?title=URL_redirection&oldid=1254981463</a>"</div></div> <div id="catlinks" class="catlinks" data-mw="interface"><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="/wiki/Help:Category" title="Help:Category">Categories</a>: <ul><li><a href="/wiki/Category:Spamming" title="Category:Spamming">Spamming</a></li><li><a href="/wiki/Category:URL" title="Category:URL">URL</a></li><li><a href="/wiki/Category:Black_hat_search_engine_optimization" title="Category:Black hat search engine optimization">Black hat search engine optimization</a></li><li><a href="/wiki/Category:Internet_search" title="Category:Internet search">Internet search</a></li><li><a href="/wiki/Category:Internet_terminology" title="Category:Internet terminology">Internet terminology</a></li></ul></div><div id="mw-hidden-catlinks" class="mw-hidden-catlinks mw-hidden-cats-hidden">Hidden categories: <ul><li><a href="/wiki/Category:CS1_maint:_bot:_original_URL_status_unknown" title="Category:CS1 maint: bot: original URL status unknown">CS1 maint: bot: original URL status unknown</a></li><li><a href="/wiki/Category:Webarchive_template_wayback_links" title="Category:Webarchive template wayback links">Webarchive template wayback links</a></li><li><a href="/wiki/Category:Articles_with_short_description" title="Category:Articles with short description">Articles with short description</a></li><li><a href="/wiki/Category:Short_description_matches_Wikidata" title="Category:Short description matches Wikidata">Short description matches Wikidata</a></li><li><a href="/wiki/Category:Use_dmy_dates_from_February_2020" title="Category:Use dmy dates from February 2020">Use dmy dates from February 2020</a></li></ul></div></div> </div> </main> </div> <div class="mw-footer-container"> <footer id="footer" class="mw-footer" > <ul id="footer-info"> <li id="footer-info-lastmod"> This page was last edited on 2 November 2024, at 15:47<span class="anonymous-show"> (UTC)</span>.</li> <li id="footer-info-copyright">Text is available under the <a href="/wiki/Wikipedia:Text_of_the_Creative_Commons_Attribution-ShareAlike_4.0_International_License" title="Wikipedia:Text of the Creative Commons Attribution-ShareAlike 4.0 International License">Creative Commons Attribution-ShareAlike 4.0 License</a>; additional terms may apply. By using this site, you agree to the <a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use" class="extiw" title="foundation:Special:MyLanguage/Policy:Terms of Use">Terms of Use</a> and <a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy" class="extiw" title="foundation:Special:MyLanguage/Policy:Privacy policy">Privacy Policy</a>. Wikipedia® is a registered trademark of the <a rel="nofollow" class="external text" href="https://wikimediafoundation.org/">Wikimedia Foundation, Inc.</a>, a non-profit organization.</li> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Privacy policy</a></li> <li id="footer-places-about"><a href="/wiki/Wikipedia:About">About Wikipedia</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Wikipedia:General_disclaimer">Disclaimers</a></li> <li id="footer-places-contact"><a href="//en.wikipedia.org/wiki/Wikipedia:Contact_us">Contact Wikipedia</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Universal_Code_of_Conduct">Code of Conduct</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">Developers</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/en.wikipedia.org">Statistics</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Cookie statement</a></li> <li id="footer-places-mobileview"><a href="//en.m.wikipedia.org/w/index.php?title=URL_redirection&mobileaction=toggle_view_mobile" class="noprint stopMobileRedirectToggle">Mobile view</a></li> </ul> <ul id="footer-icons" class="noprint"> <li id="footer-copyrightico"><a href="https://wikimediafoundation.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/static/images/footer/wikimedia-button.svg" width="84" height="29" alt="Wikimedia Foundation" loading="lazy"></a></li> <li id="footer-poweredbyico"><a href="https://www.mediawiki.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/w/resources/assets/poweredby_mediawiki.svg" alt="Powered by MediaWiki" width="88" height="31" loading="lazy"></a></li> </ul> </footer> </div> </div> </div> <div class="vector-settings" id="p-dock-bottom"> <ul></ul> </div><script>(RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgHostname":"mw-web.codfw.main-f69cdc8f6-f4sdx","wgBackendResponseTime":189,"wgPageParseReport":{"limitreport":{"cputime":"0.580","walltime":"1.431","ppvisitednodes":{"value":3483,"limit":1000000},"postexpandincludesize":{"value":73064,"limit":2097152},"templateargumentsize":{"value":3215,"limit":2097152},"expansiondepth":{"value":18,"limit":100},"expensivefunctioncount":{"value":24,"limit":500},"unstrip-depth":{"value":1,"limit":20},"unstrip-size":{"value":129102,"limit":5000000},"entityaccesscount":{"value":0,"limit":400},"timingprofile":["100.00% 1338.097 1 -total"," 22.64% 302.880 1 Template:Reflist"," 7.28% 97.461 1 Template:Short_description"," 6.98% 93.367 1 Template:Cite_journal"," 6.50% 86.943 22 Template:Cite_web"," 5.89% 78.762 1 Template:Spamming"," 5.70% 76.290 2 Template:Navbox"," 4.22% 56.518 2 Template:Pagetype"," 3.32% 44.453 3 Template:Cite_IETF"," 2.13% 28.505 5 Template:Main_other"]},"scribunto":{"limitreport-timeusage":{"value":"0.316","limit":"10.000"},"limitreport-memusage":{"value":6198016,"limit":52428800}},"cachereport":{"origin":"mw-web.codfw.main-f69cdc8f6-5pr2z","timestamp":"20241122140842","ttl":2592000,"transientcontent":false}}});});</script> <script type="application/ld+json">{"@context":"https:\/\/schema.org","@type":"Article","name":"URL redirection","url":"https:\/\/en.wikipedia.org\/wiki\/URL_redirection","sameAs":"http:\/\/www.wikidata.org\/entity\/Q1236807","mainEntity":"http:\/\/www.wikidata.org\/entity\/Q1236807","author":{"@type":"Organization","name":"Contributors to Wikimedia projects"},"publisher":{"@type":"Organization","name":"Wikimedia Foundation, Inc.","logo":{"@type":"ImageObject","url":"https:\/\/www.wikimedia.org\/static\/images\/wmf-hor-googpub.png"}},"datePublished":"2004-05-05T15:02:14Z","dateModified":"2024-11-02T15:47:32Z","headline":"technique for making a Web page available under more than one URL address"}</script> </body> </html>