Thread Starter
allwi
(@allwi)
Hi clubirv,
as I already suspected, it was a stupid error 🙂
When have a close look at my rewrite rules above, you see that I have index.php?p=XYZ
Hoever the codex says (and what I did) to create a page, so I have to use index.php?page_id=XYZ&.
Not sure exactly what happened in wordpress but it seems that the index.php?p=… URL gets rewritten again in which the query params are lost. I found this out with help of the plugin Debug Bar (and the Extender). I highly recommend these plugins for your dev environment.
If you have a lookm at your code, you have the same style of rule … however you seem to use real post_ids so that I’m not sure if it’s the same reason.
Cheers