|
#How burstcms handles URL structures IntroductionThis page shows haw burstcms handle urls. Apache mod rewrite is recommended. DetailsSample url http://www.example.com/module/variable1/variable2/variable3/... Also POST method may be used. "module" is name of the module that needs to be loaded, example it could be "blog", "forum", "links" VariablesModule gets variables as follow: $burst_variable['0'];
$burst_variable['1'];
$burst_variable['2'];
// and so on... AliasIf someone just wants to have blog, and don't want "/blog/" to url, or want that it is "articles", it is possible via alias. example alias: /community -> loads module -> "forum"
|
Hmm. The variable structure is a good idea, but I think that a key->value pair might work better. The key->value thing would work like:
http://www.example.com/module/variable1_key/variable1_value/variable2_key/variable2_value/
I think that the key->value system would work better because then the below URL would work:
http://www.example.com/module/variable2_key/variable2_value/
and the system wouldn't think that variable2 is the same thing as variable1 (because sometimes, a person just wants variable1 to go to the default).