Revert "including query string to redirects"

This reverts commit d990694ed1bee15290bee4748accf0f28fc9ef08.