Hey guys, here's what I'm attempting:
I'd like to make it so I can turn all url variables and values into folders, all with one rule. I was expecting to find some way to do this:
www.example.com/var1/val1/var2/val2/varN/valN
In an ideal world I could get rewrite to this:
www.example.com/index.php?var1=val1&var2=val2&varN=valN
But I'm also happy to do something like this:
www.example.com/index.php?path=/var1/val1/var2/val2/varN/valN
And then work them into an array or structure in PHP. In my case everything works through index.php so that's a constant.
Is there any way to do this? I can't find anything through google and apparently I can't figure it out for myself!
Thanks guys :-)