CINXE.COM

Manual:Short URL - MediaWiki

<!DOCTYPE html> <html class="client-nojs vector-feature-language-in-header-disabled 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--excluded vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-disabled skin-theme-clientpref-day vector-toc-available" lang="en" dir="ltr"> <head> <meta charset="UTF-8"> <title>Manual:Short URL - MediaWiki</title> <script>(function(){var className="client-js vector-feature-language-in-header-disabled 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--excluded vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-disabled skin-theme-clientpref-day vector-toc-available";var cookie=document.cookie.match(/(?:^|; )mediawikiwikimwclientpreferences=([^;]+)/);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":"6a7d8f9d-7cb2-49b0-bcd9-409cdae46dff","wgCanonicalNamespace":"Manual","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":100,"wgPageName":"Manual:Short_URL","wgTitle":"Short URL","wgCurRevisionId":6808220,"wgRevisionId":6808220,"wgArticleId":7060,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["Configure","Wiki page URLs"],"wgPageViewLanguage":"en","wgPageContentLanguage":"en","wgPageContentModel":"wikitext","wgRelevantPageName":"Manual:Short_URL","wgRelevantArticleId":7060,"wgIsProbablyEditable":false,"wgRelevantPageIsProbablyEditable":false,"wgRestrictionEdit":["autoconfirmed"],"wgRestrictionMove":["autoconfirmed"],"wgNoticeProject":"mediawiki","wgCiteReferencePreviewsActive":true,"wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":true, "wgVisualEditor":{"pageLanguageCode":"en","pageLanguageDir":"ltr","pageVariantFallbacks":"en"},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":false,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":20000,"wgTranslatePageTranslation":"source","wgCentralAuthMobileDomain":false,"wgEditSubmitButtonLabelPublish":true,"wgULSPosition":"personal","wgULSisCompactLinksEnabled":true,"wgVector2022LanguageInHeader":false,"wgULSisLanguageSelectorEmpty":false,"wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","fullVersionList","mobile","model","platform","platformVersion"]};RLSTATE={"ext.globalCssJs.user.styles":"ready","site.styles":"ready","user.styles":"ready","ext.globalCssJs.user":"ready","user":"ready","user.options":"loading","ext.translate.tag.languages":"ready","ext.cite.styles":"ready","ext.pygments":"ready","skins.vector.search.codex.styles":"ready","skins.vector.styles":"ready","skins.vector.icons":"ready", "ext.translate.edit.documentation.styles":"ready","ext.translate":"ready","ext.wikimediamessages.styles":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.uls.pt":"ready","wikibase.client.init":"ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["ext.cite.ux-enhancements","ext.pygments.view","site","mediawiki.page.ready","mediawiki.toc","skins.vector.js","ext.centralNotice.geoIP","ext.centralNotice.startUp","ext.translate.pagetranslation.uls","ext.urlShortener.toolbar","ext.centralauth.centralautologin","mmv.bootstrap","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader","ext.echo.centralauth","ext.eventLogging","ext.wikimediaEvents","ext.navigationTiming","ext.uls.compactlinks","ext.uls.interface","ext.checkUser.clientHints"];</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&amp;modules=ext.cite.styles%7Cext.pygments%2Ctranslate%2CwikimediaBadges%7Cext.translate.edit.documentation.styles%7Cext.translate.tag.languages%7Cext.uls.pt%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediamessages.styles%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles%7Cwikibase.client.init&amp;only=styles&amp;skin=vector-2022"> <script async="" src="/w/load.php?lang=en&amp;modules=startup&amp;only=scripts&amp;raw=1&amp;skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=en&amp;modules=site.styles&amp;only=styles&amp;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:site_name" content="MediaWiki"> <meta property="og:title" content="Manual:Short URL - MediaWiki"> <meta property="og:type" content="website"> <link rel="preconnect" href="//upload.wikimedia.org"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//m.mediawiki.org/wiki/Manual:Short_URL"> <link rel="apple-touch-icon" href="/static/apple-touch/mediawiki.png"> <link rel="icon" href="/static/favicon/mediawiki.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="MediaWiki (en)"> <link rel="EditURI" type="application/rsd+xml" href="//www.mediawiki.org/w/api.php?action=rsd"> <link rel="canonical" href="https://www.mediawiki.org/wiki/Manual:Short_URL"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/"> <link rel="alternate" type="application/atom+xml" title="MediaWiki Atom feed" href="/w/index.php?title=Special:RecentChanges&amp;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-100 ns-subject page-Manual_Short_URL rootpage-Manual_Short_URL 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/MediaWiki" title="Visit the main page [z]" accesskey="z"><span>Main page</span></a></li><li id="n-mw-download" class="mw-list-item"><a href="/wiki/Download"><span>Get MediaWiki</span></a></li><li id="n-mw-extensions" class="mw-list-item"><a href="/wiki/Special:MyLanguage/Category:Extensions"><span>Get extensions</span></a></li><li id="n-blog-text" class="mw-list-item"><a href="https://techblog.wikimedia.org/"><span>Tech blog</span></a></li><li id="n-mw-contribute" class="mw-list-item"><a href="/wiki/Special:MyLanguage/How_to_contribute"><span>Contribute</span></a></li> </ul> </div> </div> <div id="p-support" class="vector-menu mw-portlet mw-portlet-support" > <div class="vector-menu-heading"> Support </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-help" class="mw-list-item"><a href="/wiki/Special:MyLanguage/Help:Contents" title="The place to find out"><span>User help</span></a></li><li id="n-mw-faq" class="mw-list-item"><a href="/wiki/Special:MyLanguage/Manual:FAQ"><span>FAQ</span></a></li><li id="n-mw-manual" class="mw-list-item"><a href="/wiki/Special:MyLanguage/Manual:Contents"><span>Technical manual</span></a></li><li id="n-mw-supportdesk" class="mw-list-item"><a href="/wiki/Project:Support_desk"><span>Support desk</span></a></li><li id="n-mw-communication" class="mw-list-item"><a href="/wiki/Special:MyLanguage/Communication"><span>Communication</span></a></li> </ul> </div> </div> <div id="p-development" class="vector-menu mw-portlet mw-portlet-development" > <div class="vector-menu-heading"> Development </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mw-developerportal" class="mw-list-item"><a href="https://developer.wikimedia.org/"><span>Developer portal</span></a></li><li id="n-svn-statistics" class="mw-list-item"><a href="/wiki/Development_statistics"><span>Code statistics</span></a></li> </ul> </div> </div> <div id="p-mediawiki.org" class="vector-menu mw-portlet mw-portlet-mediawiki_org" > <div class="vector-menu-heading"> mediawiki.org </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-portal" class="mw-list-item"><a href="/wiki/Project:Help" title="About the project, what you can do, where to find things"><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 in the wiki [r]" accesskey="r"><span>Recent changes</span></a></li><li id="n-mw-translate" class="mw-list-item"><a href="/wiki/Special:LanguageStats"><span>Translate content</span></a></li><li id="n-randompage" class="mw-list-item"><a href="/wiki/Special:Random" title="Load a random page [x]" accesskey="x"><span>Random page</span></a></li><li id="n-mw-discussion" class="mw-list-item"><a href="/wiki/Project:Village_Pump"><span>Village pump</span></a></li><li id="n-Sandboxlink-portlet-label" class="mw-list-item"><a href="/wiki/Project:Sandbox"><span>Sandbox</span></a></li> </ul> </div> </div> <div id="p-lang" class="vector-menu mw-portlet mw-portlet-lang" > <div class="vector-menu-heading"> In other languages </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> <div class="after-portlet after-portlet-lang"><span class="wb-langlinks-add wb-langlinks-link"><a href="https://www.wikidata.org/wiki/Special:NewItem?site=mediawikiwiki&amp;page=Manual%3AShort+URL" title="Add interlanguage links" class="wbc-editpage">Add links</a></span></div> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/MediaWiki" class="mw-logo"> <img class="mw-logo-icon" src="/static/images/icons/mediawikiwiki.svg" alt="" aria-hidden="true" height="50" width="50"> <span class="mw-logo-container skin-invert"> <img class="mw-logo-wordmark" alt="MediaWiki" src="/static/images/mobile/copyright/mediawikiwiki-wordmark.svg" style="width: 7.5em; height: 1.125em;"> </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 MediaWiki [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 MediaWiki" aria-label="Search MediaWiki" autocapitalize="sentences" title="Search MediaWiki [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" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-uls" class="mw-list-item active user-links-collapsible-item"><a data-mw="interface" href="#" class="uls-trigger cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet"><span class="vector-icon mw-ui-icon-wikimedia-language mw-ui-icon-wikimedia-wikimedia-language"></span> <span>English</span></a> </li> </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&#039;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/?utm_source=donate&amp;utm_medium=sidebar&amp;utm_campaign=spontaneous&amp;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&amp;returnto=Manual%3AShort+URL" 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&amp;returnto=Manual%3AShort+URL" title="You are encouraged to log in; however, it is 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="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/?utm_source=donate&amp;utm_medium=sidebar&amp;utm_campaign=spontaneous&amp;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&amp;returnto=Manual%3AShort+URL" 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&amp;returnto=Manual%3AShort+URL" title="You are encouraged to log in; however, it is 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">Beginning</div> </a> </li> <li id="toc-Introduction" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Introduction"> <div class="vector-toc-text"> <span class="vector-toc-numb">1</span> <span>Introduction</span> </div> </a> <button aria-controls="toc-Introduction-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 Introduction subsection</span> </button> <ul id="toc-Introduction-sublist" class="vector-toc-list"> <li id="toc-Goal" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Goal"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.1</span> <span>Goal</span> </div> </a> <ul id="toc-Goal-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Advantages_&amp;_disadvantages" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Advantages_&amp;_disadvantages"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.2</span> <span>Advantages &amp; disadvantages</span> </div> </a> <ul id="toc-Advantages_&amp;_disadvantages-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Guides" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Guides"> <div class="vector-toc-text"> <span class="vector-toc-numb">2</span> <span>Guides</span> </div> </a> <ul id="toc-Guides-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Other_how-to_mini-guides" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Other_how-to_mini-guides"> <div class="vector-toc-text"> <span class="vector-toc-numb">3</span> <span>Other how-to mini-guides</span> </div> </a> <button aria-controls="toc-Other_how-to_mini-guides-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 Other how-to mini-guides subsection</span> </button> <ul id="toc-Other_how-to_mini-guides-sublist" class="vector-toc-list"> <li id="toc-URL_like_-_example.com/wiki/Page_title" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#URL_like_-_example.com/wiki/Page_title"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.1</span> <span>URL like - example.com/wiki/Page_title</span> </div> </a> <ul id="toc-URL_like_-_example.com/wiki/Page_title-sublist" class="vector-toc-list"> <li id="toc-Root_access" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#Root_access"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.1.1</span> <span>Root access</span> </div> </a> <ul id="toc-Root_access-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-URL_like_-_example.com/Page_title" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#URL_like_-_example.com/Page_title"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.2</span> <span>URL like - example.com/Page_title</span> </div> </a> <ul id="toc-URL_like_-_example.com/Page_title-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-URL_like_-_wiki.example.com/Page_title" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#URL_like_-_wiki.example.com/Page_title"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.3</span> <span>URL like - wiki.example.com/Page_title</span> </div> </a> <ul id="toc-URL_like_-_wiki.example.com/Page_title-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Troubleshooting" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Troubleshooting"> <div class="vector-toc-text"> <span class="vector-toc-numb">4</span> <span>Troubleshooting</span> </div> </a> <button aria-controls="toc-Troubleshooting-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 Troubleshooting subsection</span> </button> <ul id="toc-Troubleshooting-sublist" class="vector-toc-list"> <li id="toc-Ampersand_(&amp;)_problem" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Ampersand_(&amp;)_problem"> <div class="vector-toc-text"> <span class="vector-toc-numb">4.1</span> <span>Ampersand (&amp;) problem</span> </div> </a> <ul id="toc-Ampersand_(&amp;)_problem-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Purging_cache" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Purging_cache"> <div class="vector-toc-text"> <span class="vector-toc-numb">4.2</span> <span>Purging cache</span> </div> </a> <ul id="toc-Purging_cache-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Redirect_visitor_of_your_domain_to_your_wiki" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Redirect_visitor_of_your_domain_to_your_wiki"> <div class="vector-toc-text"> <span class="vector-toc-numb">5</span> <span>Redirect visitor of your domain to your wiki</span> </div> </a> <ul id="toc-Redirect_visitor_of_your_domain_to_your_wiki-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Moving_a_wiki_from_/wiki_to_/w" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Moving_a_wiki_from_/wiki_to_/w"> <div class="vector-toc-text"> <span class="vector-toc-numb">6</span> <span>Moving a wiki from /wiki to /w</span> </div> </a> <ul id="toc-Moving_a_wiki_from_/wiki_to_/w-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Tricks" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Tricks"> <div class="vector-toc-text"> <span class="vector-toc-numb">7</span> <span>Tricks</span> </div> </a> <ul id="toc-Tricks-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-See_also" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#See_also"> <div class="vector-toc-text"> <span class="vector-toc-numb">8</span> <span>See also</span> </div> </a> <ul id="toc-See_also-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-External_links" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#External_links"> <div class="vector-toc-text"> <span class="vector-toc-numb">9</span> <span>External links</span> </div> </a> <ul id="toc-External_links-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-References" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#References"> <div class="vector-toc-text"> <span class="vector-toc-numb">10</span> <span>References</span> </div> </a> <ul id="toc-References-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-namespace">Manual</span><span class="mw-page-title-separator">:</span><span class="mw-page-title-main">Short URL</span></h1> <div class="mw-indicators"> </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-manual" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Manual:Short_URL" title="View the subject page [c]" accesskey="c"><span>Manual</span></a></li><li id="ca-talk" class="vector-tab-noicon mw-list-item"><a href="/wiki/Manual_talk:Short_URL" rel="discussion" title="Discussion about the content page [t]" accesskey="t"><span>Discussion</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/Manual:Short_URL"><span>Read</span></a></li><li id="ca-viewsource" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Manual:Short_URL&amp;action=edit" title="This page is protected.&#10;You can view its source [e]" accesskey="e"><span>View source</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Manual:Short_URL&amp;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/Manual:Short_URL"><span>Read</span></a></li><li id="ca-more-viewsource" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Manual:Short_URL&amp;action=edit"><span>View source</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Manual:Short_URL&amp;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/Manual:Short_URL" title="A list of all wiki pages that link here [j]" accesskey="j"><span>What links here</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Special:RecentChangesLinked/Manual:Short_URL" 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="//commons.wikimedia.org/wiki/Special:UploadWizard" 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=Manual:Short_URL&amp;oldid=6808220" 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=Manual:Short_URL&amp;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&amp;page=Manual%3AShort_URL&amp;id=6808220&amp;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&amp;url=https%3A%2F%2Fwww.mediawiki.org%2Fwiki%2FManual%3AShort_URL"><span>Get shortened URL</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Special:QrCode&amp;url=https%3A%2F%2Fwww.mediawiki.org%2Fwiki%2FManual%3AShort_URL"><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-create_a_book" class="mw-list-item"><a href="/w/index.php?title=Special:Book&amp;bookcmd=book_creator&amp;referer=Manual%3AShort+URL"><span>Create a book</span></a></li><li id="coll-download-as-rl" class="mw-list-item"><a href="/w/index.php?title=Special:DownloadAsPdf&amp;page=Manual%3AShort_URL&amp;action=show-download-screen"><span>Download as PDF</span></a></li><li id="t-print" class="mw-list-item"><a href="/w/index.php?title=Manual:Short_URL&amp;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 emptyPortlet" > <div class="vector-menu-heading"> In other projects </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </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 id="siteSub" class="noprint">From mediawiki.org</div> </div> <div id="contentSub"><div id="mw-content-subtitle"></div></div> <div id="mw-content-text" class="mw-body-content"><div class="mw-pt-translate-header noprint nomobile" dir="ltr" lang="en"><a href="/w/index.php?title=Special:Translate&amp;group=page-Manual%3AShort+URL&amp;action=page&amp;filter=&amp;action_source=translate_page" title="Special:Translate">Translate this page</a></div><div class="mw-content-ltr mw-parser-output" lang="en" dir="ltr"><div class="mw-pt-languages noprint navigation-not-searchable" lang="en" dir="ltr"><div class="mw-pt-languages-label">Languages:</div><ul class="mw-pt-languages-list"><li><a href="/wiki/Manual:Short_URL/de" class="mw-pt-progress mw-pt-progress--complete" title="Handbuch:Kurz-URL (100% translated)" lang="de" dir="ltr">Deutsch</a></li> <li><span class="mw-pt-languages-ui mw-pt-languages-selected mw-pt-progress mw-pt-progress--complete" lang="en" dir="ltr">English</span></li> <li><a href="/wiki/Manual:Short_URL/nl" class="mw-pt-progress mw-pt-progress--complete" title="Handleiding:Korte URL (100% translated)" lang="nl" dir="ltr">Nederlands</a></li> <li><a href="/wiki/Manual:Short_URL/tr" class="mw-pt-progress mw-pt-progress--med" title="Manuel:Kısa URL (15% translated)" lang="tr" dir="ltr">Türkçe</a></li> <li><a href="/wiki/Manual:Short_URL/es" class="mw-pt-progress mw-pt-progress--med" title="Manual:URL corto (65% translated)" lang="es" dir="ltr">español</a></li> <li><a href="/wiki/Manual:Short_URL/fr" class="mw-pt-progress mw-pt-progress--complete" title="Manuel:URL courte (100% translated)" lang="fr" dir="ltr">français</a></li> <li><a href="/wiki/Manual:Short_URL/it" class="mw-pt-progress mw-pt-progress--low" title="Manual:Short URL/it (7% translated)" lang="it" dir="ltr">italiano</a></li> <li><a href="/wiki/Manual:Short_URL/lt" class="mw-pt-progress mw-pt-progress--low" title="Vadovas:Trumpasis URL (3% translated)" lang="lt" dir="ltr">lietuvių</a></li> <li><a href="/wiki/Manual:Short_URL/pl" class="mw-pt-progress mw-pt-progress--low" title="Manual:Short URL/pl (2% translated)" lang="pl" dir="ltr">polski</a></li> <li><a href="/wiki/Manual:Short_URL/pt" class="mw-pt-progress mw-pt-progress--med" title="Manual:URL Curto (26% translated)" lang="pt" dir="ltr">português</a></li> <li><a href="/wiki/Manual:Short_URL/pt-br" class="mw-pt-progress mw-pt-progress--med" title="Manual:Short URL (41% translated)" lang="pt-BR" dir="ltr">português do Brasil</a></li> <li><a href="/wiki/Manual:Short_URL/sv" class="mw-pt-progress mw-pt-progress--low" title="Manual:Kort URL (1% translated)" lang="sv" dir="ltr">svenska</a></li> <li><a href="/wiki/Manual:Short_URL/cs" class="mw-pt-progress mw-pt-progress--low" title="Manual:Short URL/cs (3% translated)" lang="cs" dir="ltr">čeština</a></li> <li><a href="/wiki/Manual:Short_URL/ru" class="mw-pt-progress mw-pt-progress--med" title="Руководство:Короткий URL-адрес (50% translated)" lang="ru" dir="ltr">русский</a></li> <li><a href="/wiki/Manual:Short_URL/zh" class="mw-pt-progress mw-pt-progress--high" title="手册:短链接 (90% translated)" lang="zh" dir="ltr">中文</a></li> <li><a href="/wiki/Manual:Short_URL/ja" class="mw-pt-progress mw-pt-progress--high" title="Manual:短縮URL (91% translated)" lang="ja" dir="ltr">日本語</a></li> <li><a href="/wiki/Manual:Short_URL/ko" class="mw-pt-progress mw-pt-progress--high" title="매뉴얼:Short URL (71% translated)" lang="ko" dir="ltr">한국어</a></li></ul></div> <style data-mw-deduplicate="TemplateStyles:r6353907">.mw-parser-output .hatnote{font-style:italic;padding-bottom:0.4em;margin-bottom:0.4em;border-bottom:1px solid #ccc}.mw-parser-output .hatnote.no-border{border-bottom:none}</style><div role="note" class="hatnote">This article is about URL structure. For creating short URLs for articles, see <a href="/wiki/Special:MyLanguage/Extension:ShortUrl" title="Special:MyLanguage/Extension:ShortUrl">Extension:ShortUrl</a><span style="display:none"><a href="/wiki/Extension:ShortUrl" title="Extension:ShortUrl"> </a></span>. For creating a URL shortening service, see <a href="/wiki/Special:MyLanguage/Extension:UrlShortener" title="Special:MyLanguage/Extension:UrlShortener">Extension:UrlShortener</a><span style="display:none"><a href="/wiki/Extension:UrlShortener" title="Extension:UrlShortener"> </a></span>.</div> <div style="clear: both; margin-bottom: .5em; float: right; margin-left:2em; width: auto;"><meta property="mw:PageProp/toc" /></div> <p><b>Short URLs</b> or <b>URL Rewrites</b> hide php file extensions from the page address. Please take a few minutes to devise a stable URL structure for your website before getting started, to reduce problems later. </p> <div class="mw-heading mw-heading2"><h2 id="Introduction">Introduction</h2></div> <div class="mw-heading mw-heading3"><h3 id="Goal">Goal</h3></div> <p>The default MediaWiki installation path looks like this: </p> <dl><dd><code>/var/www/html/mediawiki</code> <i>(installed as root user)</i></dd> <dd><code>/home/johndoe/public_html/mediawiki</code> <i>(installed with a shared hosting provider)</i></dd></dl> <p>MediaWiki's default page addresses looks like these examples: </p> <dl><dd><code>https://example.org/w/index.php/Page_title</code> <i>(recent versions of MediaWiki, without <a href="https://en.wikipedia.org/wiki/Common_Gateway_Interface" class="extiw" title="w:Common Gateway Interface">CGI</a> support)</i></dd> <dd><code>https://example.org/w/index.php?title=Page_title</code> <i>(recent versions of MediaWiki, with CGI support)</i></dd></dl> <p>Using the methods outlined on this page, we can configure something like this: </p> <dl><dd><code>https://example.org/wiki/Page_title</code> This is the most common configuration, same as on Wikipedia, though not the default because it requires server-side modifications</dd> <dd><code>https://example.org/view/Page_title</code></dd> <dd><code>https://wiki.example.org/view/Page_title</code></dd> <dd><code>https://example.org/Page_title</code></dd> <dd><code>https://wiki.example.org/Page_title</code></dd></dl> <p>Some people do not recommend the last two configurations. See <a href="/wiki/Special:MyLanguage/Manual:Wiki_in_site_root_directory" title="Special:MyLanguage/Manual:Wiki in site root directory">Manual:Wiki in site root directory</a><span style="display:none"><a href="/wiki/Manual:Wiki_in_site_root_directory" title="Manual:Wiki in site root directory"> </a></span> for potential problems and solutions. </p> <div class="mw-heading mw-heading3"><h3 id="Advantages_&amp;_disadvantages"><span id="Advantages_.26_disadvantages"></span>Advantages &amp; disadvantages</h3></div> <ul><li><b>Advantage</b>: Short URLs hide some technical details from end-users, which can be desirable for site owners. Among other things, this means they can be kept stable when the underlying software changes. (See above for the difference between MediaWiki's default URL structure with CGI enabled vs without.) They are also easier to read, remember, and manipulate for visitors. Additionally, short URLs offer an advantage over the default URLs for <a href="https://en.wikipedia.org/wiki/Search_engine_optimization" class="extiw" title="w:Search engine optimization">w:Search engine optimization</a>, as URLs containing <code>?</code> can be treated less favorably by search engines when calculating page rank.</li> <li><b>Disadvantage</b>: Requires configuration, so, depending on the hosting environment you are using, it might be difficult to recreate. However, as every widely used webserver is capable of being configured to use short URLs, most paid web hosting services should support this feature. Any host that doesn't offer you this feature is not worth your money.</li></ul> <div class="mw-heading mw-heading2"><h2 id="Guides">Guides</h2></div> <p>Our official guides for short URL configuration for different web servers. Pick your web server's configuration from this list. If you don't know what server software you are using, then it is most likely Apache. </p> <ul><li><a href="/wiki/Special:MyLanguage/Manual:Short_URL/Apache" title="Special:MyLanguage/Manual:Short URL/Apache">Apache</a><span style="display:none"><a href="/wiki/Manual:Short_URL/Apache" title="Manual:Short URL/Apache"> </a></span> (or LiteSpeed)</li> <li><a href="/wiki/Special:MyLanguage/Manual:Short_URL/Nginx" title="Special:MyLanguage/Manual:Short URL/Nginx">nginx</a><span style="display:none"><a href="/wiki/Manual:Short_URL/Nginx" title="Manual:Short URL/Nginx"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/Manual:Short_URL/Docker" title="Special:MyLanguage/Manual:Short URL/Docker">Docker</a><span style="display:none"><a href="/wiki/Manual:Short_URL/Docker" title="Manual:Short URL/Docker"> </a></span></li></ul> <div class="mw-heading mw-heading2"><h2 id="Other_how-to_mini-guides">Other how-to mini-guides</h2></div> <style data-mw-deduplicate="TemplateStyles:r6651107">.mw-parser-output .note{background-position:left 7px top 50%;padding:0.5em 0.5em 0.5em 40px;margin:0.5em 0;overflow:hidden;background-color:#f8f9fa;color:#333;background-repeat:no-repeat;border:1px solid #ddd}.mw-parser-output .note-inline{display:inline-block;vertical-align:middle}.mw-parser-output .note-info{background-color:#eaf3ff;color:#333;background-image:url("https://upload.wikimedia.org/wikipedia/commons/e/ec/OOjs_UI_icon_information-progressive.svg");background-size:25px;border-color:#a3caff;padding-left:40px;min-height:25px}.mw-parser-output .note-reminder{background-color:#fff9ea;color:#333;background-image:url("https://upload.wikimedia.org/wikipedia/commons/a/a8/OOjs_UI_icon_lightbulb-yellow.svg");background-size:25px;border-color:#fc3;min-height:25px}.mw-parser-output .note-warn{background-color:#fff9ea;color:#333;background-image:url("https://upload.wikimedia.org/wikipedia/commons/3/3b/OOjs_UI_icon_alert-warning.svg");background-size:25px;border-color:#fc3;min-height:25px}.mw-parser-output .note-error{background-color:#fee7e6;color:#333;background-image:url("https://upload.wikimedia.org/wikipedia/commons/b/bf/OOjs_UI_icon_notice-destructive.svg");background-size:25px;border-color:#c33;min-height:25px}@media screen{html.skin-theme-clientpref-night .mw-parser-output .note{background-color:transparent;color:inherit}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .note{background-color:transparent;color:inherit}}</style><div role="note" class="note note-info">These guides are old and are almost entirely bad advice. These will eventually be deleted one by one as our official guides above are created for different webservers.</div> <p>Anyone is welcome to create a how-to solution page and list it below. Please use a sensible name for the page, one that fits in with the below names. When each unique solution has its own page, readers can skip complexity they do not want. Keep it simple, readable, short, with a separate page per separate solution. </p><p><b>To help others find out which Short URL methods really work, after trying each method please edit the page and increase the "worked" or "didn't_work" numbers for that guide and make a brief (or long, your choice) description on what went wrong by clicking the link on your number.</b> </p> <div class="mw-heading mw-heading3"><h3 id="URL_like_-_example.com/wiki/Page_title"><span id="URL_like_-_example.com.2Fwiki.2FPage_title"></span>URL like - example.com/wiki/Page_title</h3></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r6651107"><div role="note" class="note note-info">Actions such as edit, view history, etc. will still have index.php unless <a href="/wiki/Special:MyLanguage/Manual:$wgActionPaths" title="Special:MyLanguage/Manual:$wgActionPaths">$wgActionPaths</a><span style="display:none"><a href="/wiki/Manual:$wgActionPaths" title="Manual:$wgActionPaths"> </a></span> are defined.</div> <div class="mw-heading mw-heading4"><h4 id="Root_access">Root access</h4></div> <p>These methods require that you have access to the server configuration. If you are on a shared host, you most likely don't. In this case you will be required to use a method that requires "no root access". You can jump directly to the <a rel="nofollow" class="external text" href="https://shorturls.redwerks.org/">MediaWiki ShortURL Builder tool</a> and follow the on-screen instructions. Select "I don't have root access" after entering your wiki's URL. </p> <ul><li><a href="/wiki/Special:MyLanguage/Manual:Short_URL/wiki/Page_title_--_Lighttpd_rewrite--root_access" title="Special:MyLanguage/Manual:Short URL/wiki/Page title -- Lighttpd rewrite--root access">wiki/Page title -- Lighttpd rewrite--root access</a> <span typeof="mw:File"><a href="/wiki/File:Face-smile.svg" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/7/79/Face-smile.svg/20px-Face-smile.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/7/79/Face-smile.svg/30px-Face-smile.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/7/79/Face-smile.svg/40px-Face-smile.svg.png 2x" data-file-width="48" data-file-height="48" /></a></span><sup><b>x3</b></sup></li> <li><a href="/wiki/Special:MyLanguage/Manual:Short_URL/wiki/Page_title_--_Cherokee_rewrite--root_access" title="Special:MyLanguage/Manual:Short URL/wiki/Page title -- Cherokee rewrite--root access">wiki/Page title -- Cherokee rewrite--root access</a> <span typeof="mw:File"><a href="/wiki/File:Face-smile.svg" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/7/79/Face-smile.svg/20px-Face-smile.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/7/79/Face-smile.svg/30px-Face-smile.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/7/79/Face-smile.svg/40px-Face-smile.svg.png 2x" data-file-width="48" data-file-height="48" /></a></span><sup><b>x1</b></sup></li> <li><a href="/wiki/Special:MyLanguage/Manual:Short_URL/IIS8.5" title="Special:MyLanguage/Manual:Short URL/IIS8.5">IIS8.5</a> <span typeof="mw:File"><a href="/wiki/File:Face-smile.svg" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/7/79/Face-smile.svg/20px-Face-smile.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/7/79/Face-smile.svg/30px-Face-smile.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/7/79/Face-smile.svg/40px-Face-smile.svg.png 2x" data-file-width="48" data-file-height="48" /></a></span><sup><b>x2</b></sup> <span typeof="mw:File"><a href="/wiki/File:Face-sad.svg" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/0/06/Face-sad.svg/20px-Face-sad.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/0/06/Face-sad.svg/30px-Face-sad.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/0/06/Face-sad.svg/40px-Face-sad.svg.png 2x" data-file-width="48" data-file-height="48" /></a></span><sup><b><a href="/w/index.php?title=Manual_talk:Short_URL/IIS8.5/Problem&amp;action=edit&amp;redlink=1" class="new" title="Manual talk:Short URL/IIS8.5/Problem (page does not exist)">x1</a></b></sup></li> <li><a href="/wiki/Special:MyLanguage/Manual:Short_URL/Abyss" title="Special:MyLanguage/Manual:Short URL/Abyss">Abyss</a></li></ul> <p>(for Apache guidance, see the link in the <a href="#Guides">Guides</a> section). </p><p><span class="anchor" id="URL_like"></span> </p> <div class="mw-heading mw-heading3"><h3 id="URL_like_-_example.com/Page_title"><span id="URL_like_-_example.com.2FPage_title"></span>URL like - example.com/Page_title</h3></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r6651107"><div role="note" class="note note-info">Some people do not recommend this configuration. See <a href="/wiki/Special:MyLanguage/Manual:Wiki_in_site_root_directory" title="Special:MyLanguage/Manual:Wiki in site root directory">Manual:Wiki in site root directory</a><span style="display:none"><a href="/wiki/Manual:Wiki_in_site_root_directory" title="Manual:Wiki in site root directory"> </a></span> for potential problems and solutions.</div> <p>How to create <code>example.com/Page_title</code> URLs: </p> <ul><li><a href="/wiki/Special:MyLanguage/Manual:Short_URL/Page_title_-_nginx,_Root_Access,_PHP_as_a_CGI_module" title="Special:MyLanguage/Manual:Short URL/Page title - nginx, Root Access, PHP as a CGI module">Page title - nginx, Root Access, PHP as a CGI module</a> <span typeof="mw:File"><a href="/wiki/File:Face-smile.svg" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/7/79/Face-smile.svg/20px-Face-smile.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/7/79/Face-smile.svg/30px-Face-smile.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/7/79/Face-smile.svg/40px-Face-smile.svg.png 2x" data-file-width="48" data-file-height="48" /></a></span><sup><b>x6</b></sup></li> <li><a href="/wiki/Special:MyLanguage/Manual:Short_URL/Page_title_--_Windows_%26_Apache_without_403_on_Special_Pages" title="Special:MyLanguage/Manual:Short URL/Page title -- Windows &amp; Apache without 403 on Special Pages">Page title -- Windows &amp; Apache without 403 on Special Pages</a> <span typeof="mw:File"><a href="/wiki/File:Face-smile.svg" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/7/79/Face-smile.svg/20px-Face-smile.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/7/79/Face-smile.svg/30px-Face-smile.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/7/79/Face-smile.svg/40px-Face-smile.svg.png 2x" data-file-width="48" data-file-height="48" /></a></span><sup><b>x3</b></sup></li></ul> <p><span class="anchor" id="URL_like_subdomain"></span> </p> <div class="mw-heading mw-heading3"><h3 id="URL_like_-_wiki.example.com/Page_title"><span id="URL_like_-_wiki.example.com.2FPage_title"></span>URL like - wiki.example.com/Page_title</h3></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r6651107"><div role="note" class="note note-info">Some people do not recommend this configuration. See <a href="/wiki/Special:MyLanguage/Manual:Wiki_in_site_root_directory" title="Special:MyLanguage/Manual:Wiki in site root directory">Manual:Wiki in site root directory</a><span style="display:none"><a href="/wiki/Manual:Wiki_in_site_root_directory" title="Manual:Wiki in site root directory"> </a></span> for potential problems and solutions.</div> <p>How to create <code>wiki.example.com/Page_title</code> URLs: </p> <ul><li><a href="/wiki/Special:MyLanguage/Manual:Short_URL/wiki.example.com/Page_title--Subdomain_using_Lighttpd" title="Special:MyLanguage/Manual:Short URL/wiki.example.com/Page title--Subdomain using Lighttpd">wiki.example.com/Page_title--Subdomain using Lighttpd</a></li></ul> <p><br /> </p> <div class="mw-heading mw-heading2"><h2 id="Troubleshooting">Troubleshooting</h2></div> <div class="mw-heading mw-heading3"><h3 id="Ampersand_(&amp;)_problem"><span id="Ampersand_.28.26.29_problem"></span>Ampersand (&amp;) problem</h3></div> <p>The ampersand problem shows up when you have page titles with symbols in them (such as &amp;,&#160;?, #, + and /) which, despite being correctly encoded in the link, are not being passed correctly from mod_rewrite to the script. This manifests in 404 page-not-found errors, because the title gets cut off at the special character. For example, clicking on a link to "John &amp; Maria's page" gets a 404, because MediaWiki is looking for a page named "John ". </p><p>This is because ampersands in long-form names are treated as <a href="https://en.wikipedia.org/wiki/Query_string" class="extiw" title="w:Query string">query string</a> separators, and would never reach the PHP <a href="https://en.wikipedia.org/wiki/Run_time_(program_lifecycle_phase)" class="extiw" title="w:Run time (program lifecycle phase)">runtime environment</a>. This is caused by an old and problematic mod_rewrite bug.<sup id="cite_ref-1" class="reference"><a href="#cite_note-1"><span class="cite-bracket">&#91;</span>1<span class="cite-bracket">&#93;</span></a></sup> </p><p><b>Solution:</b> </p><p>This issue is caused by the <code>?title=$1</code> portion of rewrite rules like <code>/index.php?title=$1</code> which is completely unnecessary and harmful. MediaWiki parses paths directly from the REQUEST_URI, so rewrite everything to /index.php. </p> <div class="mw-heading mw-heading3"><h3 id="Purging_cache">Purging cache</h3></div> <p>If you notice that your changes to <code>$wgArticlePath</code> in <code>LocalSettings.php</code> are not being reflected in <code>example.com/wiki/Main_Page</code>, it may be due to MediaWiki's caching of the links according to previous settings. </p><p>Go to <code>example.com/wiki/Main_Page?action=purge</code> to force MediaWiki to regenerate the cached links. </p><p>Also you can: </p> <ol><li>execute the MySQL query "TRUNCATE objectcache;", or</li> <li>Ensure <code><a href="/wiki/Special:MyLanguage/Manual:$wgCacheEpoch" title="Special:MyLanguage/Manual:$wgCacheEpoch">$wgCacheEpoch</a><span style="display:none"><a href="/wiki/Manual:$wgCacheEpoch" title="Manual:$wgCacheEpoch"> </a></span></code> is updated (if <code><a href="/wiki/Special:MyLanguage/Manual:$wgInvalidateCacheOnLocalSettingsChange" title="Special:MyLanguage/Manual:$wgInvalidateCacheOnLocalSettingsChange">$wgInvalidateCacheOnLocalSettingsChange</a><span style="display:none"><a href="/wiki/Manual:$wgInvalidateCacheOnLocalSettingsChange" title="Manual:$wgInvalidateCacheOnLocalSettingsChange"> </a></span></code> is enabled, all you have to do is edit <a href="/wiki/Special:MyLanguage/Manual:LocalSettings.php" title="Special:MyLanguage/Manual:LocalSettings.php">LocalSettings.php</a><span style="display:none"><a href="/wiki/Manual:LocalSettings.php" title="Manual:LocalSettings.php"> </a></span> to purge it)</li></ol> <div class="mw-heading mw-heading2"><h2 id="Redirect_visitor_of_your_domain_to_your_wiki">Redirect visitor of your domain to your wiki</h2></div> <p>Our official guides for short url configuration include recommendations on how to point the root of your site to your wiki using your short url config. </p><p>For example our <a href="/wiki/Special:MyLanguage/Manual:Short_URL/Apache" title="Special:MyLanguage/Manual:Short URL/Apache">Apache guide</a> recommends using this to point your site root to your wiki: </p> <div class="mw-highlight mw-highlight-lang-apache mw-content-ltr" dir="ltr"><pre><span></span><span class="nb">RewriteRule</span><span class="w"> </span>^/*$<span class="w"> </span>%{DOCUMENT_ROOT}/w/index.php<span class="w"> </span>[L] </pre></div> <p>Note that we do <b>not</b> recommend doing a HTTP redirect to your wiki path or main page directly. As redirecting to the main page directly will hard-code variable parts of your wiki's page setup into your server config. And redirecting to the wiki path will result in two redirects. Simply rewrite the root path to MediaWiki and it will take care of the 301 redirect to the main page itself. </p><p>If using VirtualHosts, place the rewrite rules into the virtual host declaration! </p> <div class="mw-heading mw-heading2"><h2 id="Moving_a_wiki_from_/wiki_to_/w"><span id="Moving_a_wiki_from_.2Fwiki_to_.2Fw"></span>Moving a wiki from /wiki to /w</h2></div> <p>A common beginner's mistake is to install MediaWiki itself (the source code, not the short URL) in <code>/wiki</code> instead of <code>/w</code>. Once installed they would realize the mistake when trying to configure Short URLs (which would become difficult as the virtual path then conflicts with the real path). </p><p>There is a manual for <a href="/wiki/Special:MyLanguage/Manual:Moving_a_wiki" title="Special:MyLanguage/Manual:Moving a wiki">moving a wiki</a> in general, however that is too complicated if all you need is to change the installation directory (and stay on the same server, same database and same hostname). </p><p>Here is what you have to do: </p> <ul><li>Backup <code>LocalSettings.php</code> and any other config files you may have created (such as your <code>.htaccess</code>).</li> <li>Rename the installation directory of MediaWiki on your server from <code>/wiki</code> to <code>/w</code>.</li> <li>Set <code>$wgScriptPath</code> in <code>LocalSettings.php</code> to <code>"/w"</code> and remove (or comment out) any definition of <code>$wgArticlePath</code> (this variable will be changed again when setting up Short URLs, further on)</li> <li>At this point your wiki should be working normally at <code>example.org/w</code></li> <li>Now go through <a href="#Guides">the regular guide</a> to set up short URLs</li> <li>Perform a few tests on your wiki to make sure nothing is broken. Edit a page, visit a few different pages, etc. If anything seems abnormal, revert the changes by restoring your backup of <code>LocalSettings.php</code> and other relevant files you might have changed during configuration of short URLs and rename your folder back to <code>/wiki</code>.</li></ul> <p><b>Note for shared hosting users:</b> Many shared hosting plans offer an application manager to automatically Install, Update and Backup applications such as MediaWiki. If your plan has this and if you want to keep using these features, you should contact their tech support and let them know you just manually changed your MediaWiki installation directory. </p> <div class="mw-heading mw-heading2"><h2 id="Tricks">Tricks</h2></div> <ul><li><a href="/wiki/Special:MyLanguage/Manual:Short_URL/Prevent_bots_from_crawling_index.php" title="Special:MyLanguage/Manual:Short URL/Prevent bots from crawling index.php">Prevent bots from crawling index.php</a></li></ul> <div class="mw-heading mw-heading2"><h2 id="See_also">See also</h2></div> <ul><li><a href="https://en.wikipedia.org/wiki/Common_Gateway_Interface#Workarounds_for_scripting_languages" class="extiw" title="w:Common Gateway Interface">Explanation of what CGI modules are</a></li> <li><a href="/wiki/Special:MyLanguage/Manual:$wgUsePathInfo" title="Special:MyLanguage/Manual:$wgUsePathInfo">$wgUsePathInfo</a><span style="display:none"><a href="/wiki/Manual:$wgUsePathInfo" title="Manual:$wgUsePathInfo"> </a></span> - configuration setting that defines whether to use 'pretty' URLs or not</li> <li><a href="/wiki/Special:MyLanguage/Manual:Wiki_in_site_root_directory" title="Special:MyLanguage/Manual:Wiki in site root directory">Notes on placing your wiki installation in site root directory</a></li> <li><a href="/wiki/Special:MyLanguage/Manual:$wgActionPaths" title="Special:MyLanguage/Manual:$wgActionPaths">$wgActionPaths</a><span style="display:none"><a href="/wiki/Manual:$wgActionPaths" title="Manual:$wgActionPaths"> </a></span> - configuration setting that you can use to define 'pretty' URLs for other actions, like edit or history</li> <li><a href="/wiki/Special:MyLanguage/Requests_for_comment/Clean_up_URLs" title="Special:MyLanguage/Requests for comment/Clean up URLs">Clean up URLs RFC</a> - proposes "cleaner URLs for editing, previewing skins, etc."</li></ul> <div class="mw-heading mw-heading2"><h2 id="External_links">External links</h2></div> <ul><li><a rel="nofollow" class="external text" href="https://httpd.apache.org/docs/current/mod/mod_rewrite.html">Apache Module mod_rewrite</a> - rewrite requested URLs on the fly</li> <li><a rel="nofollow" class="external text" href="https://shorturls.redwerks.org/">MediaWiki Short URL Builder Tool</a> - <i>A tool that can automatically generate a short url configuration more reliably than the configurations in these manual pages.</i></li> <li><a rel="nofollow" class="external text" href="https://www.nngroup.com/articles/url-as-ui/">URL as UI</a> by <a href="https://en.wikipedia.org/wiki/Jakob_Nielsen" class="extiw" title="w:Jakob Nielsen">Jakob Nielsen</a> on the importance of persistent, usable URLs.</li></ul> <div class="mw-heading mw-heading2"><h2 id="References">References</h2></div> <div class="mw-references-wrap"><ol class="references"> <li id="cite_note-1"><span class="mw-cite-backlink"><a href="#cite_ref-1">↑</a></span> <span class="reference-text"><a rel="nofollow" class="external text" href="https://bz.apache.org/bugzilla/show_bug.cgi?id=34602">Bugzilla mod_rewrite for ampersand bug</a>, partially resolved for some users, but only after 13 years</span> </li> </ol></div> <!-- NewPP limit report Parsed by mw‐web.codfw.main‐f69cdc8f6‐chdqs Cached time: 20241124073504 Cache expiry: 2592000 Reduced expiry: false Complications: [show‐toc] CPU time usage: 0.302 seconds Real time usage: 0.380 seconds Preprocessor visited node count: 1501/1000000 Post‐expand include size: 10824/2097152 bytes Template argument size: 5286/2097152 bytes Highest expansion depth: 15/100 Expensive parser function count: 8/500 Unstrip recursion depth: 0/20 Unstrip post‐expand size: 10807/5000000 bytes Lua time usage: 0.032/10.000 seconds Lua memory usage: 1157151/52428800 bytes Number of Wikibase entities loaded: 0/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 139.266 1 -total 51.63% 71.904 13 Template:Ll 41.54% 57.858 34 Template:Translatable 38.62% 53.780 1 Template:Hatnote 34.94% 48.655 21 Template:Pagelang 16.11% 22.442 3 Template:Note 12.44% 17.321 8 Template:Guide 6.90% 9.615 2 Template:Wiki-in-docroot 6.22% 8.661 2 Template:Anchor 4.95% 6.894 2 Template:TNTN --> <!-- Saved in parser cache with key mediawikiwiki:pcache:idhash:7060-0!canonical and timestamp 20241124073504 and revision id 6808220. 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://www.mediawiki.org/w/index.php?title=Manual:Short_URL&amp;oldid=6808220">https://www.mediawiki.org/w/index.php?title=Manual:Short_URL&amp;oldid=6808220</a>"</div></div> <div id="catlinks" class="catlinks" data-mw="interface"><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="/wiki/Special:Categories" title="Special:Categories">Categories</a>: <ul><li><a href="/wiki/Category:Configure" title="Category:Configure">Configure</a></li><li><a href="/wiki/Category:Wiki_page_URLs" title="Category:Wiki page URLs">Wiki page URLs</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 23 October 2024, at 15:44.</li> <li id="footer-info-copyright">Text is available under the <a rel="nofollow" class="external text" href="https://creativecommons.org/licenses/by-sa/4.0/deed.en">Creative Commons Attribution-ShareAlike License</a>; additional terms may apply. Text in <a class="external text" href="https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents">the Help: namespace</a> is available under the <a rel="nofollow" class="external text" href="https://creativecommons.org/publicdomain/zero/1.0/">Creative Commons CC0 License</a>. By using this site, you agree to the <a class="external text" href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use">Terms of Use</a> and <a class="external text" href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Privacy Policy</a>.</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/Project:About">About mediawiki.org</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Project:General_disclaimer">Disclaimers</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://www.mediawiki.org/wiki/Special:MyLanguage/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/#/www.mediawiki.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="//m.mediawiki.org/w/index.php?title=Manual:Short_URL&amp;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-694cf4987f-vrtfj","wgBackendResponseTime":99,"wgPageParseReport":{"limitreport":{"cputime":"0.302","walltime":"0.380","ppvisitednodes":{"value":1501,"limit":1000000},"postexpandincludesize":{"value":10824,"limit":2097152},"templateargumentsize":{"value":5286,"limit":2097152},"expansiondepth":{"value":15,"limit":100},"expensivefunctioncount":{"value":8,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":10807,"limit":5000000},"entityaccesscount":{"value":0,"limit":400},"timingprofile":["100.00% 139.266 1 -total"," 51.63% 71.904 13 Template:Ll"," 41.54% 57.858 34 Template:Translatable"," 38.62% 53.780 1 Template:Hatnote"," 34.94% 48.655 21 Template:Pagelang"," 16.11% 22.442 3 Template:Note"," 12.44% 17.321 8 Template:Guide"," 6.90% 9.615 2 Template:Wiki-in-docroot"," 6.22% 8.661 2 Template:Anchor"," 4.95% 6.894 2 Template:TNTN"]},"scribunto":{"limitreport-timeusage":{"value":"0.032","limit":"10.000"},"limitreport-memusage":{"value":1157151,"limit":52428800}},"cachereport":{"origin":"mw-web.codfw.main-f69cdc8f6-chdqs","timestamp":"20241124073504","ttl":2592000,"transientcontent":false}}});});</script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10