WordPress theme TwentyTwenty Fonts issue

Hello Gulshan Kumar,

I don’t know should I ask this question/help in this forum or not but at this position I thought to get your suggestions…

Previous I was using different theme in that theme this same issue was happening. Issue:- loading TwentyTwenty theme fonts on my site:- https://www.screencast.com/t/cPklGoRc
https://www.screencast.com/t/LZnLp1OI2V
Right now I don’t have TwentyTwenty theme active but still fonts are loading. Ones I have activated that theme and deleted that font in background and checked again appearing the same issue:- https://www.screencast.com/t/XoC1wMEh
https://www.screencast.com/t/B8bVvtAPE7Y

Now I have changed the theme but problems are running with & not getting any resolution, different theme same issue same problem. Have checked in Cpanel FTP server that file is not available n both but still it’s difficult to understand from where that TwentyTwenty Fonts are loading from???

Try purging Page cache and check again. Or test after appending some query string like example.com?1

I have done this several times & using WP Rocket but this issue is loading with every theme, also have contacted with TwentyTwenty theme developer got this same reply:- https://wordpress.org/support/topic/theme-twenty-twenty-font-issue/

Use another theme.

Almost I have changed 3 themes, Newspaper 9, Bimber & now Jnews!

First I thought to locate that file in Cpanel but it’s unavailable in ftp server too :frowning:
Hitting my website speed loading unnecessary fonts which is unavailable

You can set an Apache rule to bypass WordPress for handling 404

<IfModule mod_rewrite.c>
        RewriteEngine On
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteCond %{REQUEST_URI} !(robots\.txt|sitemap\.xml(\.gz)?)
        RewriteCond %{REQUEST_FILENAME} \.(css|js|html|htm|rtf|rtx|svg|svgz|txt|xsd|xsl|xml|asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ram|swf|tar|tif|tiff|wav|wma|wri|xla|xls|xlsx|xlt|xlw|zip)$ [NC]
        RewriteRule .* - [L]
    </IfModule>

This will return 404 in few bytes quickly.

Credit: W3TC

Where to paste this code?? In Htaccess??

By switching off file optimization in WP Rocket it not showing but when we switching on file optimization fonts are coming back

Well the actual issue is not file optimization, fonts are still loading in background I have checked in Gtmetrix waterfall

Yes.

  1. Visit wp-content folder
  2. Delete “cache” folder.
  3. Deactivate WP Rocket
  4. Enable back.

Hey Gulshan Kumar,

Great idea, it’s really worked…
Thank you, Thank you, Thank you soo much… .well the link I have provided TwentyTwenty theme developer even he also didn’t understand the actual issue… But you did it… .:slight_smile:

I have purchased Yoast news & it’s not working showing blank:- https://thethus.com/news-sitemap.xml

Yoast developer is saying to exclude sitemap from caching have done that in WP Rocket but still showing blank & black!!!

Can you pls able to detect what is the actual issue is??

Does it load when you deactivate WP Rocket plugin?

No,
Showing same as blank whether WP Rocket is active or deactive

This problem is harmless as source code is still present. This happens due missing .xsl stylesheet.

How is that possible??
I have purchased premium plugin from Yoast & I think the plugin which I got was equal to everyone… .
Post, Pages XML sitemap is working fine, only happening this issue with Yoast News Sitemap.

If .xsl is missing than what to do now??