Skip to content

Instantly share code, notes, and snippets.

@stefanolaru
Created October 22, 2019 08:33
Show Gist options
  • Save stefanolaru/54badd26b681becc69b7019cefeeff9b to your computer and use it in GitHub Desktop.
Save stefanolaru/54badd26b681becc69b7019cefeeff9b to your computer and use it in GitHub Desktop.
<?php
array (
'sitemap.xml' => 'index.php?aiosp_sitemap_path=root',
'(.+)-sitemap(\\d+).xml' => 'index.php?aiosp_sitemap_path=$matches[1]&aiosp_sitemap_page=$matches[2]',
'(.+)-sitemap.xml' => 'index.php?aiosp_sitemap_path=$matches[1]',
'^wp-json/?$' => 'index.php?rest_route=/',
'^wp-json/(.*)?' => 'index.php?rest_route=/$matches[1]',
'^index.php/wp-json/?$' => 'index.php?rest_route=/',
'^index.php/wp-json/(.*)?' => 'index.php?rest_route=/$matches[1]',
'listings/?$' => 'index.php?post_type=property',
'listings/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?post_type=property&feed=$matches[1]',
'listings/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?post_type=property&feed=$matches[1]',
'listings/page/([0-9]{1,})/?$' => 'index.php?post_type=property&paged=$matches[1]',
'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/(.+?)/embed/?$' => 'index.php?category_name=$matches[1]&embed=true',
'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/([^/]+)/embed/?$' => 'index.php?tag=$matches[1]&embed=true',
'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/([^/]+)/embed/?$' => 'index.php?post_format=$matches[1]&embed=true',
'type/([^/]+)/page/?([0-9]{1,})/?$' => 'index.php?post_format=$matches[1]&paged=$matches[2]',
'type/([^/]+)/?$' => 'index.php?post_format=$matches[1]',
'client/[^/]+/attachment/([^/]+)/?$' => 'index.php?attachment=$matches[1]',
'client/[^/]+/attachment/([^/]+)/trackback/?$' => 'index.php?attachment=$matches[1]&tb=1',
'client/[^/]+/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?attachment=$matches[1]&feed=$matches[2]',
'client/[^/]+/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?attachment=$matches[1]&feed=$matches[2]',
'client/[^/]+/attachment/([^/]+)/comment-page-([0-9]{1,})/?$' => 'index.php?attachment=$matches[1]&cpage=$matches[2]',
'client/[^/]+/attachment/([^/]+)/embed/?$' => 'index.php?attachment=$matches[1]&embed=true',
'client/([^/]+)/embed/?$' => 'index.php?client=$matches[1]&embed=true',
'client/([^/]+)/trackback/?$' => 'index.php?client=$matches[1]&tb=1',
'client/([^/]+)/page/?([0-9]{1,})/?$' => 'index.php?client=$matches[1]&paged=$matches[2]',
'client/([^/]+)/comment-page-([0-9]{1,})/?$' => 'index.php?client=$matches[1]&cpage=$matches[2]',
'client/([^/]+)(?:/([0-9]+))?/?$' => 'index.php?client=$matches[1]&page=$matches[2]',
'client/[^/]+/([^/]+)/?$' => 'index.php?attachment=$matches[1]',
'client/[^/]+/([^/]+)/trackback/?$' => 'index.php?attachment=$matches[1]&tb=1',
'client/[^/]+/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?attachment=$matches[1]&feed=$matches[2]',
'client/[^/]+/([^/]+)/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?attachment=$matches[1]&feed=$matches[2]',
'client/[^/]+/([^/]+)/comment-page-([0-9]{1,})/?$' => 'index.php?attachment=$matches[1]&cpage=$matches[2]',
'client/[^/]+/([^/]+)/embed/?$' => 'index.php?attachment=$matches[1]&embed=true',
'team/[^/]+/attachment/([^/]+)/?$' => 'index.php?attachment=$matches[1]',
'team/[^/]+/attachment/([^/]+)/trackback/?$' => 'index.php?attachment=$matches[1]&tb=1',
'team/[^/]+/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?attachment=$matches[1]&feed=$matches[2]',
'team/[^/]+/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?attachment=$matches[1]&feed=$matches[2]',
'team/[^/]+/attachment/([^/]+)/comment-page-([0-9]{1,})/?$' => 'index.php?attachment=$matches[1]&cpage=$matches[2]',
'team/[^/]+/attachment/([^/]+)/embed/?$' => 'index.php?attachment=$matches[1]&embed=true',
'team/([^/]+)/embed/?$' => 'index.php?team=$matches[1]&embed=true',
'team/([^/]+)/trackback/?$' => 'index.php?team_member=$matches[1]&tb=1',
'team/([^/]+)/page/?([0-9]{1,})/?$' => 'index.php?team=$matches[1]&paged=$matches[2]',
'team/([^/]+)/comment-page-([0-9]{1,})/?$' => 'index.php?team_member=$matches[1]&cpage=$matches[2]',
'team/([^/]+)(?:/([0-9]+))?/?$' => 'index.php?team_member=$matches[1]&page=$matches[2]',
'team/[^/]+/([^/]+)/?$' => 'index.php?attachment=$matches[1]',
'team/[^/]+/([^/]+)/trackback/?$' => 'index.php?attachment=$matches[1]&tb=1',
'team/[^/]+/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?attachment=$matches[1]&feed=$matches[2]',
'team/[^/]+/([^/]+)/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?attachment=$matches[1]&feed=$matches[2]',
'team/[^/]+/([^/]+)/comment-page-([0-9]{1,})/?$' => 'index.php?attachment=$matches[1]&cpage=$matches[2]',
'team/[^/]+/([^/]+)/embed/?$' => 'index.php?attachment=$matches[1]&embed=true',
'team/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?team=$matches[1]&feed=$matches[2]',
'team/([^/]+)/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?team=$matches[1]&feed=$matches[2]',
'team/([^/]+)/?$' => 'index.php?team=$matches[1]',
'office/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?office=$matches[1]&feed=$matches[2]',
'office/([^/]+)/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?office=$matches[1]&feed=$matches[2]',
'office/([^/]+)/embed/?$' => 'index.php?office=$matches[1]&embed=true',
'office/([^/]+)/page/?([0-9]{1,})/?$' => 'index.php?office=$matches[1]&paged=$matches[2]',
'office/([^/]+)/?$' => 'index.php?office=$matches[1]',
'broker_type/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?broker_type=$matches[1]&feed=$matches[2]',
'broker_type/([^/]+)/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?broker_type=$matches[1]&feed=$matches[2]',
'broker_type/([^/]+)/embed/?$' => 'index.php?broker_type=$matches[1]&embed=true',
'broker_type/([^/]+)/page/?([0-9]{1,})/?$' => 'index.php?broker_type=$matches[1]&paged=$matches[2]',
'broker_type/([^/]+)/?$' => 'index.php?broker_type=$matches[1]',
'speaker/[^/]+/attachment/([^/]+)/?$' => 'index.php?attachment=$matches[1]',
'speaker/[^/]+/attachment/([^/]+)/trackback/?$' => 'index.php?attachment=$matches[1]&tb=1',
'speaker/[^/]+/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?attachment=$matches[1]&feed=$matches[2]',
'speaker/[^/]+/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?attachment=$matches[1]&feed=$matches[2]',
'speaker/[^/]+/attachment/([^/]+)/comment-page-([0-9]{1,})/?$' => 'index.php?attachment=$matches[1]&cpage=$matches[2]',
'speaker/[^/]+/attachment/([^/]+)/embed/?$' => 'index.php?attachment=$matches[1]&embed=true',
'speaker/([^/]+)/embed/?$' => 'index.php?speaker=$matches[1]&embed=true',
'speaker/([^/]+)/trackback/?$' => 'index.php?speaker=$matches[1]&tb=1',
'speaker/([^/]+)/page/?([0-9]{1,})/?$' => 'index.php?speaker=$matches[1]&paged=$matches[2]',
'speaker/([^/]+)/comment-page-([0-9]{1,})/?$' => 'index.php?speaker=$matches[1]&cpage=$matches[2]',
'speaker/([^/]+)(?:/([0-9]+))?/?$' => 'index.php?speaker=$matches[1]&page=$matches[2]',
'speaker/[^/]+/([^/]+)/?$' => 'index.php?attachment=$matches[1]',
'speaker/[^/]+/([^/]+)/trackback/?$' => 'index.php?attachment=$matches[1]&tb=1',
'speaker/[^/]+/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?attachment=$matches[1]&feed=$matches[2]',
'speaker/[^/]+/([^/]+)/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?attachment=$matches[1]&feed=$matches[2]',
'speaker/[^/]+/([^/]+)/comment-page-([0-9]{1,})/?$' => 'index.php?attachment=$matches[1]&cpage=$matches[2]',
'speaker/[^/]+/([^/]+)/embed/?$' => 'index.php?attachment=$matches[1]&embed=true',
'report/[^/]+/attachment/([^/]+)/?$' => 'index.php?attachment=$matches[1]',
'report/[^/]+/attachment/([^/]+)/trackback/?$' => 'index.php?attachment=$matches[1]&tb=1',
'report/[^/]+/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?attachment=$matches[1]&feed=$matches[2]',
'report/[^/]+/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?attachment=$matches[1]&feed=$matches[2]',
'report/[^/]+/attachment/([^/]+)/comment-page-([0-9]{1,})/?$' => 'index.php?attachment=$matches[1]&cpage=$matches[2]',
'report/[^/]+/attachment/([^/]+)/embed/?$' => 'index.php?attachment=$matches[1]&embed=true',
'report/([^/]+)/embed/?$' => 'index.php?report=$matches[1]&embed=true',
'report/([^/]+)/trackback/?$' => 'index.php?report=$matches[1]&tb=1',
'report/([^/]+)/page/?([0-9]{1,})/?$' => 'index.php?report=$matches[1]&paged=$matches[2]',
'report/([^/]+)/comment-page-([0-9]{1,})/?$' => 'index.php?report=$matches[1]&cpage=$matches[2]',
'report/([^/]+)(?:/([0-9]+))?/?$' => 'index.php?report=$matches[1]&page=$matches[2]',
'report/[^/]+/([^/]+)/?$' => 'index.php?attachment=$matches[1]',
'report/[^/]+/([^/]+)/trackback/?$' => 'index.php?attachment=$matches[1]&tb=1',
'report/[^/]+/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?attachment=$matches[1]&feed=$matches[2]',
'report/[^/]+/([^/]+)/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?attachment=$matches[1]&feed=$matches[2]',
'report/[^/]+/([^/]+)/comment-page-([0-9]{1,})/?$' => 'index.php?attachment=$matches[1]&cpage=$matches[2]',
'report/[^/]+/([^/]+)/embed/?$' => 'index.php?attachment=$matches[1]&embed=true',
'resource/[^/]+/attachment/([^/]+)/?$' => 'index.php?attachment=$matches[1]',
'resource/[^/]+/attachment/([^/]+)/trackback/?$' => 'index.php?attachment=$matches[1]&tb=1',
'resource/[^/]+/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?attachment=$matches[1]&feed=$matches[2]',
'resource/[^/]+/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?attachment=$matches[1]&feed=$matches[2]',
'resource/[^/]+/attachment/([^/]+)/comment-page-([0-9]{1,})/?$' => 'index.php?attachment=$matches[1]&cpage=$matches[2]',
'resource/[^/]+/attachment/([^/]+)/embed/?$' => 'index.php?attachment=$matches[1]&embed=true',
'resource/([^/]+)/embed/?$' => 'index.php?resource=$matches[1]&embed=true',
'resource/([^/]+)/trackback/?$' => 'index.php?resource=$matches[1]&tb=1',
'resource/([^/]+)/page/?([0-9]{1,})/?$' => 'index.php?resource=$matches[1]&paged=$matches[2]',
'resource/([^/]+)/comment-page-([0-9]{1,})/?$' => 'index.php?resource=$matches[1]&cpage=$matches[2]',
'resource/([^/]+)(?:/([0-9]+))?/?$' => 'index.php?resource=$matches[1]&page=$matches[2]',
'resource/[^/]+/([^/]+)/?$' => 'index.php?attachment=$matches[1]',
'resource/[^/]+/([^/]+)/trackback/?$' => 'index.php?attachment=$matches[1]&tb=1',
'resource/[^/]+/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?attachment=$matches[1]&feed=$matches[2]',
'resource/[^/]+/([^/]+)/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?attachment=$matches[1]&feed=$matches[2]',
'resource/[^/]+/([^/]+)/comment-page-([0-9]{1,})/?$' => 'index.php?attachment=$matches[1]&cpage=$matches[2]',
'resource/[^/]+/([^/]+)/embed/?$' => 'index.php?attachment=$matches[1]&embed=true',
'quarter/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?quarter=$matches[1]&feed=$matches[2]',
'quarter/([^/]+)/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?quarter=$matches[1]&feed=$matches[2]',
'quarter/([^/]+)/embed/?$' => 'index.php?quarter=$matches[1]&embed=true',
'quarter/([^/]+)/page/?([0-9]{1,})/?$' => 'index.php?quarter=$matches[1]&paged=$matches[2]',
'quarter/([^/]+)/?$' => 'index.php?quarter=$matches[1]',
'listings/[^/]+/attachment/([^/]+)/?$' => 'index.php?attachment=$matches[1]',
'listings/[^/]+/attachment/([^/]+)/trackback/?$' => 'index.php?attachment=$matches[1]&tb=1',
'listings/[^/]+/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?attachment=$matches[1]&feed=$matches[2]',
'listings/[^/]+/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?attachment=$matches[1]&feed=$matches[2]',
'listings/[^/]+/attachment/([^/]+)/comment-page-([0-9]{1,})/?$' => 'index.php?attachment=$matches[1]&cpage=$matches[2]',
'listings/[^/]+/attachment/([^/]+)/embed/?$' => 'index.php?attachment=$matches[1]&embed=true',
'listings/([^/]+)/embed/?$' => 'index.php?property=$matches[1]&embed=true',
'listings/([^/]+)/trackback/?$' => 'index.php?property=$matches[1]&tb=1',
'listings/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?property=$matches[1]&feed=$matches[2]',
'listings/([^/]+)/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?property=$matches[1]&feed=$matches[2]',
'listings/([^/]+)/page/?([0-9]{1,})/?$' => 'index.php?property=$matches[1]&paged=$matches[2]',
'listings/([^/]+)/comment-page-([0-9]{1,})/?$' => 'index.php?property=$matches[1]&cpage=$matches[2]',
'listings/([^/]+)(?:/([0-9]+))?/?$' => 'index.php?property=$matches[1]&page=$matches[2]',
'listings/[^/]+/([^/]+)/?$' => 'index.php?attachment=$matches[1]',
'listings/[^/]+/([^/]+)/trackback/?$' => 'index.php?attachment=$matches[1]&tb=1',
'listings/[^/]+/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?attachment=$matches[1]&feed=$matches[2]',
'listings/[^/]+/([^/]+)/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?attachment=$matches[1]&feed=$matches[2]',
'listings/[^/]+/([^/]+)/comment-page-([0-9]{1,})/?$' => 'index.php?attachment=$matches[1]&cpage=$matches[2]',
'listings/[^/]+/([^/]+)/embed/?$' => 'index.php?attachment=$matches[1]&embed=true',
'county/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?taxonomy=county&term=$matches[1]&feed=$matches[2]',
'county/([^/]+)/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?taxonomy=county&term=$matches[1]&feed=$matches[2]',
'county/([^/]+)/embed/?$' => 'index.php?taxonomy=county&term=$matches[1]&embed=true',
'county/([^/]+)/page/?([0-9]{1,})/?$' => 'index.php?taxonomy=county&term=$matches[1]&paged=$matches[2]',
'county/([^/]+)/?$' => 'index.php?taxonomy=county&term=$matches[1]',
'city/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?taxonomy=city&term=$matches[1]&feed=$matches[2]',
'city/([^/]+)/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?taxonomy=city&term=$matches[1]&feed=$matches[2]',
'city/([^/]+)/embed/?$' => 'index.php?taxonomy=city&term=$matches[1]&embed=true',
'city/([^/]+)/page/?([0-9]{1,})/?$' => 'index.php?taxonomy=city&term=$matches[1]&paged=$matches[2]',
'city/([^/]+)/?$' => 'index.php?taxonomy=city&term=$matches[1]',
'property-type/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?taxonomy=property-type&term=$matches[1]&feed=$matches[2]',
'property-type/([^/]+)/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?taxonomy=property-type&term=$matches[1]&feed=$matches[2]',
'property-type/([^/]+)/embed/?$' => 'index.php?taxonomy=property-type&term=$matches[1]&embed=true',
'property-type/([^/]+)/page/?([0-9]{1,})/?$' => 'index.php?taxonomy=property-type&term=$matches[1]&paged=$matches[2]',
'property-type/([^/]+)/?$' => 'index.php?taxonomy=property-type&term=$matches[1]',
'listings-for/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?offering-type=$matches[1]&feed=$matches[2]',
'listings-for/([^/]+)/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?offering-type=$matches[1]&feed=$matches[2]',
'listings-for/([^/]+)/embed/?$' => 'index.php?offering-type=$matches[1]&embed=true',
'listings-for/([^/]+)/page/?([0-9]{1,})/?$' => 'index.php?offering-type=$matches[1]&paged=$matches[2]',
'listings-for/([^/]+)/?$' => 'index.php?offering-type=$matches[1]',
'robots\\.txt$' => 'index.php?robots=1',
'.*wp-(atom|rdf|rss|rss2|feed|commentsrss2)\\.php$' => 'index.php?feed=old',
'.*wp-app\\.php(/.*)?$' => 'index.php?error=403',
'.*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]',
'embed/?$' => 'index.php?&embed=true',
'page/?([0-9]{1,})/?$' => 'index.php?&paged=$matches[1]',
'comment-page-([0-9]{1,})/?$' => 'index.php?&page_id=6&cpage=$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/embed/?$' => 'index.php?&embed=true',
'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/(.+)/embed/?$' => 'index.php?s=$matches[1]&embed=true',
'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/([^/]+)/embed/?$' => 'index.php?author_name=$matches[1]&embed=true',
'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})/embed/?$' => 'index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&embed=true',
'([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})/embed/?$' => 'index.php?year=$matches[1]&monthnum=$matches[2]&embed=true',
'([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})/embed/?$' => 'index.php?year=$matches[1]&embed=true',
'([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]',
'.?.+?/attachment/([^/]+)/embed/?$' => 'index.php?attachment=$matches[1]&embed=true',
'(.?.+?)/embed/?$' => 'index.php?pagename=$matches[1]&embed=true',
'(.?.+?)/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]',
'[^/]+/attachment/([^/]+)/embed/?$' => 'index.php?attachment=$matches[1]&embed=true',
'([^/]+)/embed/?$' => 'index.php?name=$matches[1]&embed=true',
'([^/]+)/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]',
'([^/]+)/page/?([0-9]{1,})/?$' => 'index.php?name=$matches[1]&paged=$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]',
'[^/]+/([^/]+)/embed/?$' => 'index.php?attachment=$matches[1]&embed=true',
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment