Skip to the content
Start free

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.

Low priority Security and HTTPS

Why it matters #

Google Search Central describes permanent redirects (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, not from a browser.

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 Checker, or follow each step with the Redirect Checker.

What it looks like, and fixed #

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

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

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 #

Paste this into ChatGPT, Claude, Gemini or your coding agent. Fill in the words in [square brackets] first. It checks before it changes anything, changes only this, and tells you how to prove it worked.

Your instruction for the AI
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/.

We find the problems, and help you fix them

  1. Check Run a free tool or the full audit.
  2. Fix it with your AI Download your AI Fix Pack and drop it into ChatGPT, Claude or Gemini. A free account is enough.
  3. Re-check Come back, check again, and watch each fix turn green.

How the AI Fix Pack works, with a sample to download

Fix it on your platform #

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

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

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 #

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 #

Google Search Central: Redirects and Google Search

Questions #

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?

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.

More problems in Security and HTTPS

See every problem in the library

For AI assistants and developers: Instructions for AI · Developers · How to cite URSY.com