WP-CLI - List Rewrite Rules

wp rewrite list : ' +----------------------------------------------------------+----------------------------------------------------------+----------+ | match | query | source | +----------------------------------------------------------+----------------------------------------------------------+----------+ | ^wp-json/?$ | index.php?rest_route=/ | other | | ^wp-json/(.*)? | index.php?rest_route=/$matches[1] | other | | robots\.txt$ | index.php?robots=1 | other | | .*wp-(atom|rdf|rss|rss2|feed|commentsrss2)\.php$ | index.php?feed=old | other | | .*wp-app\.php(/.*)?$ | index.php?error=403 | other | | .*wp-register.php$ | index.php?register=true | other | | feed/(feed|rdf|rss|rss2|atom)/?$ | index.php?&feed=$matches[1] | root | | (feed|rdf|rss|rss2|atom)/?$ | index.php?&feed=$matches[1] | root | | page/?([0-9]{1,})/?$ | index.php?&paged=$matches[1] | root | | comments/feed/(feed|rdf|rss|rss2|atom)/?$ | index.php?&feed=$matches[1]&withcomments=1 | comments | | comments/(feed|rdf|rss|rss2|atom)/?$ | index.php?&feed=$matches[1]&withcomments=1 | comments | | search/(.+)/feed/(feed|rdf|rss|rss2|atom)/?$ | index.php?s=$matches[1]&feed=$matches[2] | search | | search/(.+)/(feed|rdf|rss|rss2|atom)/?$ | index.php?s=$matches[1]&feed=$matches[2] | search | | search/(.+)/page/?([0-9]{1,})/?$ | index.php?s=$matches[1]&paged=$matches[2] | search | | search/(.+)/?$ | index.php?s=$matches[1] | search | | author/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$ | index.php?author_name=$matches[1]&feed=$matches[2] | author | | author/([^/]+)/(feed|rdf|rss|rss2|atom)/?$ | index.php?author_name=$matches[1]&feed=$matches[2] | author | | author/([^/]+)/page/?([0-9]{1,})/?$ | index.php?author_name=$matches[1]&paged=$matches[2] | author | | author/([^/]+)/?$ | index.php?author_name=$matches[1] | author | | ([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/feed/(feed|rdf|rss| | index.php?year=$matches[1]&monthnum=$matches[2]&day=$mat | date | | rss2|atom)/?$ | ches[3]&feed=$matches[4] | | | ([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/(feed|rdf|rss|rss2| | index.php?year=$matches[1]&monthnum=$matches[2]&day=$mat | date | | atom)/?$ | ches[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=$mat | date | | $ | ches[3]&paged=$matches[4] | | | ([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/?$ | index.php?year=$matches[1]&monthnum=$matches[2]&day=$mat | date | | | ches[3] | | | ([0-9]{4})/([0-9]{1,2})/feed/(feed|rdf|rss|rss2|atom)/?$ | index.php?year=$matches[1]&monthnum=$matches[2]&feed=$ma | date | | | tches[3] | | | ([0-9]{4})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$ | index.php?year=$matches[1]&monthnum=$matches[2]&feed=$ma | date | | | tches[3] | | | ([0-9]{4})/([0-9]{1,2})/page/?([0-9]{1,})/?$ | index.php?year=$matches[1]&monthnum=$matches[2]&paged=$m | date | | | atches[3] | | | ([0-9]{4})/([0-9]{1,2})/?$ | index.php?year=$matches[1]&monthnum=$matches[2] | date | | ([0-9]{4})/feed/(feed|rdf|rss|rss2|atom)/?$ | index.php?year=$matches[1]&feed=$matches[2] | date | | ([0-9]{4})/(feed|rdf|rss|rss2|atom)/?$ | index.php?year=$matches[1]&feed=$matches[2] | date | | ([0-9]{4})/page/?([0-9]{1,})/?$ | index.php?year=$matches[1]&paged=$matches[2] | date | | ([0-9]{4})/?$ | index.php?year=$matches[1] | date | | [0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/attachment/([^/]+)/ | index.php?attachment=$matches[1] | post | | ?$ | | | | [0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/attachment/([^/]+)/ | index.php?attachment=$matches[1]&tb=1 | post | | trackback/?$ | | | | [0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/attachment/([^/]+)/ | index.php?attachment=$matches[1]&feed=$matches[2] | post | | feed/(feed|rdf|rss|rss2|atom)/?$ | | | | [0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/attachment/([^/]+)/ | index.php?attachment=$matches[1]&feed=$matches[2] | post | | (feed|rdf|rss|rss2|atom)/?$ | | | | [0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/attachment/([^/]+)/ | index.php?attachment=$matches[1]&cpage=$matches[2] | post | | comment-page-([0-9]{1,})/?$ | | | | [0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/attachment/([^/]+)/ | index.php?attachment=$matches[1]&embed=true | post | | embed/?$ | | | | ([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([^/]+)/embed/?$ | index.php?year=$matches[1]&monthnum=$matches[2]&day=$mat | post | | | ches[3]&name=$matches[4]&embed=true | | | ([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([^/]+)/trackback/? | index.php?year=$matches[1]&monthnum=$matches[2]&day=$mat | post | | $ | ches[3]&name=$matches[4]&tb=1 | | | ([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([^/]+)/feed/(feed| | index.php?year=$matches[1]&monthnum=$matches[2]&day=$mat | post | | rdf|rss|rss2|atom)/?$ | ches[3]&name=$matches[4]&feed=$matches[5] | | | ([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([^/]+)/(feed|rdf|r | index.php?year=$matches[1]&monthnum=$matches[2]&day=$mat | post | | ss|rss2|atom)/?$ | ches[3]&name=$matches[4]&feed=$matches[5] | | | ([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([^/]+)/page/?([0-9 | index.php?year=$matches[1]&monthnum=$matches[2]&day=$mat | post | | ]{1,})/?$ | ches[3]&name=$matches[4]&paged=$matches[5] | | | ([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([^/]+)/comment-pag | index.php?year=$matches[1]&monthnum=$matches[2]&day=$mat | post | | e-([0-9]{1,})/?$ | ches[3]&name=$matches[4]&cpage=$matches[5] | | | ([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([^/]+)(?:/([0-9]+) | index.php?year=$matches[1]&monthnum=$matches[2]&day=$mat | post | | )?/?$ | ches[3]&name=$matches[4]&page=$matches[5] | | | [0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/([^/]+)/?$ | index.php?attachment=$matches[1] | post | | [0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/([^/]+)/trackback/? | index.php?attachment=$matches[1]&tb=1 | post | | $ | | | | [0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/([^/]+)/feed/(feed| | index.php?attachment=$matches[1]&feed=$matches[2] | post | | rdf|rss|rss2|atom)/?$ | | | | [0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/([^/]+)/(feed|rdf|r | index.php?attachment=$matches[1]&feed=$matches[2] | post | | ss|rss2|atom)/?$ | | | | [0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/([^/]+)/comment-pag | index.php?attachment=$matches[1]&cpage=$matches[2] | post | | e-([0-9]{1,})/?$ | | | | [0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/([^/]+)/embed/?$ | index.php?attachment=$matches[1]&embed=true | post | | ([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/comment-page-([0-9] | index.php?year=$matches[1]&monthnum=$matches[2]&day=$mat | post | | {1,})/?$ | ches[3]&cpage=$matches[4] | | | ([0-9]{4})/([0-9]{1,2})/comment-page-([0-9]{1,})/?$ | index.php?year=$matches[1]&monthnum=$matches[2]&cpage=$m | post | | | atches[3] | | | ([0-9]{4})/comment-page-([0-9]{1,})/?$ | index.php?year=$matches[1]&cpage=$matches[2] | post | | .?.+?/attachment/([^/]+)/?$ | index.php?attachment=$matches[1] | page | | .?.+?/attachment/([^/]+)/trackback/?$ | index.php?attachment=$matches[1]&tb=1 | page | | .?.+?/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/? | index.php?attachment=$matches[1]&feed=$matches[2] | page | | $ | | | | .?.+?/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$ | index.php?attachment=$matches[1]&feed=$matches[2] | page | | .?.+?/attachment/([^/]+)/comment-page-([0-9]{1,})/?$ | index.php?attachment=$matches[1]&cpage=$matches[2] | page | | .?.+?/attachment/([^/]+)/embed/?$ | index.php?attachment=$matches[1]&embed=true | page | | (.?.+?)/embed/?$ | index.php?pagename=$matches[1]&embed=true | page | | (.?.+?)/trackback/?$ | index.php?pagename=$matches[1]&tb=1 | page | | (.?.+?)/feed/(feed|rdf|rss|rss2|atom)/?$ | index.php?pagename=$matches[1]&feed=$matches[2] | page | | (.?.+?)/(feed|rdf|rss|rss2|atom)/?$ | index.php?pagename=$matches[1]&feed=$matches[2] | page | | (.?.+?)/page/?([0-9]{1,})/?$ | index.php?pagename=$matches[1]&paged=$matches[2] | page | | (.?.+?)/comment-page-([0-9]{1,})/?$ | index.php?pagename=$matches[1]&cpage=$matches[2] | page | | (.?.+?)(?:/([0-9]+))?/?$ | index.php?pagename=$matches[1]&page=$matches[2] | page | +----------------------------------------------------------+----------------------------------------------------------+----------+ '

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.