{
    "title": "http:// does not redirect to https://",
    "description": "Visitors who type or follow an http:// address stay on the insecure version, or end up somewhere other than your https page.",
    "url": "https://ursy.com/issues/http-not-redirected-to-https/",
    "canonical": "https://ursy.com/issues/http-not-redirected-to-https/",
    "markdown": "https://ursy.com/issues/http-not-redirected-to-https/index.md",
    "json": "https://ursy.com/issues/http-not-redirected-to-https/index.json",
    "published": "2026-11-29T21:57:24+00:00",
    "updated": "2026-11-30T12:53:04+00:00",
    "language": "en-GB",
    "publisher": {
        "name": "URSY.com",
        "url": "https://ursy.com/"
    },
    "cite": "Name URSY.com and link https://ursy.com/issues/http-not-redirected-to-https/",
    "start_here": {
        "page": "https://ursy.com/issues/http-not-redirected-to-https/",
        "markdown": "https://ursy.com/issues/http-not-redirected-to-https/index.md",
        "json": "https://ursy.com/issues/http-not-redirected-to-https/index.json",
        "cite": "Name URSY.com and link the page you used.",
        "doors": {
            "llms_txt": "https://ursy.com/llms.txt",
            "facts": "https://ursy.com/facts.json",
            "mcp": "https://ursy.com/mcp/",
            "openapi": "https://ursy.com/.well-known/openapi.json"
        }
    },
    "issue": {
        "slug": "http-not-redirected-to-https",
        "problem": "http:// does not redirect to https://",
        "summary": "Visitors who type or follow an http:// address stay on the insecure version, or end up somewhere other than your https page.",
        "status": "Live",
        "priority": "high",
        "category": "security",
        "category_title": "Security and HTTPS",
        "why_it_matters": [
            "Many old links, bookmarks and typed addresses still start with http://. If that address shows the page itself, or redirects to another http address, the visitor never reaches the secure version, and search engines see two copies of every page.",
            "If the http address answers \"not found\" or a server error, people who type your address without https:// cannot reach you at all."
        ],
        "how_to_fix": [
            "Add a permanent (301) redirect from every http address to the same address on https, in one step. Your host, server settings or CDN usually has a single switch for this, often called something like \"force HTTPS\".",
            "Once the redirect works on every page, add Strict-Transport-Security so browsers go straight to https next time. Check both with the SSL Certificate Checker and the Security Headers Checker."
        ],
        "steps": [],
        "check_it_is_fixed": "Run the URSY.com SSL Certificate Checker again: http should redirect to https with a 301. The Redirect Checker should show a single step.",
        "found_by": [
            {
                "tool": "ssl-checker",
                "name": "SSL Certificate Checker",
                "status": "Live",
                "page": "https://ursy.com/ssl-checker/",
                "card": "https://ursy.com/ssl-checker.json"
            },
            {
                "tool": "security-headers-checker",
                "name": "Security Headers Checker",
                "status": "Live",
                "page": "https://ursy.com/security-headers-checker/",
                "card": "https://ursy.com/security-headers-checker.json"
            },
            {
                "tool": "redirect-checker",
                "name": "Redirect Checker",
                "status": "Live",
                "page": "https://ursy.com/redirect-checker/",
                "card": "https://ursy.com/redirect-checker.json"
            }
        ],
        "full_record": "https://ursy.com/wp-json/ursy/v1/issues/http-not-redirected-to-https",
        "source": {
            "url": "https://web.dev/articles/enable-https",
            "title": "web.dev: Enabling HTTPS on your servers"
        },
        "cite": "http:// does not redirect to https://. URSY.com. https://ursy.com/issues/http-not-redirected-to-https/"
    },
    "headings": [
        {
            "level": 2,
            "text": "Why it matters",
            "id": "why-it-matters",
            "url": "https://ursy.com/issues/http-not-redirected-to-https/#why-it-matters"
        },
        {
            "level": 2,
            "text": "How to fix it",
            "id": "how-to-fix-it",
            "url": "https://ursy.com/issues/http-not-redirected-to-https/#how-to-fix-it"
        },
        {
            "level": 3,
            "text": "What the problem looks like",
            "id": "what-the-problem-looks-like",
            "url": "https://ursy.com/issues/http-not-redirected-to-https/#what-the-problem-looks-like"
        },
        {
            "level": 3,
            "text": "What it looks like fixed",
            "id": "what-it-looks-like-fixed",
            "url": "https://ursy.com/issues/http-not-redirected-to-https/#what-it-looks-like-fixed"
        },
        {
            "level": 2,
            "text": "Fix it with your AI assistant",
            "id": "fix-it-with-your-ai-assistant",
            "url": "https://ursy.com/issues/http-not-redirected-to-https/#fix-it-with-your-ai-assistant"
        },
        {
            "level": 2,
            "text": "Fix it on your platform",
            "id": "fix-it-on-your-platform",
            "url": "https://ursy.com/issues/http-not-redirected-to-https/#fix-it-on-your-platform"
        },
        {
            "level": 3,
            "text": "WordPress",
            "id": "wordpress",
            "url": "https://ursy.com/issues/http-not-redirected-to-https/#wordpress"
        },
        {
            "level": 3,
            "text": "Shopify",
            "id": "shopify",
            "url": "https://ursy.com/issues/http-not-redirected-to-https/#shopify"
        },
        {
            "level": 3,
            "text": "Your server or hosting",
            "id": "your-server-or-hosting",
            "url": "https://ursy.com/issues/http-not-redirected-to-https/#your-server-or-hosting"
        },
        {
            "level": 3,
            "text": "Your CDN (for example Cloudflare)",
            "id": "your-cdn-for-example-cloudflare",
            "url": "https://ursy.com/issues/http-not-redirected-to-https/#your-cdn-for-example-cloudflare"
        },
        {
            "level": 2,
            "text": "Check it is fixed",
            "id": "check-it-is-fixed",
            "url": "https://ursy.com/issues/http-not-redirected-to-https/#check-it-is-fixed"
        },
        {
            "level": 2,
            "text": "Official source",
            "id": "official-source",
            "url": "https://ursy.com/issues/http-not-redirected-to-https/#official-source"
        },
        {
            "level": 2,
            "text": "Questions",
            "id": "questions",
            "url": "https://ursy.com/issues/http-not-redirected-to-https/#questions"
        },
        {
            "level": 3,
            "text": "I added the rule and now the page loops. Why?",
            "id": "i-added-the-rule-and-now-the-page-loops-why",
            "url": "https://ursy.com/issues/http-not-redirected-to-https/#i-added-the-rule-and-now-the-page-loops-why"
        },
        {
            "level": 3,
            "text": "Should I add HSTS now?",
            "id": "should-i-add-hsts-now",
            "url": "https://ursy.com/issues/http-not-redirected-to-https/#should-i-add-hsts-now"
        }
    ],
    "links": [
        {
            "text": "redirects",
            "url": "https://ursy.com/wiki/redirect/",
            "internal": true
        },
        {
            "text": "search engines",
            "url": "https://ursy.com/wiki/search-engine/",
            "internal": true
        },
        {
            "text": "CDN",
            "url": "https://ursy.com/wiki/cdn/",
            "internal": true
        },
        {
            "text": "SSL Certificate",
            "url": "https://ursy.com/wiki/ssl-certificate/",
            "internal": true
        },
        {
            "text": "ChatGPT",
            "url": "https://ursy.com/wiki/chatgpt/",
            "internal": true
        },
        {
            "text": "web.dev: Enabling HTTPS on your servers",
            "url": "https://web.dev/articles/enable-https",
            "internal": false
        }
    ],
    "words": 623,
    "text": "Visitors who type or follow an http:// address stay on the insecure version, or end up somewhere other than your https page. Why it matters Many old links, bookmarks and typed addresses still start with http://. If that address shows the page itself, or redirects to another http address, the visitor never reaches the secure version, and search engines see two copies of every page. If the http address answers \"not found\" or a server error, people who type your address without https:// cannot reach you at all. How to fix it Add a permanent (301) redirect from every http address to the same address on https, in one step. Your host, server settings or CDN usually has a single switch for this, often called something like \"force HTTPS\". Once the redirect works on every page, add Strict-Transport-Security so browsers go straight to https next time. Check both with the SSL Certificate Checker and the Security Headers Checker. What the problem looks like http://www.example.com/tea/ 200 OK (the page is shown on plain http) http://example.com/tea/ 301 -> http://www.example.com/tea/ The http address shows the page itself, or redirects to another http address. What it looks like fixed RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://www.example.com/$1 [R=301,L] Every http address goes to the same path on https in one permanent step. Fix it with your AI assistant Paste this into 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:// addresses do not redirect to https://. First check what http:// [the page address] answers, with and without www, or ask me to paste the results, and explain plainly what happens: the page is shown on http, it redirects to another http address, or it errors. Ask me whether a CDN or proxy sits in front, as the server may then not see https. Then give me one rule that sends every http address to the same path on my main https host with a single 301, for my setup: .htaccess, nginx, a hosting panel switch or a CDN setting. Rules: back up the config first, keep the path and query string, avoid redirect chains and loops (for example behind a proxy, check X-Forwarded-Proto), do not change https pages, and do not block search engines. Say exactly where the rule goes. Then tell me to re-check with the URSY.com SSL Certificate Checker at ursy.com/ssl-checker/. Fix it on your platform WordPress Many hosts have a \"force HTTPS\" switch in the hosting panel. Otherwise add the rule above at the top of .htaccess, before the WordPress block. Shopify Shopify redirects http to https for connected domains once the certificate is active. Check Settings, Domains if it does not. Your server or hosting On nginx, add a server block that listens on port 80 for your host names and returns 301 https://$host$request_uri. Your CDN (for example Cloudflare) In Cloudflare, turn on Always Use HTTPS in the SSL/TLS edge certificate settings. Check it is fixed Run the URSY.com SSL Certificate Checker again: http should redirect to https with a 301. The Redirect Checker should show a single step. Official source web.dev: Enabling HTTPS on your servers Questions I added the rule and now the page loops. Why? Behind a CDN or proxy, the server may always see plain http and keep redirecting. Use the CDN setting instead, or check the X-Forwarded-Proto header in the rule. Should I add HSTS now? Only after the redirect works on every page and host name. HSTS makes browsers go straight to https, so mistakes are harder to undo.",
    "source": "https://ursy.com/issues/http-not-redirected-to-https/"
}