How to Replace Images Links/path in WordPress After Installing an SSL Certificate ?

replace images path after ssl installed wp

Here is one of the way to replace images link or path in WordPress After Installing an SSL Certificate into your website.

Every time when we install SSL into our wordpress website .. After successfully installing SSL .. the website show us a error in address bar that your site is not fully secured .. Like here

website is not fully secured

Don’t panic – just read here for the fix.

Steps :-

1) Login to Your website hosting cPanel and Click on phpMyadmin icon link option.

database phphmyadin link

2) New window will be like this and you can select and click on the database from the left panel.. you are using into your website.

select your database

3) After this Click on SQL tab to add the code there. Here to follow as number wise..

phpmyadmin steps to change images path

As per above images..

1 you have to choose your database.
2 is to click on SQL tab.
3 is to add Code there.
4) Hit on Go button to apply the changes.

Here is the code to add there…

UPDATE wp_posts SET `post_content` = REPLACE (`post_content`, 'src="http://blog.nstwebcreation.com', 'src="https://blog.nstwebdesign.com');


UPDATE wp_posts SET `guid` = REPLACE (`guid`, 'http://blog.nstwebcreation.com', 'https://blog.nstwebdesign.com') WHERE post_type = 'attachment';

Please Note.. Don’t forgot to change the url “blog.nstwebcreation.com” with your website url .. and also check your database table prefix too…

wp_posts in my code… table prefix is wp_ .. you can check your one.

Here is the link to know.. how to check or confirm your database table prefix.

database url change script

After making changes in Code .. Click on Go button right bottom of the editor section visible in above screenshot.

After click it will be show message similar to like this…

database images url updated

Now you can refresh your website and the new message will be Like this..

connection is secure now

I hope this will help you and for further help or information you can Contact with me using chat box or contact form.

Thanks πŸ™

If this help you then.. Can you buy a Cup of Coffee for me by nst webcreation paypal--OR-- nst webcreation blog coffee cup

Published by

NST

Myself Narender Singh Thakur ( NST ) and i share my Experience/Knowledge and Tricks for folks and beginners to solve their issues while making websites through this Planet.

Related Articles

4 thoughts on “How to Replace Images Links/path in WordPress After Installing an SSL Certificate ?”

  1. I simply couldn’t go away your site prior to suggesting that I actually enjoyed the standard information an individual
    provide to your visitors? Is gonna be back incessantly in order to check up on new posts

Leave a Reply

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

Click to Chat