Hello. I'm having trouble putting together a Mod Rewrite rules. I would do something like this:
This is the original address:
http://www.domian.com/index.php?site_id=AAA&var1=value1&var2=value2&var3=value3...itd. [/ code]
[b] And that's different versions of changes to this address: [/ b]
A) Without the use of subdomains:
[code] has changed to this:
http://www.domian.com/AAA/index.php?var1=value1&var2=value2&var3=value3...itd.
OR for this:
http://www.domian.com/AAA/index/var1/value1/var2/value2/var3/value3...itd. [/ code]
B) The use of subdomains
[code] has changed to this:
http://www.AAA.domian.com/index.php?var1=value1&var2=value2&var3=value3...itd.
OR for this:
http://www.AAA.domian.com/index/var1/value1/var2/value2/var3/value3...itd. [/ code]
I wish I could saw all four versions, how to write such rules. With this var1 = value1 ... etc. I mean, that could be an infinite number of GET variables added. Let me add that I have on the server included Wildcrad.
Greetings,
ladovnik