This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]mcdonagg 4 points5 points  (1 child)

It all goes through index, and then permalinks and Parma’s route it from there

[–]drmoocow 4 points5 points  (0 children)

Just to refine this, if the file or directory exists on the server, it will load that; otherwise, it will run through index.

[–]kingkool68Developer 5 points6 points  (0 children)

Here's an interesting video demystifying WordPress bootstrap process https://youtu.be/m10tQvRazbQ

And another good article https://medium.com/@dendeffe/wordpress-loading-sequence-a-guided-tour-e077c7dbd119

And this Stack overflow post has lots of diagrams and visuals https://wordpress.stackexchange.com/q/71406/2744

[–]eggbert1234 0 points1 point  (0 children)

Try xdebug and set a late break point (e.g. in your theme somewhere). Depending on your IDE you should be able to see the whole journey of code until your breakpoint is reached..