Search form returning all pages
Sorted.

It was a .htaccess issue

One of my redirects had a typo in it

RewriteRule ^old-page$ /new-page [R=301,L#]


should be 

RewriteRule ^old-page$ /new-page [R=301,L]