I have the following url:
www.mysite.com/venues/one/two/three
which re-writes to:
www.mysite.com/venues.php?id1=one&id2=two&id3=three
using the following rule:
- Code: Select all
RewriteRule ^venues/(.*)/(.*)/(.*)$ venues.php?id1=$1&id2=$2&id3=$3 [L]
how ever, when i add a forward slash to the end of the url, the first two GET vars are concatenated, eg
www.mysite.com/venues/one/two/three/
re-writes to:
www.mysite.com/venues.php?id1=one/two&id2=three&id3=
Little stuck, how would i fix this?
Thanks