CINXE.COM
bs:Using Permalinks « WordPress Codex
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr"> <meta charset="utf-8"/> <!-- <meta property="fb:page_id" content="6427302910" /> --> <meta name="google-site-verification" content="7VWES_-rcHBcmaQis9mSYamPfNwE03f4vyTj4pfuAw0"/> <script type="text/javascript" src="https://web-static.archive.org/_static/js/bundle-playback.js?v=7YQSqjSh" charset="utf-8"></script> <script type="text/javascript" src="https://web-static.archive.org/_static/js/wombat.js?v=txqj7nKC" charset="utf-8"></script> <script>window.RufflePlayer=window.RufflePlayer||{};window.RufflePlayer.config={"autoplay":"on","unmuteOverlay":"hidden"};</script> <script type="text/javascript" src="https://web-static.archive.org/_static/js/ruffle/ruffle.js"></script> <script type="text/javascript"> __wm.init("https://web.archive.org/web"); __wm.wombat("https://codex.wordpress.org/bs:Using_Permalinks","20180603042129","https://web.archive.org/","web","https://web-static.archive.org/_static/", "1527999689"); </script> <link rel="stylesheet" type="text/css" href="https://web-static.archive.org/_static/css/banner-styles.css?v=p7PEIJWi" /> <link rel="stylesheet" type="text/css" href="https://web-static.archive.org/_static/css/iconochive.css?v=3PDvdIFv" /> <!-- End Wayback Rewrite JS Include --> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>bs:Using Permalinks « WordPress Codex</title> <link rel="stylesheet" href="//web.archive.org/web/20180603042129cs_/https://s.w.org/style/codex-wp4.css?3"/> <meta name="referrer" content="always"> <link href="//web.archive.org/web/20180603042129cs_/https://s.w.org/wp-includes/css/dashicons.css?20160504" rel="stylesheet" type="text/css"/> <link href="//web.archive.org/web/20180603042129cs_/https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,400,300,600&subset=latin,cyrillic-ext,greek-ext,greek,vietnamese,latin-ext,cyrillic" rel="stylesheet" type="text/css"> <link rel="stylesheet" href="//web.archive.org/web/20180603042129cs_/https://s.w.org/style/wp4.css?76"/> <link rel="shortcut icon" href="//web.archive.org/web/20180603042129im_/https://s.w.org/favicon.ico?2" type="image/x-icon"/> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//web.archive.org/web/20180603042129/https://www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-52447-1', 'wordpress.org'); ga('send', 'pageview'); function recordOutboundLink(link, category, action) { ga('send', 'event', category, action); setTimeout('document.location = "' + link.href + '"', 100); } </script> <script type="text/javascript" src="//web.archive.org/web/20180603042129js_/https://s.w.org/wp-includes/js/jquery/jquery.js?v=1.11.1"></script> <script>document.cookie='devicePixelRatio='+((window.devicePixelRatio === undefined) ? 1 : window.devicePixelRatio)+'; path=/';</script> <!--[if IE]> <script type="text/javascript" src="/skins/common/IEFixes.js"></script> <meta http-equiv="imagetoolbar" content="no" /> <![endif]--> <script type="text/javascript">wgBreakFrames=false;wgContentLanguage='en';</script> <script type="text/javascript" src="/web/20180603042129js_/https://codex.wordpress.org/skins/common/wikibits.js"></script> </head> <body id="wordpress-org" class="wporg-responsive wporg-codex"> <div id="wporg-header"> <div class="wrapper"> <button id="mobile-menu-button" aria-expanded="false"><span class="screen-reader-text">Toggle Menu</span></button> <h1><a href="//web.archive.org/web/20180603042129/https://wordpress.org/">WordPress.org</a></h1> <div id="head-search"> <form action="//web.archive.org/web/20180603042129/https://wordpress.org/search/do-search.php" method="get"> <label for="global-search" class="screen-reader-text">Search WordPress.org for:</label> <input id="global-search" class="text" name="search" type="text" value="" maxlength="150" placeholder="Search WordPress.org"/> <button type="submit" class="button"><span class="screen-reader-text">Submit</span></button> </form> </div> <div style="clear:both"></div> <ul id="wporg-header-menu"> <li class="menu-item"><a href="//web.archive.org/web/20180603042129/https://wordpress.org/showcase/" title="See some of the sites built on WordPress.">Showcase</a></li> <li class="menu-item"><a href="//web.archive.org/web/20180603042129/https://wordpress.org/themes/" title="Find just the right look for your website.">Themes</a></li> <li class="menu-item"><a href="//web.archive.org/web/20180603042129/https://wordpress.org/plugins/" title="Plugins can extend WordPress to do almost anything you can imagine.">Plugins</a></li> <li class="menu-item"><a href="//web.archive.org/web/20180603042129/https://wordpress.org/mobile/" title="Take your website on the go!">Mobile</a></li> <li class="menu-item"><a href="//web.archive.org/web/20180603042129/https://wordpress.org/support/" title="Forums, documentation, help." class="current">Support</a><ul class="nav-submenu"><li><a href="//web.archive.org/web/20180603042129/https://wordpress.org/support/" title="Support and discussion forums.">Forums</a></li><li><a href="//web.archive.org/web/20180603042129/https://codex.wordpress.org/Main_Page" title="Documentation, tutorials, best practices.">Documentation</a></li></ul><div class="uparrow"></div></li> <li class="menu-item"><a href="//web.archive.org/web/20180603042129/https://make.wordpress.org/" title="Contribute your knowledge.">Get Involved</a></li> <li class="menu-item"><a href="//web.archive.org/web/20180603042129/https://wordpress.org/about/" title="About the WordPress Organization, and where we're going.">About</a></li> <li class="menu-item"><a href="//web.archive.org/web/20180603042129/https://wordpress.org/news/" title="Come here for the latest scoop.">Blog</a></li> <li class="menu-item"><a href="//web.archive.org/web/20180603042129/https://wordpress.org/hosting/" title="Find a home for your blog.">Hosting</a></li> <li id="download" class="button download-button" class="menu-item"><a href="//web.archive.org/web/20180603042129/https://wordpress.org/download/" title="Get it. Got it? Good.">Download WordPress</a></li> </ul> <div style="clear:both"></div> </div> </div> <div id="headline"> <div class="wrapper"> <h2><a href="/web/20180603042129/https://codex.wordpress.org/">Codex</a></h2> <div class="portlet" id="p-personal"> <p class="login">Codex tools: <a href="/web/20180603042129/https://codex.wordpress.org/index.php?title=Special:UserLogin&returnto=bs%3AUsing+Permalinks">Log in</a> </p> </div> </div> </div> <div id="pagebody"> <div class="wrapper"> <div class="col-10" id="bodyContent"> <div id="siteNotice"><div id="localNotice" lang="en" dir="ltr"><div style="clear:both; background-color:#e5f5fa; border-left:4px solid #00a0d2; padding:10px 12px 8px; margin:0.5em auto 1.5em auto;"><span class="dashicons dashicons-info" style="color:#00a0d2"></span> Interested in functions, hooks, classes, or methods? Check out the new <a rel="nofollow" class="external text" href="https://web.archive.org/web/20180603042129/http://developer.wordpress.org/reference">WordPress Code Reference</a>!</div> </div></div> <h2 class="pagetitle">bs:Using Permalinks</h2> <!-- start content --> <div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr"><div class="noarticletext mw-content-ltr" dir="ltr" lang="en"> <p>There is currently no text in this page. You can <a href="https://web.archive.org/web/20180603042129/https://codex.wordpress.org/Special:Search/bs:Using_Permalinks" title="Special:Search/bs:Using Permalinks">search for this page title</a> in other pages, or <span class="plainlinks"><a rel="nofollow" class="external text" href="https://web.archive.org/web/20180603042129/https://codex.wordpress.org/index.php?title=Special:Log&page=bs:Using_Permalinks">search the related logs</a></span>, but you do not have permission to create this page. </p> </div> </div><div class="printfooter"> Retrieved from "<a dir="ltr" href="https://web.archive.org/web/20180603042129/https://codex.wordpress.org/bs:Using_Permalinks">https://codex.wordpress.org/bs:Using_Permalinks</a>"</div> <div id="catlinks"><div id="catlinks" class="catlinks catlinks-allhidden" data-mw="interface"></div></div> <!-- end content --> </div> <div class="col-2"> <ul class="submenu"> <li id="n-mainpage"><a href="/web/20180603042129/https://codex.wordpress.org/Main_Page">Home Page</a></li> <li><a href="/web/20180603042129/https://codex.wordpress.org/WordPress_Lessons">WordPress Lessons</a></li> <li><a href="/web/20180603042129/https://codex.wordpress.org/Getting_Started_with_WordPress">Getting Started</a></li> <li><a href="/web/20180603042129/https://codex.wordpress.org/Working_with_WordPress">Working with WordPress</a></li> <li><a href="/web/20180603042129/https://codex.wordpress.org/Blog_Design_and_Layout">Design and Layout</a></li> <li><a href="/web/20180603042129/https://codex.wordpress.org/Advanced_Topics">Advanced Topics</a></li> <li><a href="/web/20180603042129/https://codex.wordpress.org/Troubleshooting">Troubleshooting</a></li> <li><a href="/web/20180603042129/https://codex.wordpress.org/Developer_Documentation">Developer Docs</a></li> <li><a href="/web/20180603042129/https://codex.wordpress.org/About_WordPress">About WordPress</a></li> </ul> <h3>Codex Resources</h3> <ul class="submenu"> <li id="n-portal"><a href="/web/20180603042129/https://codex.wordpress.org/Codex:Community_Portal">Community portal</a></li> <li id="n-currentevents"><a href="/web/20180603042129/https://codex.wordpress.org/Current_events">Current events</a></li> <li id="n-recentchanges"><a href="/web/20180603042129/https://codex.wordpress.org/Special:RecentChanges">Recent changes</a></li> <li id="n-randompage"><a href="/web/20180603042129/https://codex.wordpress.org/Special:Random">Random page</a></li> <li id="n-help"><a href="/web/20180603042129/https://codex.wordpress.org/Help:Contents">Help</a></li> </ul> </div> </div> </div> <div id="wporg-footer"> <div class="wrapper"> <ul> <li><a href="//web.archive.org/web/20180603042129/https://wordpress.org/about/" title="An introduction to the WordPress project">About</a></li> <li><a href="//web.archive.org/web/20180603042129/https://wordpress.org/news/" title="News and Updates">Blog</a></li> <li><a href="//web.archive.org/web/20180603042129/https://wordpress.org/hosting/" title="Recommended web hosting providers">Hosting</a></li> <li><a href="https://web.archive.org/web/20180603042129/https://wordpressfoundation.org/donate/" title="Donate to the WordPress Foundation">Donate</a></li> </ul> <ul> <li><a href="//web.archive.org/web/20180603042129/https://wordpress.org/support/" title="Forums, documentation, and other resources">Support</a></li> <li><a href="//web.archive.org/web/20180603042129/https://developer.wordpress.org/" title="Resources for WordPress developers">Developers</a></li> <li><a href="//web.archive.org/web/20180603042129/https://make.wordpress.org/" title="Give back to WordPress through code, support, translation and more">Get Involved</a></li> <li><a href="//web.archive.org/web/20180603042129/https://learn.wordpress.org/" title="Workshops and training materials">Learn</a></li> </ul> <ul> <li><a href="//web.archive.org/web/20180603042129/https://wordpress.org/showcase/" title="Some of the best WordPress sites on the Web">Showcase</a></li> <li><a href="//web.archive.org/web/20180603042129/https://wordpress.org/plugins/" title="Add extra functionality to WordPress">Plugins</a></li> <li><a href="//web.archive.org/web/20180603042129/https://wordpress.org/themes/" title="Make your WordPress pretty">Themes</a></li> <li><a href="//web.archive.org/web/20180603042129/https://wordpress.org/ideas/" title="Share your ideas for improving WordPress">Ideas</a></li> </ul> <ul> <li><a href="//web.archive.org/web/20180603042129/https://central.wordcamp.org/" title="Find a WordPress event near you">WordCamp</a></li> <li><a href="//web.archive.org/web/20180603042129/https://wordpress.tv/" title="Videos, tutorials, and WordCamp sessions">WordPress.TV</a></li> <li><a href="//web.archive.org/web/20180603042129/https://buddypress.org/" title="A set of plugins to transform your WordPress into a social network">BuddyPress</a></li> <li><a href="//web.archive.org/web/20180603042129/https://bbpress.org/" title="Fast, slick forums built on WordPress">bbPress</a></li> </ul> <ul> <li><a href="//web.archive.org/web/20180603042129/https://wordpress.com/?ref=wporg-footer" title="Hassle-free WordPress hosting">WordPress.com</a></li> <li><a href="//web.archive.org/web/20180603042129/https://ma.tt/" title="Co-founder of WordPress, an example of what WordPress can do">Matt</a></li> <li><a href="//web.archive.org/web/20180603042129/https://wordpress.org/about/privacy/" title="WordPress.org Privacy Policy">Privacy</a></li> <li><a href="//web.archive.org/web/20180603042129/https://wordpress.org/about/license/" title="WordPress is open source software">License / GPLv2</a></li> </ul> <ul> <li> <iframe title="Follow @WordPress on Twitter" allowtransparency="true" frameborder="0" scrolling="no" src="//web.archive.org/web/20180603042129if_/https://platform.twitter.com/widgets/follow_button.html?screen_name=WordPress&show_count=false" style="width:135px; height:20px;"></iframe> </li> <li> <iframe title="Like WordPress on Facebook" src="//web.archive.org/web/20180603042129if_/https://www.facebook.com/plugins/like.php?app_id=121415197926116&href=http%3A%2F%2Fwww.facebook.com%2Fwordpress&send=false&layout=button_count&width=135&show_faces=false&action=like&colorscheme=light&font=lucida+grande&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:135px; height:21px;" allowtransparency="true"></iframe> </li> <li> <script src="https://web.archive.org/web/20180603042129js_/https://apis.google.com/js/platform.js" async defer></script> <div class="g-plusone" data-size="medium" data-href="https://plus.google.com/+WordPress"></div> </li> </ul> </div> <p class="cip cip-image">Code is Poetry.</p> </div> <script type="text/javascript"> var _qevents = _qevents || []; (function() { var elem = document.createElement('script'); elem.src = (document.location.protocol == "https:" ? "https://web.archive.org/web/20180603042129/https://secure" : "https://web.archive.org/web/20180603042129/http://edge") + ".quantserve.com/quant.js"; elem.async = true; elem.type = "text/javascript"; var scpt = document.getElementsByTagName('script')[0]; scpt.parentNode.insertBefore(elem, scpt); })(); </script> <script type="text/javascript"> /** * Handles toggling the navigation menu for small screens and enables TAB key * navigation support for dropdown menus. */ ( function( $ ) { var container, button, menu, links, i, len; container = document.getElementById( 'wporg-header' ); if ( ! container ) { return; } button = container.getElementsByTagName( 'button' )[0]; if ( 'undefined' === typeof button ) { return; } menu = container.getElementsByTagName( 'ul' )[0]; // Hide menu toggle button if menu is empty and return early. if ( 'undefined' === typeof menu ) { button.style.display = 'none'; return; } menu.setAttribute( 'aria-expanded', 'false' ); if ( -1 === menu.className.indexOf( 'nav-menu' ) ) { menu.className += ' nav-menu'; } button.onclick = function() { if ( -1 !== menu.className.indexOf( 'toggled' ) ) { menu.className = menu.className.replace( ' toggled', '' ); button.setAttribute( 'aria-expanded', 'false' ); menu.setAttribute( 'aria-expanded', 'false' ); } else { menu.className += ' toggled'; button.setAttribute( 'aria-expanded', 'true' ); menu.setAttribute( 'aria-expanded', 'true' ); } }; // Get all the link elements within the menu. links = menu.getElementsByTagName( 'a' ); // Each time a menu link is focused or blurred, toggle focus. for ( i = 0, len = links.length; i < len; i++ ) { links[i].addEventListener( 'focus', toggleFocus, true ); links[i].addEventListener( 'blur', toggleFocus, true ); } /** * Sets or removes .focus class on an element. */ function toggleFocus() { var self = this; // Move up through the ancestors of the current link until we hit .nav-menu. while ( -1 === self.className.indexOf( 'nav-menu' ) ) { // On li elements toggle the class .focus. if ( 'li' === self.tagName.toLowerCase() ) { if ( -1 !== self.className.indexOf( 'focus' ) ) { self.className = self.className.replace( ' focus', '' ); } else { self.className += ' focus'; } } self = self.parentElement; } } /** * Toggles `focus` class to allow submenu access on tablets. */ ( function( container ) { var touchStartFn, i, parentLink = container.querySelectorAll( '.menu-item-has-children > a, .page_item_has_children > a' ); if ( 'ontouchstart' in window ) { touchStartFn = function( e ) { var menuItem = this.parentNode, i; if ( ! menuItem.classList.contains( 'focus' ) ) { e.preventDefault(); for ( i = 0; i < menuItem.parentNode.children.length; ++i ) { if ( menuItem === menuItem.parentNode.children[i] ) { continue; } menuItem.parentNode.children[i].classList.remove( 'focus' ); } menuItem.classList.add( 'focus' ); } else { menuItem.classList.remove( 'focus' ); } }; for ( i = 0; i < parentLink.length; ++i ) { parentLink[i].addEventListener( 'touchstart', touchStartFn, false ); } } }( container ) ); } )(); </script> <script type="text/javascript">_qevents.push( { qacct:"p-18-mFEk4J448M"} );</script> <noscript><img src="//web.archive.org/web/20180603042129im_/https://pixel.quantserve.com/pixel/p-18-mFEk4J448M.gif" style="display: none;" border="0" height="1" width="1" alt=""/></noscript> <!-- --> <script type="text/javascript" src="//web.archive.org/web/20180603042129js_/https://gravatar.com/js/gprofiles.js"></script> <script type="text/javascript"> (function($){ $(document).ready(function() { $('#footer a, #wporg-footer a').click(function() { if (this.href.indexOf('wordpress.org') == -1 && this.href.indexOf('http') == 0) { recordOutboundLink(this, 'Outbound Links', this.href); return false; } }); }); })(jQuery); </script> </body> </html> <!-- FILE ARCHIVED ON 04:21:29 Jun 03, 2018 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 17:20:09 Feb 16, 2025. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). --> <!-- playback timings (ms): captures_list: 0.936 exclusion.robots: 0.058 exclusion.robots.policy: 0.037 esindex: 0.019 cdx.remote: 7.134 LoadShardBlock: 285.297 (3) PetaboxLoader3.datanode: 76.356 (4) PetaboxLoader3.resolve: 266.671 (3) load_resource: 65.512 -->