Death to WordPress!
If you use permalinks, you may lose some variables you’re trying to use in your theme.
After 10 hours of troubleshooting why this simple script didn’t work I found this. That’s reasonable, use permalinks and half way through your script all your POST and GET variables will be empty. So part of your page will work, but that exact same part somewhere else will not work.
Thanks wordpress! I wish Joomla wasn’t so slow, or horrible… and clunky. Or I’d switch!