Given an URL like the following for wordpress
What php files in wordpress is handling the routing?
Given an URL like the following for wordpress
What php files in wordpress is handling the routing?
The parse_request method in the WP class parses the URL with the rules generated by the WP_Rewrite class. This process converts the request into a set of query variables that the WP class can then use to generate the main query.
index.php requires wp-blog-header.php, which requires wp-load.php then calls wp() function, which kicks off the process. are you just trying to learn how things work, or is there a more specific goal in this question?
index.php. open that file and follow the includes and you'll see the whole process.