Google XML Sitemaps and WPML problem
-
Hi..
I’m testing a multi lang site configuration with two languages and I have seen an unexpected behavior.
If I use XML Sitemaps with polylang, it woks like a charm, it generate one sitemap.xml on root with link to page or post xml where appear the two langs urls, for example:
url.com/sample
url.com/sample/es/But if I use WPML, it make two sitemap.xml, one in root and another one in lang directory (for example /es/sitemap.xml). That’s ok, if I know it I can send this two sitemaps to search engines, but the main problem is that in every sitemap it repeats all the urls twice.
And I thing that if you have 4 languages it will repeat it 4 times.
Did you know this issue? Why it works different on each lang plugin?
- The topic ‘Google XML Sitemaps and WPML problem’ is closed to new replies.