Title: Favicon not in https
Last modified: September 26, 2016

---

# Favicon not in https

 *  [lokuber](https://wordpress.org/support/users/lokuber/)
 * (@lokuber)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/favicon-not-in-https/)
 * I found a strange behaviour of the favicon on WordPress.
 * I use WordPress on my website that supports both HTTP and HTTPS protocol. I only
   redirect user to HTTPS on the login page with this command added to wp-config.
   php :
 * `define('FORCE_SSL_LOGIN', true);`
 * Going to the https version of my website leads to no warnings from the browser.
   However on the login page, I noticed that the favicons links are back to [http://&#8230](http://&#8230);
   even when the page is in https (with leads to warning from the browser and thus
   not having the green padlock).
 * How can I change this odd behavior ?

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

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [9 years, 8 months ago](https://wordpress.org/support/topic/favicon-not-in-https/#post-8221441)
 * From the viewpoint of making things easy, it’s better to make your site all SSL
   all the time than popping in and out of SSL mode. Google will like you better
   for it. Why not just make that change?
 *  Thread Starter [lokuber](https://wordpress.org/support/users/lokuber/)
 * (@lokuber)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/favicon-not-in-https/#post-8221608)
 * My website works on both http and https. I am just forcing SSL on the login page
   as I don’t feel the need right know to fully switch to https even though it will
   only be a matter of 2 defines(…) lines in my wp-config.php file.
 * I was just trying to find a solution to this strange behavior about favicon
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [9 years, 8 months ago](https://wordpress.org/support/topic/favicon-not-in-https/#post-8221648)
 * No, it’s more that a matter of two defines, but the issue is that you’re trying
   to run both. It’s a LOT easier to solve by going all https all the time. Really.
 * (You’ll get mixed content issues if you just use two defines. Use the plugin “
   better search and replace”. 1. Disable all cache. 2. Use the plugin to search
   for [http://example.com](http://example.com) and replace with [https://example.com](https://example.com)
   3. verify site works. 4. disable/delete the plugin. 5. re-enable caching plugins.)
 *  Thread Starter [lokuber](https://wordpress.org/support/users/lokuber/)
 * (@lokuber)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/favicon-not-in-https/#post-8221699)
 * I could use this and it would work like a charm (after a quick db search and 
   replace like you said) :
 * define(‘WP_SITEURL’, ‘[https://mywebsite.com&#8217](https://mywebsite.com&#8217););
   
   define(‘WP_HOME’, ‘[https://mywebsite.com&#8217](https://mywebsite.com&#8217););
 * I just didn’t understand why favicon are linked with https on every other pages
   except the login one.
    Anyway thanks I guess

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

The topic ‘Favicon not in https’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [lokuber](https://wordpress.org/support/users/lokuber/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/favicon-not-in-https/#post-8221699)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
