Last Chance: Cyber Monday 40% OFF

Days
Hours
Minutes

USE CODE: CM2022

How to fix CSS and JS files with mixed content on other domains

Tackle WordPress weaknesses and fortify your website Learn more

If you have Really Simple SSL Pro installed, you might get the warning that your site contains references to JS or CSS files on other domains which in turn contain non-secure links.

For example, your site might include a .js file from a service you run on your site. If this JavaScript file, in turn, includes another file over http://, this will result in mixed content errors.

To fix this, you can try to ask the file owner on that other domain to change the URLs from http:// to //, which would make the script protocol independent.

If that is not possible, you can:

  • Download the file
  • Look up the http:// link and change it into //
  • Upload the file to your own site
  • Lookup the file or post where the file was included
  • Change the URL of the link, so that it points to the new file.

If this file is included in a plugin or theme, contact the plugin/theme author to request this update. Most would be happy to make this improvement.

Advanced Security

Tackle WordPress weaknesses and fortify your website. New hardening features!

Definitions

Want to know the in and outs of security jargon? Get to know our features.

Premium support will offer assistance in 24 hours. If you need help, or have any questions just contact our awesome support team/

Related articles

How to use the Permission Policy header

The Permissions-Policy HTTP header replaces the existing Feature-Policy header for controlling delegation of permissions and powerful features. The header uses a structured syntax, and allows

Read More