Because if the ID == 0, that’s that page’s cue to create rather than modify. Problem is, Yii takes “name?id=0” as the actual action name, and doesn’t parse the GET parameter like the server would directly.
How can I specify that one specific GET-less user-end URL should be mapped to an action with one specific GET value?
The action function has the conditional, naturally. And if I manually enter “/character/edit/name?id=0” into the address bar, it does run as expected. That’s not the problem. But I’m trying to use the URL manager to shorten/rename the URL, so that if I type in, “character/create”, with no GET, it goes to “/character/edit/name?id=0”, and parses the “?id=0” into GET just like the server normally would on its own.