-
Hello Rank Math Support Team,
I am using Rank Math Pro and am experiencing a persistent, systemic issue with my sitemap generation in a multilingual setup with WPML. The issue affects both of my domains.
My Environment:
Setup: WPML’s “A different domain per language” option.
Primary Language: English, served from a .com domain.
Secondary Language: Persian, served from a .ir domain.
The Problem:
Both sitemaps for my primary English (.com) and secondary Persian (.ir) domains are being generated incorrectly.English (.com) Sitemap:
It includes duplicate URLs for its own English pages.
It incorrectly includes the homepage URL of the Persian (.ir) domain.
Persian (.ir) Sitemap:
It also includes duplicate URLs for its own Persian pages (including the homepage).
Troubleshooting Steps Already Taken:
I have already performed extensive troubleshooting to resolve this without success, including:Ensuring the WPML SEO bridge plugin is installed and active.
Verifying that my WPML settings for “A different domain per language” are correctly configured.
Removing any dynamic WP_HOME/WP_SITEURL definitions from my wp-config.php file.
Repeatedly clearing the Rank Math transients and forcing the sitemap to regenerate.
Clearing all website, server, and browser caches.
Disconnecting and reconnecting page translations within WPML to reset their database relationship.
Despite all these steps, the sitemaps on both domains continue to be generated with the same errors. This appears to be a deeper conflict or bug beyond standard configuration.
Could you please assist me in diagnosing and resolving this issue? I am happy to provide temporary admin access to the site if needed.
Thank you for your time and assistance.
Best regards,
You must be logged in to reply to this ticket.