Advertisement
terorama

WP rewrite_rules

Dec 13th, 2013
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.69 KB | None | 0 0
  1. Array
  2. (
  3. //-----------------------------------------------------------
  4. [(client)/(\w*)$] =>
  5.  
  6. index.php ? post_type=$matches[2]
  7. //-----------------------------------------------------------
  8. [category/(.+?)/feed/(feed|rdf|rss|rss2|atom)/?$] =>
  9.  
  10. index.php ? category_name=$matches[1] & feed=$matches[2]
  11. //-----------------------------------------------------------
  12. [category/(.+?)/(feed|rdf|rss|rss2|atom)/?$] =>
  13.  
  14. index.php ? category_name=$matches[1] & feed=$matches[2]
  15. //-----------------------------------------------------------
  16. [category/(.+?)/page/?([0-9]{1,})/?$] =>
  17.  
  18. index.php ? category_name=$matches[1] & paged=$matches[2]
  19. //-----------------------------------------------------------
  20. [category/(.+?)/?$] =>
  21.  
  22. index.php ? category_name=$matches[1]
  23. //-----------------------------------------------------------
  24. [tag/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] =>
  25.  
  26. index.php ? tag=$matches[1] & feed=$matches[2]
  27. //-----------------------------------------------------------
  28. [tag/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] =>
  29.  
  30. index.php ? tag=$matches[1] & feed=$matches[2]
  31. //-----------------------------------------------------------
  32. [tag/([^/]+)/page/?([0-9]{1,})/?$] =>
  33.  
  34. index.php ? tag=$matches[1] & paged=$matches[2]
  35. //-----------------------------------------------------------
  36. [tag/([^/]+)/?$] =>
  37.  
  38. index.php ? tag=$matches[1]
  39. //-----------------------------------------------------------
  40. [type/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] =>
  41.  
  42. index.php ? post_format=$matches[1] & feed=$matches[2]
  43. //-----------------------------------------------------------
  44. [type/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] =>
  45.  
  46. index.php ? post_format=$matches[1] & feed=$matches[2]
  47. //-----------------------------------------------------------
  48. [type/([^/]+)/page/?([0-9]{1,})/?$] =>
  49.  
  50. index.php ? post_format=$matches[1] & paged=$matches[2]
  51. //-----------------------------------------------------------
  52. [type/([^/]+)/?$] =>
  53.  
  54. index.php ? post_format=$matches[1]
  55. //-----------------------------------------------------------
  56. [ticket_category/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] =>
  57.  
  58. index.php ? ticket_category=$matches[1] & feed=$matches[2]
  59. //-----------------------------------------------------------
  60. [ticket_category/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] =>
  61.  
  62. index.php ? ticket_category=$matches[1] & feed=$matches[2]
  63. //-----------------------------------------------------------
  64. [ticket_category/([^/]+)/page/?([0-9]{1,})/?$] =>
  65.  
  66. index.php ? ticket_category=$matches[1] & paged=$matches[2]
  67. //-----------------------------------------------------------
  68. [ticket_category/([^/]+)/?$] =>
  69.  
  70. index.php ? ticket_category=$matches[1]
  71. //-----------------------------------------------------------
  72. [ticket/.+?/attachment/([^/]+)/?$] =>
  73.  
  74. index.php ? attachment=$matches[1]
  75. //-----------------------------------------------------------
  76. [ticket/.+?/attachment/([^/]+)/trackback/?$] =>
  77.  
  78. index.php ? attachment=$matches[1] & tb=1
  79. //-----------------------------------------------------------
  80. [ticket/.+?/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] =>
  81.  
  82. index.php ? attachment=$matches[1] & feed=$matches[2]
  83. //-----------------------------------------------------------
  84. [ticket/.+?/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] =>
  85.  
  86. index.php ? attachment=$matches[1] & feed=$matches[2]
  87. //-----------------------------------------------------------
  88. [ticket/.+?/attachment/([^/]+)/comment-page-([0-9]{1,})/?$] =>
  89.  
  90. index.php ? attachment=$matches[1] & cpage=$matches[2]
  91. //-----------------------------------------------------------
  92. [ticket/(.+?)/trackback/?$] =>
  93.  
  94. index.php ? ticket=$matches[1] & tb=1
  95. //-----------------------------------------------------------
  96. [ticket/(.+?)/feed/(feed|rdf|rss|rss2|atom)/?$] =>
  97.  
  98. index.php ? ticket=$matches[1] & feed=$matches[2]
  99. //-----------------------------------------------------------
  100. [ticket/(.+?)/(feed|rdf|rss|rss2|atom)/?$] =>
  101.  
  102. index.php ? ticket=$matches[1] & feed=$matches[2]
  103. //-----------------------------------------------------------
  104. [ticket/(.+?)/page/?([0-9]{1,})/?$] =>
  105.  
  106. index.php ? ticket=$matches[1] & paged=$matches[2]
  107. //-----------------------------------------------------------
  108. [ticket/(.+?)/comment-page-([0-9]{1,})/?$] =>
  109.  
  110. index.php ? ticket=$matches[1] & cpage=$matches[2]
  111. //-----------------------------------------------------------
  112. [ticket/(.+?)(/[0-9]+)?/?$] =>
  113.  
  114. index.php ? ticket=$matches[1] & page=$matches[2]
  115. //-----------------------------------------------------------
  116. [robots\.txt$] =>
  117.  
  118. index.php ? robots=1
  119. //-----------------------------------------------------------
  120. [.*wp-(atom|rdf|rss|rss2|feed|commentsrss2)\.php$] =>
  121.  
  122. index.php ? feed=old
  123. //-----------------------------------------------------------
  124. [.*wp-app\.php(/.*)?$] =>
  125.  
  126. index.php ? error=403
  127. //-----------------------------------------------------------
  128. [.*wp-register.php$] =>
  129.  
  130. index.php ? register=true
  131. //-----------------------------------------------------------
  132. [feed/(feed|rdf|rss|rss2|atom)/?$] =>
  133.  
  134. index.php ? & feed=$matches[1]
  135. //-----------------------------------------------------------
  136. [(feed|rdf|rss|rss2|atom)/?$] =>
  137.  
  138. index.php ? & feed=$matches[1]
  139. //-----------------------------------------------------------
  140. [page/?([0-9]{1,})/?$] =>
  141.  
  142. index.php ? & paged=$matches[1]
  143. //-----------------------------------------------------------
  144. [comments/feed/(feed|rdf|rss|rss2|atom)/?$] =>
  145.  
  146. index.php ? & feed=$matches[1] & withcomments=1
  147. //-----------------------------------------------------------
  148. [comments/(feed|rdf|rss|rss2|atom)/?$] =>
  149.  
  150. index.php ? & feed=$matches[1] & withcomments=1
  151. //-----------------------------------------------------------
  152. [search/(.+)/feed/(feed|rdf|rss|rss2|atom)/?$] =>
  153.  
  154. index.php ? s=$matches[1] & feed=$matches[2]
  155. //-----------------------------------------------------------
  156. [search/(.+)/(feed|rdf|rss|rss2|atom)/?$] =>
  157.  
  158. index.php ? s=$matches[1] & feed=$matches[2]
  159. //-----------------------------------------------------------
  160. [search/(.+)/page/?([0-9]{1,})/?$] =>
  161.  
  162. index.php ? s=$matches[1] & paged=$matches[2]
  163. //-----------------------------------------------------------
  164. [search/(.+)/?$] =>
  165.  
  166. index.php ? s=$matches[1]
  167. //-----------------------------------------------------------
  168. [author/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] =>
  169.  
  170. index.php ? author_name=$matches[1] & feed=$matches[2]
  171. //-----------------------------------------------------------
  172. [author/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] =>
  173.  
  174. index.php ? author_name=$matches[1] & feed=$matches[2]
  175. //-----------------------------------------------------------
  176. [author/([^/]+)/page/?([0-9]{1,})/?$] =>
  177.  
  178. index.php ? author_name=$matches[1] & paged=$matches[2]
  179. //-----------------------------------------------------------
  180. [author/([^/]+)/?$] =>
  181.  
  182. index.php ? author_name=$matches[1]
  183. //-----------------------------------------------------------
  184. [([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/feed/(feed|rdf|rss|rss2|atom)/?$] =>
  185.  
  186. index.php ? year=$matches[1]
  187. & monthnum=$matches[2]
  188. & day=$matches[3]
  189. & feed=$matches[4]
  190. //-----------------------------------------------------------
  191. [([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$] =>
  192.  
  193. index.php ? year=$matches[1]
  194. & monthnum=$matches[2]
  195. & day=$matches[3]
  196. & feed=$matches[4]
  197. //-----------------------------------------------------------
  198. [([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/page/?([0-9]{1,})/?$] =>
  199.  
  200. index.php ? year=$matches[1]
  201. & monthnum=$matches[2]
  202. & day=$matches[3]
  203. & paged=$matches[4]
  204. //-----------------------------------------------------------
  205. [([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/?$] =>
  206.  
  207. index.php ? year=$matches[1] & monthnum=$matches[2] & day=$matches[3]
  208. //-----------------------------------------------------------
  209. [([0-9]{4})/([0-9]{1,2})/feed/(feed|rdf|rss|rss2|atom)/?$] =>
  210.  
  211. index.php ? year=$matches[1] & monthnum=$matches[2] & feed=$matches[3]
  212. //-----------------------------------------------------------
  213. [([0-9]{4})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$] =>
  214.  
  215. index.php ? year=$matches[1] & monthnum=$matches[2] & feed=$matches[3]
  216. //-----------------------------------------------------------
  217. [([0-9]{4})/([0-9]{1,2})/page/?([0-9]{1,})/?$] =>
  218.  
  219. index.php ? year=$matches[1] & monthnum=$matches[2] & paged=$matches[3]
  220. //-----------------------------------------------------------
  221. [([0-9]{4})/([0-9]{1,2})/?$] =>
  222.  
  223. index.php ? year=$matches[1] & monthnum=$matches[2]
  224. //-----------------------------------------------------------
  225. [([0-9]{4})/feed/(feed|rdf|rss|rss2|atom)/?$] =>
  226.  
  227. index.php ? year=$matches[1] & feed=$matches[2]
  228. //-----------------------------------------------------------
  229. [([0-9]{4})/(feed|rdf|rss|rss2|atom)/?$] =>
  230.  
  231. index.php ? year=$matches[1] & feed=$matches[2]
  232. //-----------------------------------------------------------
  233. [([0-9]{4})/page/?([0-9]{1,})/?$] =>
  234.  
  235. index.php ? year=$matches[1] & paged=$matches[2]
  236. //-----------------------------------------------------------
  237. [([0-9]{4})/?$] =>
  238.  
  239. index.php ? year=$matches[1]
  240. //-----------------------------------------------------------
  241. [.?.+?/attachment/([^/]+)/?$] =>
  242.  
  243. index.php ? attachment=$matches[1]
  244. //-----------------------------------------------------------
  245. [.?.+?/attachment/([^/]+)/trackback/?$] =>
  246.  
  247. index.php ? attachment=$matches[1]&tb=1
  248. //-----------------------------------------------------------
  249. [.?.+?/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] =>
  250.  
  251. index.php ? attachment=$matches[1] & feed=$matches[2]
  252. //-----------------------------------------------------------
  253. [.?.+?/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] =>
  254.  
  255. index.php ? attachment=$matches[1] & feed=$matches[2]
  256. //-----------------------------------------------------------
  257. [.?.+?/attachment/([^/]+)/comment-page-([0-9]{1,})/?$] =>
  258.  
  259. index.php ? attachment=$matches[1] & cpage=$matches[2]
  260. //-----------------------------------------------------------
  261. [(.?.+?)/trackback/?$] =>
  262.  
  263. index.php ? pagename=$matches[1] & tb=1
  264. //-----------------------------------------------------------
  265. [(.?.+?)/feed/(feed|rdf|rss|rss2|atom)/?$] =>
  266.  
  267. index.php ? pagename=$matches[1] & feed=$matches[2]
  268. //-----------------------------------------------------------
  269. [(.?.+?)/(feed|rdf|rss|rss2|atom)/?$] =>
  270.  
  271. index.php ? pagename=$matches[1] & feed=$matches[2]
  272. //-----------------------------------------------------------
  273. [(.?.+?)/page/?([0-9]{1,})/?$] =>
  274.  
  275. index.php ? pagename=$matches[1] & paged=$matches[2]
  276. //-----------------------------------------------------------
  277. [(.?.+?)/comment-page-([0-9]{1,})/?$] =>
  278.  
  279. index.php ? pagename=$matches[1] & cpage=$matches[2]
  280. //-----------------------------------------------------------
  281. [(.?.+?)(/[0-9]+)?/?$] =>
  282.  
  283. index.php ? pagename=$matches[1] & page=$matches[2]
  284. //-----------------------------------------------------------
  285. [[^/]+/attachment/([^/]+)/?$] =>
  286.  
  287. index.php ? attachment=$matches[1]
  288. //-----------------------------------------------------------
  289. [[^/]+/attachment/([^/]+)/trackback/?$] =>
  290.  
  291. index.php ? attachment=$matches[1] & tb=1
  292. //-----------------------------------------------------------
  293. [[^/]+/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] =>
  294.  
  295. index.php ? attachment=$matches[1] & feed=$matches[2]
  296. //-----------------------------------------------------------
  297. [[^/]+/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] =>
  298.  
  299. index.php ? attachment=$matches[1] & feed=$matches[2]
  300. //-----------------------------------------------------------
  301. [[^/]+/attachment/([^/]+)/comment-page-([0-9]{1,})/?$] =>
  302.  
  303. index.php ? attachment=$matches[1] & cpage=$matches[2]
  304. //-----------------------------------------------------------
  305. [([^/]+)/trackback/?$] =>
  306.  
  307. index.php ? name=$matches[1] & tb=1
  308. //-----------------------------------------------------------
  309. [([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] =>
  310.  
  311. index.php ? name=$matches[1] & feed=$matches[2]
  312. //-----------------------------------------------------------
  313. [([^/]+)/(feed|rdf|rss|rss2|atom)/?$] =>
  314.  
  315. index.php ? name=$matches[1] & feed=$matches[2]
  316. //-----------------------------------------------------------
  317. [([^/]+)/page/?([0-9]{1,})/?$] =>
  318.  
  319. index.php ? name=$matches[1] & paged=$matches[2]
  320. //-----------------------------------------------------------
  321. [([^/]+)/comment-page-([0-9]{1,})/?$] =>
  322.  
  323. index.php ? name=$matches[1] & cpage=$matches[2]
  324. //-----------------------------------------------------------
  325. [([^/]+)(/[0-9]+)?/?$] =>
  326.  
  327. index.php ? name=$matches[1] & page=$matches[2]
  328. //-----------------------------------------------------------
  329. [[^/]+/([^/]+)/?$] =>
  330.  
  331. index.php ? attachment=$matches[1]
  332. //-----------------------------------------------------------
  333. [[^/]+/([^/]+)/trackback/?$] =>
  334.  
  335. index.php ? attachment=$matches[1] & tb=1
  336. //-----------------------------------------------------------
  337. [[^/]+/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] =>
  338.  
  339. index.php ? attachment=$matches[1] & feed=$matches[2]
  340. //-----------------------------------------------------------
  341. [[^/]+/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] =>
  342.  
  343. index.php ? attachment=$matches[1] & feed=$matches[2]
  344. //-----------------------------------------------------------
  345. [[^/]+/([^/]+)/comment-page-([0-9]{1,})/?$] =>
  346.  
  347. index.php ? attachment=$matches[1] & cpage=$matches[2]
  348.  
  349.  
  350. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement