Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Redirect with QUERY_STRING

Status
Not open for further replies.

johngiggs

Technical User
Oct 30, 2002
492
US
I have done many redirects and some with 1 for 1 using query strings, but not a global one using query strings.

I have a URL in the format:


That needs to redirect to


I've been told that the query string is not always query=, so that can be another query string, not just query=something.

A guesstimate of what it should look like is below.

RewriteCond %{REQUEST_URL} SearchResultsA/*
RewriteCond %{QUERY_STRING} *
RewriteRule ^(.*)
Any help would be greatly appreciated.

Thanks,

John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top