- This topic has 7 replies, 3 voices, and was last updated 1 year, 6 months ago by
Tom.
-
AuthorPosts
-
February 1, 2021 at 3:48 pm #1642201
Ian
So, using GPP Customizer to load favicon. Right clicking on the PNG shows url = wp-content/uploads/YEAR/MONTH/favicon.png
Webpagetest shows a yellow 302 status for this: http://www.domain.com/favicon.ico
Visiting both URL’s show the same icon visually. Is this how GPP re-wraps and delivers the favicon? ie. is this how GPP loads the icon or is something else going on.
Any ideas?
February 1, 2021 at 5:48 pm #1642257Elvin
StaffCustomer SupportHi there,
Can you link us to the page in question to check?
You can provide the site details on the private information text field. Thank you.
A wise man once said:
"Have you cleared your cache?"February 1, 2021 at 6:32 pm #1642287Ian
Hi Elvin,
Site has been shared. Any ideas?
February 1, 2021 at 7:21 pm #1642335Elvin
StaffCustomer SupportThank you for sharing. 🙂
302 simply means redirect.
This is actually a WordPress core behavior:
https://make.wordpress.org/core/2020/02/19/enhancements-to-favicon-handling-in-wordpress-5-4/To address this, try Tom’s suggestion found here:
https://generatepress.com/forums/topic/favicon-ico-and-w-logo-blue-png/#post-1243613A wise man once said:
"Have you cleared your cache?"February 1, 2021 at 8:31 pm #1642364Ian
That is odd. Instructions say to use Customizer to load the favicon and the root icon won’t be called but it is. Not sure how to proceed as uploading manually is outside of WordPress and that is not a solution for now. This is not happening on other sites. Odd.
February 3, 2021 at 8:54 am #1644452Tom
Lead DeveloperLead DeveloperGeneratePress itself doesn’t have any favicon-related functionality, it’s 100% WordPress.
In my experience, uploading a site icon in the Customizer will prevent the favicon.ico request. The network tab in your browser developer tools should confirm that.
If it’s still being requested, it likely means something isn’t configured correctly within WP/your server. I did some searching but couldn’t find any relevant info.
Perhaps it would just be better to upload a favicon.ico file to your root instead of using a site icon?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentFebruary 3, 2021 at 9:35 am #1644487Ian
Thanks Tom. I hear what you are saying. Let me see if converting the png file to a .ico and have it uploaded to the root will solve the 302. Appreciate it.
February 4, 2021 at 10:58 am #1645976Tom
Lead DeveloperLead DeveloperNo problem!
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development -
AuthorPosts
- You must be logged in to reply to this topic.