Hi All,

i am desperatly looking for some help with mod rewrites,

i have set up my site to show "tidy urls" which are virtual urls they dont exist, i want to now redirect these urls to the actual url which is valid if that makes sence?

i have a db of 100,000 plus products all using one page to send data in the url to pullout the specific data to show

so i have a real page like so
Code:
http://www.my-website.com/results.php?category=dvd&product=The Hurt Locker
now i have set it up so when the user clicks on this products link it goes to
Code:
http://www.my-website.com/dvd/the_hurt_locker
which does not exist

now as i understand it i have to ue mod rewrite to point the second url to the first? is that right?

so i have found this piece of code which i have tried to modify
Code:
 RewriteEngine On  
   
 RewriteCond %{SCRIPT_FILENAME} !-d  
 RewriteCond %{SCRIPT_FILENAME} !-f  
   
 RewriteRule ^users/(\d+)*$ ./profile.php?id=$1  
 RewriteRule ^threads/(\d+)*$ ./results.php?id=$1  
   
 RewriteRule ^search/(.*)$ ./search.php?query=$1
but i dont really unertand how it all works and am really struggling to get anywhere with this

any help is apprecated

p.s the categorys in the urls are not always dvd