If your site runs on HTTPS but its plain http:// address still loads the site instead of redirecting, search engines can crawl every page over HTTP as well. Each of those pages carries a canonical link to its HTTPS version, so an audit reports them all as Canonical from HTTP to HTTPS.

Why Joomla sites get it

A common .htaccess rule redirects example.com to https://www.example.com, but nothing matches http://www.example.com, so the server serves it as it is. You won’t see it yourself: browsers switch to HTTPS on their own, so the HTTP address seems not to exist. Audit crawlers don’t switch.

Fix it by hand

Either of these works. The first needs no server access.

  1. In Joomla: go to System → Global Configuration → Server and set Force HTTPS to Entire Site. Joomla then redirects any HTTP request to HTTPS. Make sure HTTPS works on your site first, or you can lock yourself out of the administrator.
  2. On the server: add one rule to .htaccess (Apache or LiteSpeed hosting) that sends every HTTP request, and the host you don’t use, to your chosen address in a single redirect. Put it straight after RewriteEngine On and replace example.com with your own domain:
    RewriteCond %{HTTPS} off [OR]
    RewriteCond %{HTTP_HOST} ^example\.com$ [NC]
    RewriteRule ^(.*)$ https://www.example.com/$1 [R=301,L]
    If your site is on the bare domain rather than www., use ^www\.example\.com$ in the second line and https://example.com/$1 in the third. If your site sits behind a proxy or CDN such as Cloudflare, use its “Always use HTTPS” setting instead.

To check, request the HTTP address without a browser, for example curl -I http://www.example.com/. It should answer 301 with a Location on https://.

Fix it with MetaGen

MetaGen’s HTTP to HTTPS redirect check requests your home page over HTTP, on both the www. and bare host, and warns when either loads instead of redirecting. Its button opens Global Configuration, where Force HTTPS is set.

MetaGen is free for Joomla 5 and 6. See all the SEO warnings MetaGen checks.

Licences, trademarks, source code licences and attributions

928uk® is a trademark of Multizone Limited, registered in the UK. Multizone and this site is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited licence granted by Open Source Matters, Inc. AdMob™, AdSense™, AdWords™, Android™, Chrome OS™, Chromebook™, Chrome™, DART™, Flutter™, Firebase™, Firestore™, Fuchsia™, Gmail™, Google Maps™, Google Pixel™, Google Play™, Pixelbook Go™, and Pixel™ and other trademarks listed at the Google Brand Resource center are trademarks of Google LLC and this site is not endorsed by or affiliated with Google in any way. Apple and the Apple logo are trademarks of Apple Inc., registered in the U.S. and other countries. App Store is a service mark of Apple Inc. The OSI logo trademark is the trademark of Open Source Initiative. Any other product or company names may be trademarks™ or registered® trademarks of their respective holders. Use of these trademarks in articles here does not apply affiliation or endorsement by any of them.

Where the source code is published here on multizone.co.uk or on our GitHub by Angus Fox, Multizone Limited it is licenced according to the open source practice for the project concerned.

BSD 3-Clause "New" or "Revised" Licence
Original source code for mobile apps are licenced using the same licence as the one used by "The Flutter Authors". This Licence, the BSD 3-Clause "New" or "Revised" Licence (bsd-3-clause) is a permissive licence with a clause that prohibits others from using the name of the project or its contributors to promote derived products without written consent.
GNU General Public Licence v3.0 or later
Original source code for Joomla! published here on multizone.co.uk by Angus Fox, Multizone Limited is licenced using the GNU General Public Licence. This Licence, the GNU General Public Licence Version 3 or later (gpl-3.0+) is the most widely used free software licence and has a strong copyleft requirement. When distributing derived works, the source code of the work must be made available under the same licence.

Please respect the licences and dont use the name of this site or our company to promote derived products without written consent. I mean, why would you? You're not us!

Amazon Associate
As an Amazon Associate we earn from qualifying purchases.
Logo
Our Logo Image is by Magnific. We chose it because its an M and also the letter A twice - and that represents us.
Graphics
Our images representing user experience and interface design are from Magnific here and here and here and here and here.