Forum Moderators: phranque
# Require HTTP (not HTTPS)
RewriteCond %{SERVER_PORT} !=443
# Require specific requested hostname (non-FQDN format and no port number appended)
RewriteCond %{HTTP_HOST} ^my-great-site\.com$
# Require specific query string
RewriteCond %{QUERY_STRING} ^size=small&color=celadon&texture=fuzzy$
# If URL-path and all RewriteConds match, then do a redirect to replace the discontinued color
RewriteRule ^widgets\.html$ http://my-great-site.com/widgets.html?size=small&color=green&texture=fuzzy [R=301,L]