How permalinks and archive work
I’m trying to set up a link structure like the one wordpress has for archives and permalinks and I’d like some help understanding it.
I noticed when playing with my .htaccess file that it doesn’t hold the rules for rewriting a URI like /2006/07/ to some archive page, it’s all handled internally in index.php. How does index.php get the information about what page it should display from the URI? Is it all just looking at substrings of PHP_SELF? I saw a few instances of this in the code but haven’t really figured it all out yet.
- The topic ‘How permalinks and archive work’ is closed to new replies.