Typecho路由速查

将Typecho的默认系统路由打出来,方便调试代码是速查~~

    [index] => Array
        (
            [url] => /
            [widget] => Widget_Archive
            [action] => render
            [regx] => |^[/]?$|
            [format] => /
            [params] => Array
                (
                )

        )

    [archive] => Array
        (
            [url] => /blog/
            [widget] => Widget_Archive
            [action] => render
            [regx] => |^/blog[/]?$|
            [format] => /blog/
            [params] => Array
                (
                )

        )

    [do] => Array
        (
            [url] => /action/[action:alpha]
            [widget] => Widget_Do
            [action] => action
            [regx] => |^/action/([_0-9a-zA-Z-]+)[/]?$|
            [format] => /action/%s
            [params] => Array
                (
                    [0] => action
                )

        )

    [post] => Array
        (
            [url] => /archives/[cid:digital]/
            [widget] => Widget_Archive
            [action] => render
            [regx] => |^/archives/([0-9]+)[/]?$|
            [format] => /archives/%s/
            [params] => Array
                (
                    [0] => cid
                )

        )

    [attachment] => Array
        (
            [url] => /attachment/[cid:digital]/
            [widget] => Widget_Archive
            [action] => render
            [regx] => |^/attachment/([0-9]+)[/]?$|
            [format] => /attachment/%s/
            [params] => Array
                (
                    [0] => cid
                )

        )

    [category] => Array
        (
            [url] => /category/[slug]/
            [widget] => Widget_Archive
            [action] => render
            [regx] => |^/category/([^/]+)[/]?$|
            [format] => /category/%s/
            [params] => Array
                (
                    [0] => slug
                )

        )

    [tag] => Array
        (
            [url] => /tag/[slug]/
            [widget] => Widget_Archive
            [action] => render
            [regx] => |^/tag/([^/]+)[/]?$|
            [format] => /tag/%s/
            [params] => Array
                (
                    [0] => slug
                )

        )

    [author] => Array
        (
            [url] => /author/[uid:digital]/
            [widget] => Widget_Archive
            [action] => render
            [regx] => |^/author/([0-9]+)[/]?$|
            [format] => /author/%s/
            [params] => Array
                (
                    [0] => uid
                )

        )

    [search] => Array
        (
            [url] => /search/[keywords]/
            [widget] => Widget_Archive
            [action] => render
            [regx] => |^/search/([^/]+)[/]?$|
            [format] => /search/%s/
            [params] => Array
                (
                    [0] => keywords
                )

        )

    [index_page] => Array
        (
            [url] => /page/[page:digital]/
            [widget] => Widget_Archive
            [action] => render
            [regx] => |^/page/([0-9]+)[/]?$|
            [format] => /page/%s/
            [params] => Array
                (
                    [0] => page
                )

        )

    [archive_page] => Array
        (
            [url] => /blog/page/[page:digital]/
            [widget] => Widget_Archive
            [action] => render
            [regx] => |^/blog/page/([0-9]+)[/]?$|
            [format] => /blog/page/%s/
            [params] => Array
                (
                    [0] => page
                )

        )

    [category_page] => Array
        (
            [url] => /category/[slug]/[page:digital]/
            [widget] => Widget_Archive
            [action] => render
            [regx] => |^/category/([^/]+)/([0-9]+)[/]?$|
            [format] => /category/%s/%s/
            [params] => Array
                (
                    [0] => slug
                    [1] => page
                )

        )

    [tag_page] => Array
        (
            [url] => /tag/[slug]/[page:digital]/
            [widget] => Widget_Archive
            [action] => render
            [regx] => |^/tag/([^/]+)/([0-9]+)[/]?$|
            [format] => /tag/%s/%s/
            [params] => Array
                (
                    [0] => slug
                    [1] => page
                )

        )

    [author_page] => Array
        (
            [url] => /author/[uid:digital]/[page:digital]/
            [widget] => Widget_Archive
            [action] => render
            [regx] => |^/author/([0-9]+)/([0-9]+)[/]?$|
            [format] => /author/%s/%s/
            [params] => Array
                (
                    [0] => uid
                    [1] => page
                )

        )

    [search_page] => Array
        (
            [url] => /search/[keywords]/[page:digital]/
            [widget] => Widget_Archive
            [action] => render
            [regx] => |^/search/([^/]+)/([0-9]+)[/]?$|
            [format] => /search/%s/%s/
            [params] => Array
                (
                    [0] => keywords
                    [1] => page
                )

        )

    [archive_year] => Array
        (
            [url] => /[year:digital:4]/
            [widget] => Widget_Archive
            [action] => render
            [regx] => |^/([0-9]{4})[/]?$|
            [format] => /%s/
            [params] => Array
                (
                    [0] => year
                )

        )

    [archive_month] => Array
        (
            [url] => /[year:digital:4]/[month:digital:2]/
            [widget] => Widget_Archive
            [action] => render
            [regx] => |^/([0-9]{4})/([0-9]{2})[/]?$|
            [format] => /%s/%s/
            [params] => Array
                (
                    [0] => year
                    [1] => month
                )

        )

    [archive_day] => Array
        (
            [url] => /[year:digital:4]/[month:digital:2]/[day:digital:2]/
            [widget] => Widget_Archive
            [action] => render
            [regx] => |^/([0-9]{4})/([0-9]{2})/([0-9]{2})[/]?$|
            [format] => /%s/%s/%s/
            [params] => Array
                (
                    [0] => year
                    [1] => month
                    [2] => day
                )

        )

    [archive_year_page] => Array
        (
            [url] => /[year:digital:4]/page/[page:digital]/
            [widget] => Widget_Archive
            [action] => render
            [regx] => |^/([0-9]{4})/page/([0-9]+)[/]?$|
            [format] => /%s/page/%s/
            [params] => Array
                (
                    [0] => year
                    [1] => page
                )

        )

    [archive_month_page] => Array
        (
            [url] => /[year:digital:4]/[month:digital:2]/page/[page:digital]/
            [widget] => Widget_Archive
            [action] => render
            [regx] => |^/([0-9]{4})/([0-9]{2})/page/([0-9]+)[/]?$|
            [format] => /%s/%s/page/%s/
            [params] => Array
                (
                    [0] => year
                    [1] => month
                    [2] => page
                )

        )

    [archive_day_page] => Array
        (
            [url] => /[year:digital:4]/[month:digital:2]/[day:digital:2]/page/[page:digital]/
            [widget] => Widget_Archive
            [action] => render
            [regx] => |^/([0-9]{4})/([0-9]{2})/([0-9]{2})/page/([0-9]+)[/]?$|
            [format] => /%s/%s/%s/page/%s/
            [params] => Array
                (
                    [0] => year
                    [1] => month
                    [2] => day
                    [3] => page
                )

        )

    [comment_page] => Array
        (
            [url] => [permalink:string]/comment-page-[commentPage:digital]
            [widget] => Widget_Archive
            [action] => render
            [regx] => |^(.+)/comment\-page\-([0-9]+)[/]?$|
            [format] => %s/comment-page-%s
            [params] => Array
                (
                    [0] => permalink
                    [1] => commentPage
                )

        )

    [feed] => Array
        (
            [url] => /feed[feed:string:0]
            [widget] => Widget_Archive
            [action] => feed
            [regx] => |^/feed(.*)[/]?$|
            [format] => /feed%s
            [params] => Array
                (
                    [0] => feed
                )

        )

    [feedback] => Array
        (
            [url] => [permalink:string]/[type:alpha]
            [widget] => Widget_Feedback
            [action] => action
            [regx] => |^(.+)/([_0-9a-zA-Z-]+)[/]?$|
            [format] => %s/%s
            [params] => Array
                (
                    [0] => permalink
                    [1] => type
                )

        )

    [page] => Array
        (
            [url] => /[slug].html
            [widget] => Widget_Archive
            [action] => render
            [regx] => |^/([^/]+)\.html[/]?$|
            [format] => /%s.html
            [params] => Array
                (
                    [0] => slug
                )

        )

版权声明:未经书面授权禁止转载、摘编、复制或建立镜像。对既成事实本站将保留所有的权利。