Welcome to the WPML support forum. Thanks for reporting this issue.
Just to be sure, what are the steps to reproduce the issue?
- Setup WPML with 2 languages + Yoast (or Rank Math) + WPML SEO
- Create a post or a page with an image with the url/filename containing "&"
- Translate that post/page
- Check the sitemap on the frontend to see the error
Yes, wp removes any special characters for uploaded media files, but i'm using custom blocks which adds additional parameters to image url on that block only.
For example it adds this string to image url: ?w=200&h=200 - these params are used to transform image with third party service.
Thanks for the clarification. Could you try to reproduce the issue on the test site I created? hidden link (one click login)
- Install only the necessary plugins to reproduce the issue. Please don't install any other plugins nor a copy of your entire site.
- If the issue is reproduced on that clean setup, then I can forward this to our 2nd tier support team.
What I don't understand is how Yoast (or Rank Math) would pick those parameters and add them in their sitemaps. It should take the file URL and not some extra parameters added by a custom plugin/block.
The topic ‘[Closed] wp-seo-multilingual plugin should parse image urls in sitemap too’ is closed to new replies.