Does NOT Work:
RewriteRule ^(.*)/kw=(.*) start_f.php?tag=$1&redir=1&string=$2 [L,NC,QSA]
Whenever I have a % character anywhere in my url, my .htaccess redirect doesn't seem to work.
The reason I'm using the stupid var=value;var2=value2;etc. format is because I also had an issue getting THIS to work:
What I wanted to do here is simply catch the 'City' with the .htaccess redirect and just pass along the other values with QSA (Query String Attach) like so;
RewriteRule ^(.*)/\?kw=.* start_f.php?tag=$1&redir=1 [L,NC,QSA]
The reason I use the ?kw= as the cut off is because of other url formats on the site. As said, I'm trying to use QSA to pass on all the _GET values in the url so I don't need to capture whatever is after kw=
The problem is that the latter also isn't working. Am I escaping the question mark incorrectly or does .htaccess not work like I'm trying to use it for Query Strings?
I don't care which format I use as long as I can get one of them to work properly and WITH the ability to pass a url encoded string/website address as part of the data.
[edited by: jdMorgan at 1:15 pm (utc) on June 8, 2009]
[edit reason] example.com [/edit]