Forum Discussion
VernonWells
Employee
If I understand your requirements, you want all requests to abc.com to be redirected to a single alternative URL regardless of the request-uri fragment supplied for the original request. That is, http://abc.com/place/any/path/here?and=any&query=parameters would be redirected to the exact URL http://def.com/locations. If so:
when HTTP_REQUEST {
HTTP::respond 301 Location "http://def.com/locations"
}
MQKC_254171
Mar 14, 2016Nimbostratus
Thanks. That worked perfectly. It looks like I just needed to remove the "[HTTP::uri]" from the end of the response command.