Title: WordPress files execution order
Last modified: August 19, 2016

---

# WordPress files execution order

 *  [torvad](https://wordpress.org/support/users/torvad/)
 * (@torvad)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/wordpress-files-execution-order/)
 * When WordPress is executed the files are loaded in the following order wordpress.
   php -> wp-blog-header.php ->wp-load.php -> wp-config.php -> wp-settings.php
 * If the request is to display a single post, which file is execute from wp-settings.
   php to fetch the post from the database?

The topic ‘WordPress files execution order’ is closed to new replies.

## Tags

 * [load order](https://wordpress.org/support/topic-tag/load-order/)
 * [wp-settings.php](https://wordpress.org/support/topic-tag/wp-settings-php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [torvad](https://wordpress.org/support/users/torvad/)
 * Last activity: [15 years, 8 months ago](https://wordpress.org/support/topic/wordpress-files-execution-order/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
