Hello, we apologize for the issue you are facing with the expire headers on your images in Rank Math SEO. If Rank Math is indicating that the expire headers are undetectable, it may be necessary to add these headers manually to your image assets.
To help you with this, you can refer to our guide on adding expire headers, which covers multiple approaches to implement this effectively.
Additionally, if you want to improve your website’s performance by leveraging browser caching, you can use the following .htaccess code snippet:
## EXPIRES CACHING ##
ExpiresActive On
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType text/x-javascript "access 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
## EXPIRES CACHING ##
Implementing this code in your .htaccess file can help ensure that your images are cached properly. If you have any further questions or if this does not resolve the issue, please reply to this ticket, and a human agent from the Rank Math Support team will assist you further.
Hello,
Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.
Please share your website URL with us so that we can check the issue further for you.
Meanwhile, 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.

Please clear your website and any server-level caching on your site before doing the SEO analysis again.
Let us know how it goes. Looking forward to helping you.
Thank you.
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.