Please, advise. Any ideas how to do this server-side redirect? * On 2008:06:17:00:11:14-0500 I, Mike Schleif <mds@xxxxxxxxxxx>, scribed: > I want the URL's similar to the following: > > http://domain.tld > http://www.domain.tld > http://domain.tld/ > http://domain.tld/fjlxasdfja > > to be redirected to the following URL: > > http://Other_domain.tld/?rid=48830 > > > I have tried -- and failed -- with following: > > RedirectMatch ^/$ http://Other_domain.tld/?rid=48830 > > RewriteCond %{QUERY_STRING} ^(rid=48830)$ > RewriteRule ^/$ http://www.Other_domain.tld/$1? > > > NOTE[1]: There is NO query_string in original URL. > > NOTE[2]: I have NOT found a way to escape the "?" in the destination > URL. > > NOTE[3]: The result is always either "?" replaced with "%" escapes; or, > NO query_string at all. > > > What am I missing? -- Best Regards, Mike Schleif mds resource 877.596.8237 - what will you do with 1 Million website visitors? <http://millionsoffreevisitors.com> --
Attachment:
signature.asc
Description: Digital signature