Results 1 to 7 of 7
Sep 21, 2013, 04:35 #1
Dealing with multiple $_GET variables with mod_rewrite
Good afternoon all,
I am having a problem with passing 2 values through my URL and I think it's something to do with my .htaccess file.
When any internal link on my site is clicked, I pass a $_GET variable and depending on that value, display the relative page.
I have an 'Offers' page containing 3 offers. There is a link for each offer and the idea is to populate my textarea on my contact page with the value of the offer, should they be linked to my contact page via the Offers page.
Trouble is, my .htaccess file I believe only deals with the instance of 1 $_GET value being passed, but anymore and it doesn't work.
My is here:
RewriteEngine on RewriteBase / RewriteRule ^/?([a-zA-Z_]+)$ index.php?page=$1 [L]
The website link is here: http://www.tspv-websites.co.uk/Offer