Hi All,
Although I realize this is edge-to-off-topic, I hope somebody can give me a hand here.
I am tranforming my existing personal website, and am trying to create search-engine friendly URLs. With this, I have ventured in new terrain, of Mod rewrite..
So I am going from this:
http://www.domain.com/links/index.php?keys=test_my_string
to this:
http://www.domain.com/links/index/keys/test_my_string/
Now, I am using a modrewite rule like:
Options +FollowSymLinks
RewriteEngine on
RewriteRule index/(.)/(.)/$ /links/index.php?$1=$2
To create this effect.
How would I go about this, if I did not know beforehand how many variables would be passed to the page? I mean: I am using nested categories, which can result in 1 to 100 (Theoretically) categories to be passed.. Is there a repetition flag, or a looping?
It would be great if somebody could show me howto & explain what the individual steps do..
THanks so much!
J.