How WP requests posts IDs while permalinks are ON?
-
Hello,
I need to create a plugin and this really has to work with the permalinks on. Anyways, while on the default “ugly” URLs, the method is to $_GET posts and pages IDs but (sorry if this is a stupid question) how are the pages, categories and posts IDs requested when the permalinks are ON?
If you try to display that with print_r($_REQUEST) nothing is showing but the pages and posts are working?
I am trying to build a custom permalink formats in order to bring in extra variables into the equation.
Thank you for your time and answers!
Best regards
Remus.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How WP requests posts IDs while permalinks are ON?’ is closed to new replies.