I have a Yii-1 app that runs in a subdomain, say app.example.com. My WordPress site uses the top-level domain (example.com). When a user comes to the wordpress site, I\'d li