Root Files

Entry point files in the WordPress root directory.

Source: WordPress installation root

Bootstrap

FileDescription
index.php.mdFront controller entry point
wp-load.php.mdEnvironment loader
wp-blog-header.php.mdTemplate loader
wp-settings.php.mdCore initialization
wp-config.php.mdSite configuration
wp-config-sample.php.mdConfig template

Authentication

FileDescription
wp-login.php.mdLogin/logout handling
wp-signup.php.mdMultisite signup
wp-activate.php.mdAccount activation

Endpoints

FileDescription
wp-cron.php.mdCron execution endpoint
wp-mail.php.mdPost-by-email handler
wp-trackback.php.mdTrackback handler
wp-comments-post.php.mdComment submission
xmlrpc.php.mdXML-RPC endpoint
wp-links-opml.php.mdBlogroll export

Request Flow

index.php
    └── wp-blog-header.php
            ├── wp-load.php
            │       └── wp-config.php
            │               └── wp-settings.php
            └── template-loader.php