Hi, I am trying to use .htaccess and rewrite engine to do something. I looked throughout google and come up empty. Basically my new site coming out soon, getfromyoutube.com, is a downloader for youtube videos, and as will kissyoutube.com where you can simply just put the word, kiss, infront of the video url to download, i wanna be able to do the same, but users put getfrom infront of the url I have hit a snag, i got all code working so it will work, but now i wanna be able to redirect all requests in form of /watch?v=something to redirect to /index.php?v=something but everytime i try it wont keep whats after the v=, adn just shows up as v= Is this possible and can someone help me on how to do this. Thanks
Options FollowSymLinks RewriteEngine On RewriteCond %{QUERY_STRING} v=(.+) RewriteRule ^watch$ /index.php?v=%1 [L,NC]
RewriteCond %{QUERY_STRING} ^v= RewriteRule ^watch$ /index.php [QSA,L] Code (markup): (Oops, had this page open for awhile and didn't notice someone posted )