redirect /search/foo to /search?q=foo

yep