Title: Updating Image Links from http to https
Last modified: August 31, 2016

---

# Updating Image Links from http to https

 *  [Gary-n-Galax](https://wordpress.org/support/users/gary-n-galax/)
 * (@gary-n-galax)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/updating-image-links-from-http-to-https/)
 * When I switch my WordPress site from http to https in the settings, WordPress
   continues to call images over http links. Is there an easy fix so that images
   are called over https?
 * I wouldn’t care except that my site has static pages in straight html, and I 
   only use WordPress in a separate directory under the same domain name. My order
   forms are on those static pages. When I put the Apache mod in my htaccess file
   to force all traffic to the https address, it works great in the static pages,
   but in my blog, all the image links get broken. This is because the image links
   are still looking for http, and after the Apache mod, there is no http.
 * I tried the Velvet plugin, but it didn’t change the image links. I’m nervous 
   about another popular plugin that hasn’t been updated in two years. I also found
   some instructions for running a search and replace in the SQL database, but that’s
   a process with which I have zero familiarity. Any recommendations on the easiest,
   most foolproof fix today?

Viewing 1 replies (of 1 total)

 *  [jejani](https://wordpress.org/support/users/jejani/)
 * (@jejani)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/updating-image-links-from-http-to-https/#post-7195209)
 * [@gary](https://wordpress.org/support/users/gary/),
 * There are many plugins available for this, I recommend:
 * [https://wordpress.org/plugins/better-search-replace/](https://wordpress.org/plugins/better-search-replace/)
 * Simply search:
 *     ```
       http://www.example.com
       ```
   
 * …and replace with (no ending slashes):
 *     ```
       https://www.example.com
       ```
   
 * Keep in mind that scanning your database will not fix any resource URLs if they
   are hard-coded into your template files, though.

Viewing 1 replies (of 1 total)

The topic ‘Updating Image Links from http to https’ is closed to new replies.

## Tags

 * [encryption](https://wordpress.org/support/topic-tag/encryption/)
 * [HTTP](https://wordpress.org/support/topic-tag/http/)
 * [HTTPS](https://wordpress.org/support/topic-tag/https/)
 * [images](https://wordpress.org/support/topic-tag/images/)
 * [img](https://wordpress.org/support/topic-tag/img/)
 * [switch](https://wordpress.org/support/topic-tag/switch/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [jejani](https://wordpress.org/support/users/jejani/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/updating-image-links-from-http-to-https/#post-7195209)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
