Go To Namecheap.com
Hero image of Make Sure Your Site is 100% Secure with SSL
Security & Privacy

Make Sure Your Site is 100% Secure with SSL

Securing your site has never been easier. SSLs are easy to purchase and are now more affordable than ever. Sometimes, though, when you set up an SSL certificate for your site and migrate your site to the HTTPS protocol, things don’t go as planned.

In this post, we’ll look at common SSL configuration errors for WordPress websites and how you can make sure your site is up and running in no time.

Configuring your SSL Certificates

SSL certificates (technically, Transport Layer Security protocols, but we’ll use SSL for short) provide a layer of encryption for your website. As we explain in another post, SSLs provide a layer of trust about the content on your site and the transactions that occur.

The first step is to purchase an SSL certificate from a trusted provider (such as Namecheap), and install it on your site.

To configure the certificate, you then need to change your site’s URL to use the HTTPS protocol. &

What are Mixed Content Warnings?

Just because you’ve configured your website to use HTTPS links instead of HTTP, there may still be links within your site that are hard-coded to display links as HTTP.

If there are still internal HTTP links, browsers will block active mixed content on your site, and your site will suffer from potential slowdowns, lowered Google rankings, and data could still be compromised.
In other words, it’s important to fix all HTTP links. These can occur within theme files, as part of a custom field, or in a plugin file. They can also appear as links to images.

Mozilla offers a test page you can view to see what a mixed content warning looks like. You’ll note that in addition to the SSL green bar, in many browsers there will be an additional notification of the issue in the browser bar.

For example, in Chrome it might look like this:

mixed content warning chrome

And in Firefox it might look like this:

mixed content firefox

Notice the shield with the red X on the first one, the green padlock with the warning sign in the second?&Both indicate that the SSL is compromised by the existence of mixed content on the site.

Why Are These Warnings a Big Deal?

SSL certificates protect transmitted data. They reassure your customers that the data coming from your site to their browser is legit and that everything they submit (passwords, credit cards, addresses, etc.) is encrypted and secured.

Security holes pop up when your website says you serve secure content, but you have non-secure links. When a secure page is forced to obtain content from an insecure source, it creates an opportunity for hackers to inject malicious code that could expose everything that the secure site is trying to protect.

Because of this risk, web browsers often block mixed content. Not blocking that content violates the trust that an SSL establishes, makes a website vulnerable to malicious activity, and exposes personal data to outsiders. People want to know that what they see on a web page is what’s intended to be there.

How Do You Find These Errors?

These are the culprits which will cause your site to generate mixed-content warnings.

searching on computer

Here are some quick checks that can help you figure out where the mixed content originates.

  • Did you copy & paste a script into your theme’s header.php file or functions.php?
  • Does the script have a URL in it that has HTTP?
  • What about a CSS background image?
  • Does the value for the background use HTTP?
  • Did you paste an iframe into a page? Is that using HTTP?
  • Are your image files being referenced with HTTPS or HTTP?

For example, when you examine the HTML code for your website, you might find code directing to insecure links. Rather than the secure version.

You can also find issues by using your browser’s inspector console. In the console, it should list out each item that was requested over HTTP. This will help you zero in on what’s causing the problem. Find the culprits (and change these to HTTPS.

You might also download your theme and search through the codebase using an editor like Atom, which allows you to search through many files at once. Look for “http://” anywhere inside IMG links, CSS files, and so on.

How to Fix Mixed Content Errors

If the problem is relatively minor, you might be able to resolve it by changing the URL in one or two locations.

Using relative links to resources on a site is a good practice. These links will follow the same protocol as the site itself.

If it looks like you have a lot of links to change, a database search and replace tool might come in handy. One you can try is the free and open-source tool Search Replace DB. A note of caution: ALWAYS back up your website content and database (which may be a two-step process depending on your backup procedure) before running a database cleanup tool.
Many providers these days (sites serving fonts, javascript libraries, etc.) serve requests over HTTPS. That means in most cases you’re fairly safe updating HTTP to HTTPS. Do your homework to make sure. If you happen to be using a resource that is not available over HTTPS, that’s a great opportunity to pressure them to change.

How to Learn More

Namecheap offers a variety of Comodo SSL certificates. You can learn more about your options and how to set them up on your site through our website. If you need further assistance with configurations, you might take a look at our SSL Frequently Asked Questions. And for help understanding, Mixed Content Warnings, check out Mozilla’s helpful guide.


Building relationships is key to any successful partnership, be it in business or life in general. At Crowd Favorite, Pat Ramsey gets to do that every day as Director of Ongoing Client Support. When he’s not building websites, Pat can be found organizing the Austin WordPress Meetup or helping with the tech networking community, Refresh Austin. He’s been a trainer and advisor for Knowbility’s Accessible Internet Rallies and AccessU, and a founder of the WordPress conference “after-after” party, CigarCamp. Pat is a former Navy Reserve sailor, a native Texan, and enjoys cooking large quantities of crawfish.

Was this article helpful?
4
Get the latest news and deals Sign up for email updates covering blogs, offers, and lots more.
I'd like to receive:

Your data is kept safe and private in line with our values and the GDPR.

Check your inbox

We’ve sent you a confirmation email to check we 100% have the right address.

Help us blog better

What would you like us to write more about?

Thank you for your help

We are working hard to bring your suggestions to life.

Pat Ramsey avatar

Pat Ramsey

Building relationships is key to any successful partnership, be it in business or life in general. At Crowd Favorite, Pat Ramsey gets to do that every day as Director of Ongoing Client Support. When he's not building websites, Pat can be found organizing the Austin WordPress Meetup or helping with the tech networking community, Refresh Austin. He's been a trainer and advisor for Knowbility's Accessible Internet Rallies and AccessU, and a founder of the WordPress conference “after-after” party, CigarCamp. Pat is a former Navy Reserve sailor, a native Texan, and enjoys cooking large quantities of crawfish. More articles written by Pat.

More articles like this
Get the latest news and deals Sign up for email updates covering blogs, offers, and lots more.
I'd like to receive:

Your data is kept safe and private in line with our values and the GDPR.

Check your inbox

We’ve sent you a confirmation email to check we 100% have the right address.

Hero image of Why Do Some Domain Extensions Cost More?Make Sure Your Site is 100% Secure with SSL
Next Post

Why Do Some Domain Extensions Cost More?

Read More