Image Headers Expires test failing in Ranmath SEO Analyzer

#537148
  • Resolved VeganMall
    Rank Math free

    Hi,

    My website is https://veganmall.in

    I have the following entry in my .htccess but still the Image Headers Expires test failing in Ranmath SEO Analyzer

    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType application/pdf "access 1 year"
    ExpiresByType image/x-icon "access 1 year"
    ExpiresByType image/vnd.microsoft.icon "access 1 year"
    ExpiresByType image/svg+xml "access 1 year"
    
    ExpiresByType image/jpg "access 1 year"
    ExpiresByType image/jpeg "access 1 year"
    ExpiresByType image/png "access 1 year"
    ExpiresByType image/gif "access 1 year"
    ExpiresByType image/webp "access 1 year"
    ExpiresByType image/svg "access 1 year"
    ExpiresByType image/gif "access 1 year"
    
    ExpiresByType video/ogg "access 1 year"
    ExpiresByType audio/ogg "access 1 year"
    ExpiresByType video/mp4 "access 1 year"
    ExpiresByType video/webm "access 1 year"
    
    ExpiresByType text/html "access 1 month"
    ExpiresByType text/css "access 1 month"
    ExpiresByType text/javascript "access 1 month"
    ExpiresByType application/javascript "access 1 month"
    ExpiresByType application/x-javascript "access 1 month"
    ExpiresByType application/xhtml+xml "access 1 month"
    ExpiresByType application/x-shockwave-flash "access 1 month"
    
    ExpiresByType application/x-font-ttf "access 1 year"
    ExpiresByType application/x-font-woff "access 1 year"
    ExpiresByType application/font-woff "access 1 year"
    ExpiresByType application/font-woff2 "access 1 year"
    ExpiresByType application/vnd.ms-fontobject "access 1 year"
    ExpiresByType font/ttf "access 1 year"
    ExpiresByType font/otf "access 1 year"
    ExpiresByType font/woff "access 1 year"
    ExpiresByType font/woff2 "access 1 year"
    
    ExpiresDefault "access 4 days"
    
    </IfModule>

    The same test in passing in https://seositecheckup.com/tools/image-caching-test

    Could you please let know what I am missing or how to fix it. I went through the Help sections but I still could not solve it

    Regards,
    Murali

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.

    I checked your site with our External SEO Analyzer tool and I can see that your website passed the test for Image Headers Expire:

    Please head over to your WordPress Dashboard > Rank Math > Status & Tools > Database Tools and click the Clear SEO Analysis and Remove Transients buttons to flush the SEO Analysis cache.

    Once done, clear your website and any server-level caching on your site before doing the Sitewide analysis again.

    Let us know how it goes.

    Thank you.

    Thank you it is fine now

    Hello,

    Glad that helped.

    Please feel free to reach out to us again in case you need any other assistance.

    We are here to help.

    Thank you.

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

The ticket ‘Image Headers Expires test failing in Ranmath SEO Analyzer’ is closed to new replies.