Welcome to WebmasterWorld Guest from 18.104.22.168
Using the following type of rule I have managed to run the site using SEO friendly URLS:
RewriteRule ^([a-zA-Z0-9\-]+)/([a-zA-Z0-9\-]+)/$ /index.php?VAR1=$1&VAR2=$2 [L]
So if someone types in www.mysite.com/foo/bar/ all is fine.
However we have just started an affiliate program and I can't seem to access the affiliate ID in a URL such as:
I'm sure that I need to make an allowance for this somewhere - though I just can't figure what or where. Can someone please shed some light on this?
Thanks for your assistance,
So all I did was type in an example URL with the?AFF=ID at the end - and was surprised that the variable wasn't available on the page (I've checked by trying to echo the variable as well as getting through get_defined_vars)
Merging [QSA] with your existing flag, use [QSA,L].