-
Dear Rank Math Support Team,
I hope this message finds you well.
I am currently facing an issue where my Rank Math-generated sitemap includes Cloudflare CDN URLs for images instead of the original image URLs. I believe that having the original image URLs in the sitemap is a better practice for image SEO, as it improves the chances of my images being indexed and appearing in Google Search.
To address this, I attempted to add the following code to my theme’s rank-math.php file to replace the CDN URLs with the original URLs in the sitemap:
[moved to sensitive data section]
Unfortunately, this code does not seem to resolve the issue, as the sitemap still includes the CDN URLs.
Could you please advise on how to properly implement this replacement? If there’s a better approach or specific guidance for handling this within Rank Math, I’d greatly appreciate your support.
Thank you for your time and assistance.
Best regards,
Thuy
The ticket ‘Replacing CDN Image URLs with Original URLs in Sitemap’ is closed to new replies.