[Support request] GPP Favicon 302 Issue

Home Forums Support [Support request] GPP Favicon 302 Issue

Home Forums Support GPP Favicon 302 Issue

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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?

    #1642257
    Elvin
    Staff
    Customer Support

    Hi 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?"

    #1642287
    Ian

    Hi Elvin,

    Site has been shared. Any ideas?

    #1642335
    Elvin
    Staff
    Customer Support

    Thank 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-1243613

    A wise man once said:
    "Have you cleared your cache?"

    #1642364
    Ian

    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.

    #1644452
    Tom
    Lead Developer
    Lead Developer

    GeneratePress 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?

    #1644487
    Ian

    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.

    #1645976
    Tom
    Lead Developer
    Lead Developer
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.