I added an HTTP meta refresh to my site like this:
<meta http-equiv="refresh" content="0;url=http://mysite.com">
but it seems that the browser keeps looping (refreshing) in older Firefox browsers, while in the new version (30.0) it doesn't.
Webmasters Stack Exchange is a question and answer site for pro webmasters. It only takes a minute to sign up.Sign up to join this community
Looping is what I would expect. Likely, the
HTTPS versions of your page are served from the same document root. This means the same content is served to the visitor regardless of the HTTP protocol.
As a result, when someone visits
https://mysite.com they are redirected to
http://mysite.com which then redirects them again to
http://mysite.com. This creates the loop.
meta-refresh there is no way to distinguish between
What you want to do is use
mod_rewrite as I documented here