CSparkes
Senior Member
OK need an htaccess expert to help with a url rewrite.
Need to so that the first section of a url is taken if listed in htaccess file and then adds a url info at end.
For example
/uk/REST/OF/WEBADDRESS
Would rewrite to
/REST/OF/WEBADDRESS?region=1
/us/REST/OF/WEBADDRESS
Would rewrite to
/REST/OF/WEBADDRESS?region=2
So that i can have one site being mirrored for several regions without having to take a copy of the site for all regions.
Need to so that the first section of a url is taken if listed in htaccess file and then adds a url info at end.
For example
/uk/REST/OF/WEBADDRESS
Would rewrite to
/REST/OF/WEBADDRESS?region=1
/us/REST/OF/WEBADDRESS
Would rewrite to
/REST/OF/WEBADDRESS?region=2
So that i can have one site being mirrored for several regions without having to take a copy of the site for all regions.