issue #1399

search urls should redirect to 301 is something is off with then
we compare the search url with what should be and is redirected if different
fix
another fix
Merge pull request #1525 from conejoninja/1399

1399