WordPress.org

Make WordPress Core

Ticket #15943: 1stcustomsave

File 1stcustomsave, 11.4 KB (added by sterlo, 4 years ago)

These are the results of the first save if you change your custom permalink structure to: "/%category%/%postname%/"

Line 
1WP_Rewrite Object
2(
3    [permalink_structure] => /%category%/%postname%/
4    [use_trailing_slashes] => 1
5    [author_base] => author
6    [search_base] => search
7    [comments_base] => comments
8    [pagination_base] => page
9    [feed_base] => feed
10    [comments_feed_structure] =>
11    [front] => /
12    [root] =>
13    [index] => index.php
14    [matches] => matches
15    [rules] => Array
16        (
17            [category/(.+?)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?category_name=$matches[1]&feed=$matches[2]
18            [category/(.+?)/(feed|rdf|rss|rss2|atom)/?$] => index.php?category_name=$matches[1]&feed=$matches[2]
19            [category/(.+?)/page/?([0-9]{1,})/?$] => index.php?category_name=$matches[1]&paged=$matches[2]
20            [category/(.+?)/?$] => index.php?category_name=$matches[1]
21            [tag/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?tag=$matches[1]&feed=$matches[2]
22            [tag/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?tag=$matches[1]&feed=$matches[2]
23            [tag/([^/]+)/page/?([0-9]{1,})/?$] => index.php?tag=$matches[1]&paged=$matches[2]
24            [tag/([^/]+)/?$] => index.php?tag=$matches[1]
25            [type/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?post_format=$matches[1]&feed=$matches[2]
26            [type/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?post_format=$matches[1]&feed=$matches[2]
27            [type/([^/]+)/page/?([0-9]{1,})/?$] => index.php?post_format=$matches[1]&paged=$matches[2]
28            [type/([^/]+)/?$] => index.php?post_format=$matches[1]
29            [robots\.txt$] => index.php?robots=1
30            [.*wp-atom.php$] => index.php?feed=atom
31            [.*wp-rdf.php$] => index.php?feed=rdf
32            [.*wp-rss.php$] => index.php?feed=rss
33            [.*wp-rss2.php$] => index.php?feed=rss2
34            [.*wp-feed.php$] => index.php?feed=feed
35            [.*wp-commentsrss2.php$] => index.php?feed=rss2&withcomments=1
36            [sample-page/attachment/([^/]+)/?$] => index.php?attachment=$matches[1]
37            [sample-page/attachment/([^/]+)/trackback/?$] => index.php?attachment=$matches[1]&tb=1
38            [sample-page/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?attachment=$matches[1]&feed=$matches[2]
39            [sample-page/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?attachment=$matches[1]&feed=$matches[2]
40            [sample-page/attachment/([^/]+)/comment-page-([0-9]{1,})/?$] => index.php?attachment=$matches[1]&cpage=$matches[2]
41            [(sample-page)/trackback/?$] => index.php?pagename=$matches[1]&tb=1
42            [(sample-page)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?pagename=$matches[1]&feed=$matches[2]
43            [(sample-page)/(feed|rdf|rss|rss2|atom)/?$] => index.php?pagename=$matches[1]&feed=$matches[2]
44            [(sample-page)/page/?([0-9]{1,})/?$] => index.php?pagename=$matches[1]&paged=$matches[2]
45            [(sample-page)/comment-page-([0-9]{1,})/?$] => index.php?pagename=$matches[1]&cpage=$matches[2]
46            [(sample-page)(/[0-9]+)?/?$] => index.php?pagename=$matches[1]&page=$matches[2]
47            [feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?&feed=$matches[1]
48            [(feed|rdf|rss|rss2|atom)/?$] => index.php?&feed=$matches[1]
49            [page/?([0-9]{1,})/?$] => index.php?&paged=$matches[1]
50            [comments/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?&feed=$matches[1]&withcomments=1
51            [comments/(feed|rdf|rss|rss2|atom)/?$] => index.php?&feed=$matches[1]&withcomments=1
52            [comments/page/?([0-9]{1,})/?$] => index.php?&paged=$matches[1]
53            [search/(.+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?s=$matches[1]&feed=$matches[2]
54            [search/(.+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?s=$matches[1]&feed=$matches[2]
55            [search/(.+)/page/?([0-9]{1,})/?$] => index.php?s=$matches[1]&paged=$matches[2]
56            [search/(.+)/?$] => index.php?s=$matches[1]
57            [author/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?author_name=$matches[1]&feed=$matches[2]
58            [author/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?author_name=$matches[1]&feed=$matches[2]
59            [author/([^/]+)/page/?([0-9]{1,})/?$] => index.php?author_name=$matches[1]&paged=$matches[2]
60            [author/([^/]+)/?$] => index.php?author_name=$matches[1]
61            [([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]
62            [([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]
63            [([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]
64            [([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/?$] => index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]
65            [([0-9]{4})/([0-9]{1,2})/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?year=$matches[1]&monthnum=$matches[2]&feed=$matches[3]
66            [([0-9]{4})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$] => index.php?year=$matches[1]&monthnum=$matches[2]&feed=$matches[3]
67            [([0-9]{4})/([0-9]{1,2})/page/?([0-9]{1,})/?$] => index.php?year=$matches[1]&monthnum=$matches[2]&paged=$matches[3]
68            [([0-9]{4})/([0-9]{1,2})/?$] => index.php?year=$matches[1]&monthnum=$matches[2]
69            [([0-9]{4})/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?year=$matches[1]&feed=$matches[2]
70            [([0-9]{4})/(feed|rdf|rss|rss2|atom)/?$] => index.php?year=$matches[1]&feed=$matches[2]
71            [([0-9]{4})/page/?([0-9]{1,})/?$] => index.php?year=$matches[1]&paged=$matches[2]
72            [([0-9]{4})/?$] => index.php?year=$matches[1]
73            [.+?/[^/]+/attachment/([^/]+)/?$] => index.php?attachment=$matches[1]
74            [.+?/[^/]+/attachment/([^/]+)/trackback/?$] => index.php?attachment=$matches[1]&tb=1
75            [.+?/[^/]+/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?attachment=$matches[1]&feed=$matches[2]
76            [.+?/[^/]+/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?attachment=$matches[1]&feed=$matches[2]
77            [.+?/[^/]+/attachment/([^/]+)/comment-page-([0-9]{1,})/?$] => index.php?attachment=$matches[1]&cpage=$matches[2]
78            [(.+?)/([^/]+)/trackback/?$] => index.php?category_name=$matches[1]&name=$matches[2]&tb=1
79            [(.+?)/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?category_name=$matches[1]&name=$matches[2]&feed=$matches[3]
80            [(.+?)/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?category_name=$matches[1]&name=$matches[2]&feed=$matches[3]
81            [(.+?)/([^/]+)/page/?([0-9]{1,})/?$] => index.php?category_name=$matches[1]&name=$matches[2]&paged=$matches[3]
82            [(.+?)/([^/]+)/comment-page-([0-9]{1,})/?$] => index.php?category_name=$matches[1]&name=$matches[2]&cpage=$matches[3]
83            [(.+?)/([^/]+)(/[0-9]+)?/?$] => index.php?category_name=$matches[1]&name=$matches[2]&page=$matches[3]
84            [.+?/[^/]+/([^/]+)/?$] => index.php?attachment=$matches[1]
85            [.+?/[^/]+/([^/]+)/trackback/?$] => index.php?attachment=$matches[1]&tb=1
86            [.+?/[^/]+/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?attachment=$matches[1]&feed=$matches[2]
87            [.+?/[^/]+/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?attachment=$matches[1]&feed=$matches[2]
88            [.+?/[^/]+/([^/]+)/comment-page-([0-9]{1,})/?$] => index.php?attachment=$matches[1]&cpage=$matches[2]
89            [(.+?)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?category_name=$matches[1]&feed=$matches[2]
90            [(.+?)/(feed|rdf|rss|rss2|atom)/?$] => index.php?category_name=$matches[1]&feed=$matches[2]
91            [(.+?)/page/?([0-9]{1,})/?$] => index.php?category_name=$matches[1]&paged=$matches[2]
92            [(.+?)/comment-page-([0-9]{1,})/?$] => index.php?category_name=$matches[1]&cpage=$matches[2]
93            [(.+?)/?$] => index.php?category_name=$matches[1]
94        )
95
96    [extra_rules] => Array
97        (
98        )
99
100    [extra_rules_top] => Array
101        (
102            [category/(.+?)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?category_name=$matches[1]&feed=$matches[2]
103            [category/(.+?)/(feed|rdf|rss|rss2|atom)/?$] => index.php?category_name=$matches[1]&feed=$matches[2]
104            [category/(.+?)/page/?([0-9]{1,})/?$] => index.php?category_name=$matches[1]&paged=$matches[2]
105            [category/(.+?)/?$] => index.php?category_name=$matches[1]
106            [tag/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?tag=$matches[1]&feed=$matches[2]
107            [tag/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?tag=$matches[1]&feed=$matches[2]
108            [tag/([^/]+)/page/?([0-9]{1,})/?$] => index.php?tag=$matches[1]&paged=$matches[2]
109            [tag/([^/]+)/?$] => index.php?tag=$matches[1]
110            [type/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?post_format=$matches[1]&feed=$matches[2]
111            [type/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?post_format=$matches[1]&feed=$matches[2]
112            [type/([^/]+)/page/?([0-9]{1,})/?$] => index.php?post_format=$matches[1]&paged=$matches[2]
113            [type/([^/]+)/?$] => index.php?post_format=$matches[1]
114        )
115
116    [non_wp_rules] => Array
117        (
118        )
119
120    [extra_permastructs] => Array
121        (
122            [category] => Array
123                (
124                    [0] => category/%category%
125                    [1] => 0
126                )
127
128            [post_tag] => Array
129                (
130                    [0] => tag/%post_tag%
131                    [1] => 0
132                )
133
134            [post_format] => Array
135                (
136                    [0] => /type/%post_format%
137                    [1] => 0
138                )
139
140        )
141
142    [endpoints] => Array
143        (
144        )
145
146    [use_verbose_rules] =>
147    [use_verbose_page_rules] => 1
148    [rewritecode] => Array
149        (
150            [0] => %year%
151            [1] => %monthnum%
152            [2] => %day%
153            [3] => %hour%
154            [4] => %minute%
155            [5] => %second%
156            [6] => %postname%
157            [7] => %post_id%
158            [8] => %author%
159            [9] => %pagename%
160            [10] => %search%
161            [11] => %category%
162            [12] => %post_tag%
163            [13] => %post_format%
164        )
165
166    [rewritereplace] => Array
167        (
168            [0] => ([0-9]{4})
169            [1] => ([0-9]{1,2})
170            [2] => ([0-9]{1,2})
171            [3] => ([0-9]{1,2})
172            [4] => ([0-9]{1,2})
173            [5] => ([0-9]{1,2})
174            [6] => ([^/]+)
175            [7] => ([0-9]+)
176            [8] => ([^/]+)
177            [9] => (sample-page)
178            [10] => (.+)
179            [11] => (.+?)
180            [12] => ([^/]+)
181            [13] => ([^/]+)
182        )
183
184    [queryreplace] => Array
185        (
186            [0] => year=
187            [1] => monthnum=
188            [2] => day=
189            [3] => hour=
190            [4] => minute=
191            [5] => second=
192            [6] => name=
193            [7] => p=
194            [8] => author_name=
195            [9] => pagename=
196            [10] => s=
197            [11] => category_name=
198            [12] => tag=
199            [13] => post_format=
200        )
201
202    [feeds] => Array
203        (
204            [0] => feed
205            [1] => rdf
206            [2] => rss
207            [3] => rss2
208            [4] => atom
209        )
210
211    [date_structure] => /%year%/%monthnum%/%day%
212    [search_structure] => search/%search%
213    [author_structure] => /author/%author%
214    [page_structure] => %pagename%
215)