I've the next .htaccess file:

Order deny,allow
Deny from all
Allow from XX.XXX.XXX.XXX

RewriteEngine  on
RewriteBase    /

RewriteCond    %{REQUEST_FILENAME} !-f
RewriteCond    %{REQUEST_FILENAME} !-d
RewriteRule    . /index.php

RewriteCond    %{HTTPS} !=on
RewriteRule    ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]

Which is designed to:

  • Only allow access from the IP (amounts transformed to Xs to safeguard the innocent)
  • Send any request which isn't a particular file right through to /index.php
  • Pressure https for the whole domain

So far as I can tell, it's just like an earlier project, that was of course on the different host company, but that labored like no bodies business. This time around it's producing a message saying "Opera has detected the server is redirecting the request this address in ways which will never complete.".

Anybody know what's happening &lifier what I have to change please?

Possibly your brand-new host company is applying some kind of setup (just like a reverse proxy) that's stopping the HTTPS variable from being set. You might have the ability to use another thing (like SERVER_PORT, or possibly a header set through the remote proxy, presuming there's one) to find out when the request is HTTPS or HTTP.