Skip to content
Nazmul Nikhil
Menu

Does Not Redirect HTTP Traffic to HTTPS (PageSpeed Insights)

If http:// versions of your pages still load, visitors and search engines can land on the insecure copy. Here's the 301 redirect for each platform.

Nazmul Nikhil

By

Head of SEO & Assistant Manager, Digital Marketing at Notionhive

Published 1 min read
Does Not Redirect HTTP Traffic to HTTPS (PageSpeed Insights)
Photo: Everyday basics on Unsplash

In short

Every http:// URL should 301 redirect to its https:// equivalent, path for path. Otherwise people following old links land on the insecure version, and search engines may see two copies. Add a server-level redirect.

In passed form: "Redirects HTTP traffic to HTTPS." It may show as "Not applicable" when PageSpeed tested an HTTPS URL directly.

Apache (.htaccess):

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Cloudflare: turn on "Always Use HTTPS." Shopify, Webflow and Wix: automatic once SSL is active. WordPress: usually set at the host or with the rule above.

Test by visiting http://yourdomain.com/some-page/ and confirming one hop to the HTTPS version.

This guide isn't affiliated with or endorsed by Google.

Sources and references

TAGSPageSpeed InsightsDoes not redirect http traffic to httpsHttp to https redirectForce https
Nazmul Nikhil

About the author

Nazmul Nikhil

Head of SEO & Assistant Manager, Digital Marketing at Notionhive

SEO and AI search consultant in Dhaka, Bangladesh, helping small and mid-size businesses in the USA, UK, Australia and Canada.

Need help with this?

Get it fixed with Technical SEO

I find the issues that cost you traffic and fix them, starting with the pages that matter most.

Keep reading

Related articles

All Page Speed & Core Web Vitals posts →

Get the next guide in your inbox

One email when a new SEO or AI search guide goes live.

Ready to grow?

Get a free audit of your website, or book a 30-minute call to talk through your goals.

Nazmul Hasan

Talk to Nazmul directly

Reply within 24h

WhatsApp +880 1682835118
nazmulnikhil@gmail.com