---
title: "How To Fix Insecure Image URLs With Better Search Replace WordPress Plugin"
description: "The insecure \"no padlock\" error in Chrome. Are you getting the \"no padlock\" error after installing an SSL on your WordPress site? This means there's likely an insecure URL somewhere on your site. You..."
url: https://www.inmotionhosting.com/support/edu/wordpress/fix-insecure-image-wordpress-plugin/
date: 2019-10-10
modified: 2021-08-16
author: "Christopher Maiorana"
categories: ["WordPress Hosting", "WordPress Tutorials"]
type: post
lang: en
---

# How To Fix Insecure Image URLs With Better Search Replace WordPress Plugin

![](https://www.inmotionhosting.com/support/wp-content/uploads/2019/10/Screenshot-from-2019-10-08-15-18-31.png)*The insecure “no padlock” error in Chrome.*

Are you getting the “no padlock” error after installing an SSL on your WordPress site? This means there’s likely an insecure URL somewhere on your site. You can fix this by updating those URLs from `http` to `https`.

- [Why Am I Getting No Padlock?](#org9aba027)
- [How can I search and replace HTTP URLs?](#orgad20467)

To learn more about this error and why it occurs, be sure to check out the full guide on the [insecure SSL error](/support/website/ssl/ssl-lock-display/).

## Getting A “No Padlock” Error

If there are any URLs on your site (as in links, images, or other resources that connect outside of your site) using the insecure `http` protocol, your SSL padlock will not display properly. Different browsers display the padlock or “no padlock” differently. But the causes and fixes will be the same for every browser. Steps to fix this error below.

If you should wish to scan your site for any `http` instances, it’s recommended to use a free scanning tool like [Why No Padlock?](https://www.whynopadlock.com//)

## Search and Replace HTTP URLs on Your Site

For the purposes of this article, you will be using the [Better Search Replace](https://wordpress.org/plugins/better-search-replace/) plugin. Make sure to [install the plugin](/support/edu/wordpress/plugins/install-wordpress-plugins/) before proceeding with the steps below.

1. [Log into your WordPress dashboard](/support/edu/wordpress/logging-into-wordpress-dashboard/)
2. Click **Tools**
3. Choose the *Better Search Replace* tool
4. Fill in the fields for what you’re searching for (`http`) and what you would like to replace it with (`https`)

Make sure to edit the right database table. For example, if you want to update content in posts, make sure to select the `wp_posts` table.

Do you want to do a dry run first? Make sure to leave “Run as dry run?” checked to preview what will be changed. After you’ve reviewed any changes, uncheck the box and click **Run Search/Replace** and your updates will proceed.

Well done! You now how to update `http` URLs with the more secure `https` protocol. If you have any further questions or comments be sure to leave them below.
