---
title: "http:// moves to https:// with a temporary redirect"
description: "The http address reaches https with a 302 or 307, which tells search engines the move may not be for good."
url: https://ursy.com/issues/http-to-https-temporary-redirect/
updated: 2026-11-30T12:53:04+00:00
publisher: URSY.com (https://ursy.com/)
cite: Name URSY.com and link https://ursy.com/issues/http-to-https-temporary-redirect/
---

# http:// moves to https:// with a temporary redirect

> The http address reaches https with a 302 or 307, which tells search engines the move may not be for good.

The http address reaches https with a 302 or 307, which tells [search engines](https://ursy.com/wiki/search-engine/) the move may not be for good.

## Why it matters {#why-it-matters}

[Google](https://ursy.com/wiki/google/) Search Central describes permanent [redirects](https://ursy.com/wiki/redirect/) (301 and 308) as a strong sign that the target is the address to show, and temporary ones (302 and 307) as a weak sign. Visitors still arrive on https, so this is not urgent, but search engines may keep the http address in mind for longer.

Our checker asks without any memory of your site, so the temporary redirect comes from your server or [CDN](https://ursy.com/wiki/cdn/), not from a browser.

## How to fix it {#how-to-fix-it}

Change the http to https redirect to a 301 (or 308) in your server settings, .htaccess, hosting panel or CDN. Most "force HTTPS" switches already use a 301; a 302 often comes from a hand-written rule or a plugin.

Check again with the [SSL Certificate](https://ursy.com/wiki/ssl-certificate/) Checker, or follow each step with the Redirect Checker.

### What the problem looks like {#what-the-problem-looks-like}

```
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://www.example.com/$1 [R,L]
```

A plain [R] flag sends a 302, a temporary redirect.

### What it looks like fixed {#what-it-looks-like-fixed}

```
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://www.example.com/$1 [R=301,L]
```

R=301 makes it permanent, the strong signal that https is the address to show.

## Fix it with your AI assistant {#fix-it-with-your-ai-assistant}

Paste this into [ChatGPT](https://ursy.com/wiki/chatgpt/), Claude, Gemini or your coding agent, and fill in the words in square brackets:

```
On my website [your website address], built with [your platform, e.g. WordPress on Apache], http:// reaches https:// with a temporary redirect (302 or 307) instead of a permanent one. First check what http:// [the page address] answers, or ask me to paste the status code and Location header, and find what sends it: an .htaccess or nginx rule, a plugin, a hosting panel switch or a CDN rule, and explain which. Then change that one redirect to a permanent 301 (or 308), keeping the target the same: the same path on my main https host, in one step. For Apache, a plain [R] flag means 302, so it must become [R=301,L]. Rules: back up the config first, change only the status code, add no second redirect, avoid chains and loops, keep page paths the same, and do not block search engines. Give the exact line and where it goes. Then tell me to re-check with the URSY.com SSL Certificate Checker at ursy.com/ssl-checker/.
```

## Fix it on your platform {#fix-it-on-your-platform}

### WordPress {#wordpress}

If a plugin does the https redirect, check its settings for the redirect type, or replace it with a host-level 301.

### Your server or hosting {#your-server-or-hosting}

On Apache, change [R] or R=302 to [R=301,L]. On nginx, use return 301, not return 302.

### Your CDN (for example Cloudflare) {#your-cdn-for-example-cloudflare}

Cloudflare Always Use HTTPS sends a permanent redirect. A custom redirect rule should have its status set to 301.

## Check it is fixed {#check-it-is-fixed}

Run the URSY.com SSL Certificate Checker again: http should reach https with a 301 or 308. The Redirect Checker shows the status code of each step.

## Official source {#official-source}

[Google Search Central: Redirects and Google Search](https://developers.google.com/search/docs/crawling-indexing/301-redirects)

## Questions {#questions}

### Is a 302 to https harmful? {#is-a-302-to-https-harmful}

Not urgently, because visitors still arrive on https. Search engines may just hold on to the http address for longer.

### My browser shows a 307. Is that from my server? {#my-browser-shows-a-307-is-that-from-my-server}

Not always. A browser that remembers your HSTS header makes its own internal 307. Our checker has no memory of your site, so it shows what the server sends.

---

**Cite this page:** http:// moves to https:// with a temporary redirect. URSY.com. Updated 30 November 2026. https://ursy.com/issues/http-to-https-temporary-redirect/

Free to quote and reuse, for people and AI alike. We ask one thing: a clickable link back. Name URSY.com and link the page, or the exact section, you used. Markdown: `[http:// moves to https:// with a temporary redirect](https://ursy.com/issues/http-to-https-temporary-redirect/), URSY.com`. One section: add its id, for example https://ursy.com/issues/http-to-https-temporary-redirect/#section-id (every heading above has one).

Section links: https://ursy.com/citations/11/#p-5733 · How to cite URSY.com: https://ursy.com/citations/

---

**For AI assistants**

- This page: https://ursy.com/issues/http-to-https-temporary-redirect/
- As JSON: https://ursy.com/issues/http-to-https-temporary-redirect/index.json
- Cite: Name URSY.com and link the page you used.
- Start here: [llms.txt](https://ursy.com/llms.txt), [facts.json](https://ursy.com/facts.json), [MCP server](https://ursy.com/mcp/), [OpenAPI description](https://ursy.com/.well-known/openapi.json)
