Hi everybody, I'm starting to get frustrated here.. I'm trying to get to know 'mod_rewrite' a little better, so I wanted to make a little excercise...
What I want is the following ('product1' is the variable)
==>> product.php?name=product1
I got this part working, but only with numbers, to get:
==>> product.php?naam=12
I use the following Rule:
RewriteRule ([0-9]+) product.php?name=$1
and that works fine. The moment I'm trying to make it work with characters I get errors.. somebody willing to help me a little? I cannot explain how long I've been looking for this.. :/ (I want that every charachter after de '/' should be put behind 'name=')
I hope my problem is a little 'clear', sorry for the realy bad english. (but at least I trying, right?)
What I want is the following ('product1' is the variable)
==>> product.php?name=product1
I got this part working, but only with numbers, to get:
==>> product.php?naam=12
I use the following Rule:
RewriteRule ([0-9]+) product.php?name=$1
and that works fine. The moment I'm trying to make it work with characters I get errors.. somebody willing to help me a little? I cannot explain how long I've been looking for this.. :/ (I want that every charachter after de '/' should be put behind 'name=')
I hope my problem is a little 'clear', sorry for the realy bad english. (but at least I trying, right?)