SSL and Security

HTTPS redirects and mixed content

Using 301 redirects and HSTS so your site opens from one secure address, and fixing the mixed content errors that break the padlock.

  • 2 min read
  • Updated: 16.11.2026
  • Baza wiedzy
In this article
  1. One canonical address
  2. HSTS
  3. What is mixed content?
  4. Frequently asked questions

Installing an SSL certificate is the first step. Making the site always open over HTTPS and from a single address has to be set up separately. Otherwise search engines see several versions of the same page and the padlock can disappear on some pages.

One canonical address

Your site may open from four addresses: http://yourcompany.com, http://www.yourcompany.com, https://yourcompany.com and https://www.yourcompany.com. Choose one (for example https://yourcompany.com) as the main address and send the other three to it with a 301 permanent redirect, so search value is not split.

HSTS

The HSTS (HTTP Strict Transport Security) header tells the browser to open the site only over HTTPS for a set period, removing the risk of falling back to HTTP after the first visit. Enable it once you are sure all your subdomains support HTTPS.

What is mixed content?

When a page opens over HTTPS but an image, script or stylesheet inside it loads from an http:// address, that is mixed content. Browsers block those files or remove the padlock.

How to fix it

  1. Find the “Mixed Content” warnings in the browser’s developer tools (Console).
  2. Replace http:// links with https:// in your content and theme files.
  3. Bulk-update old addresses stored in the database (for example old image paths).
  4. Remove external resources that do not support HTTPS or replace them with alternatives.

Frequently asked questions

What is the difference between a 301 and a 302 redirect?

A 301 is permanent and tells search engines the new address is the main one. A 302 is temporary; use a 301 when moving to HTTPS.

Should I use www or not?

Either works. What matters is choosing one, permanently redirecting the other to it and using the same address in all links.

This article is for general information. Contact our support team for actions specific to your account.

SSL and Security

In the same category

View all
Support

Can’t find what you need?

Send your question to our team. We can also handle technical tasks such as DNS, SSL, email and site migrations for you.