question about page_add bug solving with mod_rewrite enabled
Trustmaster |
|
---|---|
docs/ here is a root-level category we provide our "wonderful urls" for. The above rule provides "add" rule for 2 levels of categories nested in docs. So, normally you should provide such a rule for every level of nesting. E.g. for 2 levels of nesting in category "foo" and 3 levels of nesting in "bar" it would be:
foo/([a-z-]+)/([a-z-]+)/add$ page.php?m=add&c=foo-$1-$2 foo/([a-z-]+)/add$ page.php?m=add&c=foo-$1 bar/([a-z-]+)/([a-z-]+)/([a-z-]+/add$ page.php?m=add&c=bar-$1-$2-$3 bar/([a-z-]+)/([a-z-]+)/add$ page.php?m=add&c=bar-$1-$2 bar/([a-z-]+)/add$ page.php?m=add&c=bar-$1 May the Source be with you!
|