Support » Plugin: WP Fastest Cache » WPFC + CF Is Stripping Important Code

  • Resolved amsgator

    (@amsgator)



    When I integrate WPFC with Cloudflare and it’s removing code from my site that’s resulting in 404 errors for the emoji javascript file. Once I remove CF integration the problem is also removed, even though I’m still using CF.

    It is turning this:

    window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/2.4\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/2.4\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/www.triggerpressers.com\/wp-includes\/js\/wp-emoji-release.min.js?ver=ed235e0fbb86900785a905c335518814"}};

    into this:

    window._wpemojiSettings = {"baseUrl":"https://s.w.org/images/core/emoji/2.4/72x72/","ext":".png","svgUrl":"https://s.w.org/images/core/emoji/2.4/svg/","svgExt":".svg","source":{"concatemoji":"triggerpressers.com\/wp-includes\/js\/wp-emoji-release.min.js?ver=ed235e0fbb86900785a905c335518814"}};

    thus removing the escaped slashes and also removing the https:\/\/www. from my website url. This is causing the wp-emoji-release.min.js file to 404 because, with the https:\/\/www. removed, it’s looking for the file at

    https://www.triggerpressers.com/triggerpressers.com/wp-includes/js/wp-emoji-release.min.js?ver=ed235e0fbb86900785a905c335518814

    instead of

    https://www.triggerpressers.com/wp-includes/js/wp-emoji-release.min.js?ver=ed235e0fbb86900785a905c335518814

    Perhaps it should have removed the https but left the //? I’m not sure. I guess I’m going to have to remove the integration until it can be resolved.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WPFC + CF Is Stripping Important Code’ is closed to new replies.