Created
August 7, 2012 23:45
-
-
Save thenbrent/3290600 to your computer and use it in GitHub Desktop.
Content of an unmodified WP_Rewrite_Object
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WP_Rewrite Object ( | |
[permalink_structure] => /%postname%/ | |
[use_trailing_slashes] => 1 | |
[author_base] => author | |
[search_base] => search | |
[comments_base] => comments | |
[pagination_base] => page | |
[feed_base] => feed | |
[comments_feed_structure] => | |
[front] => / | |
[root] => | |
[index] => index.php | |
[matches] => matches | |
[rules] => Array | |
( | |
[category/(.+?)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?category_name=$matches[1]&feed=$matches[2] | |
[category/(.+?)/(feed|rdf|rss|rss2|atom)/?$] => index.php?category_name=$matches[1]&feed=$matches[2] | |
[category/(.+?)/page/?([0-9]{1,})/?$] => index.php?category_name=$matches[1]&paged=$matches[2] | |
[category/(.+?)/?$] => index.php?category_name=$matches[1] | |
[tag/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?tag=$matches[1]&feed=$matches[2] | |
[tag/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?tag=$matches[1]&feed=$matches[2] | |
[tag/([^/]+)/page/?([0-9]{1,})/?$] => index.php?tag=$matches[1]&paged=$matches[2] | |
[tag/([^/]+)/?$] => index.php?tag=$matches[1] | |
[type/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?post_format=$matches[1]&feed=$matches[2] | |
[type/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?post_format=$matches[1]&feed=$matches[2] | |
[type/([^/]+)/page/?([0-9]{1,})/?$] => index.php?post_format=$matches[1]&paged=$matches[2] | |
[type/([^/]+)/?$] => index.php?post_format=$matches[1] | |
[.*wp-(atom|rdf|rss|rss2|feed|commentsrss2)\.php$] => index.php?feed=old | |
[.*wp-register.php$] => index.php?register=true | |
[feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?&feed=$matches[1] | |
[(feed|rdf|rss|rss2|atom)/?$] => index.php?&feed=$matches[1] | |
[page/?([0-9]{1,})/?$] => index.php?&paged=$matches[1] | |
[comments/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?&feed=$matches[1]&withcomments=1 | |
[comments/(feed|rdf|rss|rss2|atom)/?$] => index.php?&feed=$matches[1]&withcomments=1 | |
[comments/page/?([0-9]{1,})/?$] => index.php?&paged=$matches[1] | |
[search/(.+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?s=$matches[1]&feed=$matches[2] | |
[search/(.+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?s=$matches[1]&feed=$matches[2] | |
[search/(.+)/page/?([0-9]{1,})/?$] => index.php?s=$matches[1]&paged=$matches[2] | |
[search/(.+)/?$] => index.php?s=$matches[1] | |
[author/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?author_name=$matches[1]&feed=$matches[2] | |
[author/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?author_name=$matches[1]&feed=$matches[2] | |
[author/([^/]+)/page/?([0-9]{1,})/?$] => index.php?author_name=$matches[1]&paged=$matches[2] | |
[author/([^/]+)/?$] => index.php?author_name=$matches[1] | |
[([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&feed=$matches[4] | |
[([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$] => index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&feed=$matches[4] | |
[([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/page/?([0-9]{1,})/?$] => index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&paged=$matches[4] | |
[([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/?$] => index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3] | |
[([0-9]{4})/([0-9]{1,2})/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?year=$matches[1]&monthnum=$matches[2]&feed=$matches[3] | |
[([0-9]{4})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$] => index.php?year=$matches[1]&monthnum=$matches[2]&feed=$matches[3] | |
[([0-9]{4})/([0-9]{1,2})/page/?([0-9]{1,})/?$] => index.php?year=$matches[1]&monthnum=$matches[2]&paged=$matches[3] | |
[([0-9]{4})/([0-9]{1,2})/?$] => index.php?year=$matches[1]&monthnum=$matches[2] | |
[([0-9]{4})/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?year=$matches[1]&feed=$matches[2] | |
[([0-9]{4})/(feed|rdf|rss|rss2|atom)/?$] => index.php?year=$matches[1]&feed=$matches[2] | |
[([0-9]{4})/page/?([0-9]{1,})/?$] => index.php?year=$matches[1]&paged=$matches[2] | |
[([0-9]{4})/?$] => index.php?year=$matches[1] | |
[.?.+?/attachment/([^/]+)/?$] => index.php?attachment=$matches[1] | |
[.?.+?/attachment/([^/]+)/trackback/?$] => index.php?attachment=$matches[1]&tb=1 | |
[.?.+?/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?attachment=$matches[1]&feed=$matches[2] | |
[.?.+?/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?attachment=$matches[1]&feed=$matches[2] | |
[.?.+?/attachment/([^/]+)/comment-page-([0-9]{1,})/?$] => index.php?attachment=$matches[1]&cpage=$matches[2] | |
[(.?.+?)/trackback/?$] => index.php?pagename=$matches[1]&tb=1 | |
[(.?.+?)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?pagename=$matches[1]&feed=$matches[2] | |
[(.?.+?)/(feed|rdf|rss|rss2|atom)/?$] => index.php?pagename=$matches[1]&feed=$matches[2] | |
[(.?.+?)/page/?([0-9]{1,})/?$] => index.php?pagename=$matches[1]&paged=$matches[2] | |
[(.?.+?)/comment-page-([0-9]{1,})/?$] => index.php?pagename=$matches[1]&cpage=$matches[2] | |
[(.?.+?)(/[0-9]+)?/?$] => index.php?pagename=$matches[1]&page=$matches[2] | |
[[^/]+/attachment/([^/]+)/?$] => index.php?attachment=$matches[1] | |
[[^/]+/attachment/([^/]+)/trackback/?$] => index.php?attachment=$matches[1]&tb=1 | |
[[^/]+/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?attachment=$matches[1]&feed=$matches[2] | |
[[^/]+/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?attachment=$matches[1]&feed=$matches[2] | |
[[^/]+/attachment/([^/]+)/comment-page-([0-9]{1,})/?$] => index.php?attachment=$matches[1]&cpage=$matches[2] | |
[([^/]+)/trackback/?$] => index.php?name=$matches[1]&tb=1 | |
[([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?name=$matches[1]&feed=$matches[2] | |
[([^/]+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?name=$matches[1]&feed=$matches[2] | |
[([^/]+)/comment-page-([0-9]{1,})/?$] => index.php?name=$matches[1]&cpage=$matches[2] | |
[([^/]+)(/[0-9]+)?/?$] => index.php?name=$matches[1]&page=$matches[2] | |
[[^/]+/([^/]+)/?$] => index.php?attachment=$matches[1] | |
[[^/]+/([^/]+)/trackback/?$] => index.php?attachment=$matches[1]&tb=1 | |
[[^/]+/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?attachment=$matches[1]&feed=$matches[2] | |
[[^/]+/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?attachment=$matches[1]&feed=$matches[2] | |
[[^/]+/([^/]+)/comment-page-([0-9]{1,})/?$] => index.php?attachment=$matches[1]&cpage=$matches[2] | |
) | |
[extra_rules] => Array | |
( | |
) | |
[extra_rules_top] => Array | |
( | |
[category/(.+?)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?category_name=$matches[1]&feed=$matches[2] | |
[category/(.+?)/(feed|rdf|rss|rss2|atom)/?$] => index.php?category_name=$matches[1]&feed=$matches[2] | |
[category/(.+?)/page/?([0-9]{1,})/?$] => index.php?category_name=$matches[1]&paged=$matches[2] | |
[category/(.+?)/?$] => index.php?category_name=$matches[1] | |
[tag/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?tag=$matches[1]&feed=$matches[2] | |
[tag/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?tag=$matches[1]&feed=$matches[2] | |
[tag/([^/]+)/page/?([0-9]{1,})/?$] => index.php?tag=$matches[1]&paged=$matches[2] | |
[tag/([^/]+)/?$] => index.php?tag=$matches[1] | |
[type/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?post_format=$matches[1]&feed=$matches[2] | |
[type/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?post_format=$matches[1]&feed=$matches[2] | |
[type/([^/]+)/page/?([0-9]{1,})/?$] => index.php?post_format=$matches[1]&paged=$matches[2] | |
[type/([^/]+)/?$] => index.php?post_format=$matches[1] | |
) | |
[non_wp_rules] => Array | |
( | |
) | |
[extra_permastructs] => Array | |
( | |
[category] => Array | |
( | |
[with_front] => 1 | |
[ep_mask] => 512 | |
[paged] => 1 | |
[feed] => 1 | |
[forcomments] => | |
[walk_dirs] => 1 | |
[endpoints] => 1 | |
[struct] => /category/%category% | |
) | |
[post_tag] => Array | |
( | |
[with_front] => 1 | |
[ep_mask] => 1024 | |
[paged] => 1 | |
[feed] => 1 | |
[forcomments] => | |
[walk_dirs] => 1 | |
[endpoints] => 1 | |
[struct] => /tag/%post_tag% | |
) | |
[post_format] => Array | |
( | |
[with_front] => 1 | |
[ep_mask] => 0 | |
[paged] => 1 | |
[feed] => 1 | |
[forcomments] => | |
[walk_dirs] => 1 | |
[endpoints] => 1 | |
[struct] => /type/%post_format% | |
) | |
) | |
[endpoints] => Array | |
( | |
) | |
[use_verbose_rules] => | |
[use_verbose_page_rules] => 1 | |
[rewritecode] => Array | |
( | |
[0] => %year% | |
[1] => %monthnum% | |
[2] => %day% | |
[3] => %hour% | |
[4] => %minute% | |
[5] => %second% | |
[6] => %postname% | |
[7] => %post_id% | |
[8] => %author% | |
[9] => %pagename% | |
[10] => %search% | |
[11] => %category% | |
[12] => %post_tag% | |
[13] => %post_format% | |
) | |
[rewritereplace] => Array | |
( | |
[0] => ([0-9]{4}) | |
[1] => ([0-9]{1,2}) | |
[2] => ([0-9]{1,2}) | |
[3] => ([0-9]{1,2}) | |
[4] => ([0-9]{1,2}) | |
[5] => ([0-9]{1,2}) | |
[6] => ([^/]+) | |
[7] => ([0-9]+) | |
[8] => ([^/]+) | |
[9] => (.?.+?) | |
[10] => (.+) | |
[11] => (.+?) | |
[12] => ([^/]+) | |
[13] => ([^/]+) | |
) | |
[queryreplace] => Array | |
( | |
[0] => year= | |
[1] => monthnum= | |
[2] => day= | |
[3] => hour= | |
[4] => minute= | |
[5] => second= | |
[6] => name= | |
[7] => p= | |
[8] => author_name= | |
[9] => pagename= | |
[10] => s= | |
[11] => category_name= | |
[12] => tag= | |
[13] => post_format= | |
) | |
[feeds] => Array | |
( | |
[0] => feed | |
[1] => rdf | |
[2] => rss | |
[3] => rss2 | |
[4] => atom | |
) | |
[date_structure] => /%year%/%monthnum%/%day% | |
[search_structure] => search/%search% | |
[author_structure] => /author/%author% | |
[page_structure] => %pagename% | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment