This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Tagged: Not WPML issue
This topic contains 3 replies, has 3 voices.
Last updated by Bobby 1 year, 9 months ago.
Assisted by: Bobby.
Author | Posts |
---|---|
July 6, 2023 at 1:38 pm #13960505 | |
rajatK-2 |
I am using Yoast SEO along with WPML (Latest version). The default language(en) sitemap is working fine at location : However, other sitemaps inside language specific virtual directories created by WPML, are not working. They all are reflecting 404 error. /fr/sitemap_index.xml I have tried clearing cache, also tried switching off and on sitemaps option inside yoast, but nothing is working. Please assist. Are not working |
July 7, 2023 at 4:54 am #13963821 | |
Shekhar Bhandari WPML Supporter since 03/2015
Languages: English (English ) Timezone: Asia/Kathmandu (GMT+05:45) |
Hello, Welcome to WPML support! Thank you for reaching out to us regarding the issue of separate sitemaps not generating for multiple languages in Yoast SEO. Regarding your concern, please note that sitemaps can be created differently for different domains per language using Yoast SEO and WPML. This means that each domain can have its own dedicated sitemap containing language-specific URLs. However, for different directories, all links are stored in the same sitemap, and this configuration works effectively with Google and other search engines. The sitemap includes all the language versions of the pages within the directories. To ensure this feature works correctly, please ensure that you have installed our WPML SEO glue plugin. For further information and detailed guidance on translating sitemaps using WPML and Yoast SEO, please refer to our documentation available here: https://wpml.org/documentation/plugins-compatibility/using-wordpress-seo-with-wpml/#translate-sitemaps If you have any additional questions or concerns, please do not hesitate to let us know. We are here to provide assistance. Thank you for your understanding. Best regards, |
July 7, 2023 at 10:42 am #13967269 | |
rajatK-2 |
Thank you for your response. However, this doesn't answers my query. I would like my site to have separate sitemaps for each language subdirectory(created by wpml) like most others. Please see the reference below to understand my request and assist me how could I achieve that. Currently, only defauly sitemap path is working for my site. Sample WPML site For Reference: hidden link |
July 7, 2023 at 6:44 pm #13969921 | |
Bobby WPML Supporter since 04/2015
Languages: English (English ) Timezone: America/Los_Angeles (GMT-07:00) |
Hello, I fully understand what you would like to achieve, to do this you will need to use the Language URL Format of " A different domain per language" (en.site.com, es.site.com, etc) as stated in our documentation. As you are using the URL Format of " Different languages in directories " (site.com/en , site.com/es , etc) the correct and expected behavior is for all languages to be listed under 1 sitemap as they are now. (notice at the bottom of the page sitemap you can see all 3 languages for the homepage since it is translated) |