Title: Rewrite http avatars to HTTPS
Last modified: December 16, 2021

---

# Rewrite http avatars to HTTPS

 *  Resolved [mayuxi](https://wordpress.org/support/users/mayuxi/)
 * (@mayuxi)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/rewrite-http-avatars-to-https/)
 * Hi! I used Simple Local Avatars few years ago, when my website was non-HTTPS,
   now my website is fully HTTPS, but looks like the urls for old avatars are still
   http (no problem with new ones).
 * Is there any fix, like SQL to quickly replace all http-avatars to https in the
   database?
 * Thanks!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Frewrite-http-avatars-to-https%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Contributor [Darin Kotter](https://wordpress.org/support/users/dkotter/)
 * (@dkotter)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/rewrite-http-avatars-to-https/#post-15174566)
 * [@mayuxi](https://wordpress.org/support/users/mayuxi/) Thanks for the question!
   There is a Clear Cache method that should be in an upcoming release (see [https://github.com/10up/simple-local-avatars/pull/90](https://github.com/10up/simple-local-avatars/pull/90))
   but in the meantime, you’ll need to update URLs that are stored in user meta 
   under the key `simple_local_avatar`. I don’t have an SQL query handy for that
   but that is where these avatar URLs are stored and where they’ll need to be updated.
 *  Thread Starter [mayuxi](https://wordpress.org/support/users/mayuxi/)
 * (@mayuxi)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/rewrite-http-avatars-to-https/#post-15175638)
 * Thanks for the reply. We have thousands of users, we will wait for the plugin
   update then. Meanwhile we’ve re-uploaded some avatars for most active authors.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Rewrite http avatars to HTTPS’ is closed to new replies.

 * ![](https://ps.w.org/simple-local-avatars/assets/icon.svg?rev=2783752)
 * [Simple Local Avatars](https://wordpress.org/plugins/simple-local-avatars/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-local-avatars/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-local-avatars/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-local-avatars/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-local-avatars/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-local-avatars/reviews/)

## Tags

 * [avatars](https://wordpress.org/support/topic-tag/avatars/)
 * [HTTP](https://wordpress.org/support/topic-tag/http/)
 * [HTTPS](https://wordpress.org/support/topic-tag/https/)
 * [SSL](https://wordpress.org/support/topic-tag/ssl/)

 * 2 replies
 * 2 participants
 * Last reply from: [mayuxi](https://wordpress.org/support/users/mayuxi/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/rewrite-http-avatars-to-https/#post-15175638)
 * Status: resolved