Which function read/analyse pemalinks in WP??
-
Hi Guys,
I’m quite stumbled trying to figure out which functions / classes in WordPress pickup and analyse the URLs
There are 2 URLs type in WordPress for example
Link 1. https://www.domainname.com/?p=5
Link 2. https://www.domainname.com/clothing/jeans/black/longI figured out the file wp-included/cananical.php to analyse the link 1 and convert to Link2, then redirect and display Link 2. Its quite clear and easy to analyse the link1 based on parameter “p=5”, but how WordPress can understand the Link2??????????
Is there anyone know which class/method read/ananlyse the Link2 and let me know please.
Many thanks,
Dave
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Which function read/analyse pemalinks in WP??’ is closed to new replies.