Solved - it was this rewrite in the htaccess file:

RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

The host had changed the htaccess in the includes folder file saying it was causing a slow down, and this "generic" code was lying in root so caused the problems. Now fixed! :)