Hi chaps,
A httaccess challenge for the webmeisters....
I have a URL that looks like: example.com/foo/?parm1=xxxxx.
I want to rewrite it such that if /?parm1 is supplied it becomes example.com/foo/bah/?parm2=xxxxx
If /?parm1 is not supplied then it should remain as example.com/foo.
So the aim is, if Parm1 is supplied, to inject a folder into the path and rename Parm1 to Parm2
Bonus points for making the URL rewrite 'invisible', i.e., the user sees the original URL only
I tried Stack Overflow but the only responses I received were to correct my grammar and an instruction to RTFM.
Ta