TechnologyWordPress
Replacing Image Links After Installing an SSL Certificate in WordPress

Replacing Image Links After Installing an SSL Certificate in WordPress

By: SolutionsHint    132 views Updated: 23rd Dec, 2017
Replacing Image Links After Installing an SSL Certificate in WordPress

In this article i will explain ” Replacing Image Links After Installing an SSL Certificate in WordPress ” after migrate our website from http to secure https . When you install an SSL certificate on website ( http to https), then your site have mix content with some URL are with http and some are https, this means some elements on your website will probably break because we have to change all image URL for fully securing. Your website will show a conflict with the URL.Now Everything has been migrate to your https website URL, but your images still point to HTTP. This means you have to change all the image links from “https to https”. What a pain in the rear, right? Fortunately, you don’t have to track down and edit every single image URL which you have uploaded in past. You can do manually in your database to change all image URL with MySQL Query.

If you have successfully upgraded your site with your new secure URL to https, but the images are still pointing with http.
In that you i have MySQL query just hit into MySQL database and get secure.

Search and Replace with Queries

Notes : For single WordPress Site.

Step 1:  First select you database and perform these query.

Step 2:  First select you database and perform these query.

Note: For WordPress Multi site.

Step 3: if you are running multi site  in WordPress then you have multi post table so perform these Mysql query for other table.

Step 4: Perform these query to replace all attachment URL.

 

Replace with WordPress Plugin 

1. Better Search Replace

Replacing Image Links After Installing an SSL

When moving your WordPress site to a new domain or server, you will likely run into a need to run a search/replace on the database for everything to work correctly. Fortunately, there are several plugins available for this task, however, all have a different approach to a few key features. This plugin consolidates the best features from these plugins, incorporating the following features in one simple plugin:

  • Serialization support for all tables
  • The ability to select specific tables
  • The ability to run a “dry run” to see how many fields will be updated
  • No server requirements aside from a running installation of WordPress
  • WordPress Multisite support

2.  Search and Replace

Replacing Image Links After Installing  SSL

With Search & Replace you can search for everything and replace this with everything but before you do this you can easily create a simple database backup and restore it.

We have implements special features!
The first one is “Replace a Domain / Url” that is useful for a quick and simple transfer or a migration of an WordPress.
The second is a full support for serialized data but there are a lot more features.

About the Author

I am a professional blogger from my heart, I am going through all the possible ways that can help to audience. I am trying my best to write content that my readers will like me. I will really be happy when my readers will become more happy with my blog.

Leave a Reply

Your email address will not be published. Required fields are marked *

Tweet
Share6
+1
Share
6 Shares