Sitemap for different languages
-
Hi,
I’m using polylang in my site which generates a /en/(or any language) in the url, example site.com/en/. I’m not using any subdirectory folder for the different language. Is there a way where I can generate a sitemap index like this?
https://www.examplesite.com/en/sitemap_index.xml
https://www.examplesite.com/sp/sitemap_index.xmlor this will also do (individual sitemap for pages, post, events etc),
https://www.examplesite.com/en/post-sitemap.xml
https://www.examplesite.com/sp/post-sitemap.xmlI tried this solution:
https://cambodesign.com/yoast-wordpress-seo-sitemap-for-each-language/
But it will give me a 404 page whenever I tried to access https://www.examplesite.com/en/post-sitemap.xmlthanks,
- The topic ‘Sitemap for different languages’ is closed to new replies.