Title: HTTPS (SSL) Breaks Custom Default Avatar
Last modified: September 1, 2016

---

# HTTPS (SSL) Breaks Custom Default Avatar

 *  Resolved [neoword](https://wordpress.org/support/users/neoword/)
 * (@neoword)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/https-ssl-breaks-custom-default-avatar/)
 * I’m using “Add New Default Avatar” with https. It seems that there’s some kind
   of rewrite for custom gravatars when SSL is enabled.
 * My custom Gravatar URL ([https://mydomain.com/wp-content/themes/mytheme/images/default-gravatar.png](https://mydomain.com/wp-content/themes/mytheme/images/default-gravatar.png))
   is always rewritten to:
    [https://secure.gravatar.com/avatar/0a9bc38c338d0748c6dbd86d80a59b78?s=32&d=https%3A%2F%2Fmydomain.com%2Fwp-content%2Fthemes%2Fmytheme%2Fimages%2Fdefault-gravatar.png&r=g&forcedefault=1](https://secure.gravatar.com/avatar/0a9bc38c338d0748c6dbd86d80a59b78?s=32&d=https%3A%2F%2Fmydomain.com%2Fwp-content%2Fthemes%2Fmytheme%2Fimages%2Fdefault-gravatar.png&r=g&forcedefault=1)
 * I’ve no idea why WordPress does it, but it seems specific to SSL protected WordPress
   sites.
 * [https://wordpress.org/plugins/add-new-default-avatar/](https://wordpress.org/plugins/add-new-default-avatar/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [neoword](https://wordpress.org/support/users/neoword/)
 * (@neoword)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/https-ssl-breaks-custom-default-avatar/#post-7589042)
 * Solved it myself. The domain I’m developing on is not accessible from the outside.
   That’s why gravatar.com can’t serve my custom avatar image.
 * See [https://gravatar.com/site/implement/images/](https://gravatar.com/site/implement/images/)
   under “Default Image” for more information how the URL is encoded for custom 
   default avatars.
 * > 1. MUST be publicly available (e.g. cannot be on an intranet, on a local development
   > machine, behind HTTP Auth or some other firewall etc). Default images are passed
   > through a security scan to avoid malicious content.

Viewing 1 replies (of 1 total)

The topic ‘HTTPS (SSL) Breaks Custom Default Avatar’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/add-new-default-avatar_f3f3f3.svg)
 * [Add New Default Avatar](https://wordpress.org/plugins/add-new-default-avatar/)
 * [Support Threads](https://wordpress.org/support/plugin/add-new-default-avatar/)
 * [Active Topics](https://wordpress.org/support/plugin/add-new-default-avatar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/add-new-default-avatar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/add-new-default-avatar/reviews/)

## Tags

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

 * 1 reply
 * 1 participant
 * Last reply from: [neoword](https://wordpress.org/support/users/neoword/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/https-ssl-breaks-custom-default-avatar/#post-7589042)
 * Status: resolved