Add search part of url to redirects