spewn
Programmer
- May 7, 2001
- 1,034
okay...
let's say i'm making a snack site. on this site there are different categories, with multiple subcategories.
donuts
-powdered
-cream
-sugar
-chocolate
cookies
-chocolate
-peanut butter
-oatmeal raisin
candy
-hard
-gum
-lollipops
-jawbreakers
what i'm trying to accomplish is to route depending on cat and sub cat...such as:
and the way i'm sending it is:
i've gotten this far:
which works, but that's as far as i've gotten.
any help/ideas?
thanks!
- g
let's say i'm making a snack site. on this site there are different categories, with multiple subcategories.
donuts
-powdered
-cream
-sugar
-chocolate
cookies
-chocolate
-peanut butter
-oatmeal raisin
candy
-hard
-gum
-lollipops
-jawbreakers
what i'm trying to accomplish is to route depending on cat and sub cat...such as:
Code:
[URL unfurl="true"]http://snacksite.com/index.pl?a=category&b=subcategory&c=snackitem[/URL]
and the way i'm sending it is:
Code:
[URL unfurl="true"]http://snacksite.com/category/subcategory/snackitem[/URL]
i've gotten this far:
Code:
RewriteRule ^donuts /index.pl?a=donuts
which works, but that's as far as i've gotten.
any help/ideas?
thanks!
- g