Hi,
I have two domains pointing to the same host, say example1.com and example2.com.
I already have a redirect:
RewriteRule ^([A-Za-z0-9-]+)/$ page.php?q=$1 [L]
to catch things like example1.com/hello-world/ => example.com/page.php?q=hello-world
Now I need 3 specific conditions to be met:
1) example1.com/special/ => example2.com/special/ [ONLY for "special"]
2) example2.com/ => example2.com/special/
3) example2.com/anything-not-special/ => example1.com/anything-not-special/
I can get this to happen, except that I want exactly what's in the right-hand column here to be displayed in the URL bar. Instead, I'm getting: example2.com/special/ => example1.com/page.php?q=special
which is not ideal for me.
Any help appreciated, thanks!