Title: Multi-language sitemap
Last modified: October 29, 2020

---

# Multi-language sitemap

 *  Resolved [wpuser555](https://wordpress.org/support/users/wpuser555/)
 * (@wpuser555)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/multi-language-sitemap-3/)
 * Hi, I have two languages on my site: English and Chinese. Why the sitemap generated
   by TSF has not shown the hreflang, ie fastuni.com/zh/….? Instead, it’s full of
   symbols. Here’s the link: [https://fastuni.com/sitemap.xml](https://fastuni.com/sitemap.xml)
 * They look like this: [https://fastuni.com/%e3%80%90%e5%bf%ab%e6%80%9d%e5%a4%a7%e5%ad%a6%e7%bd%91%e3%80%91%e6%98%af%e4%bb%80%e4%b9%88%e6%a6%82%e5%bf%b5%e5%95%8a%ef%bc%9fwhat-is-fastuni-%e4%b8%ad%e6%96%87-%e9%a6%99%e6%b8%af/](https://fastuni.com/%e3%80%90%e5%bf%ab%e6%80%9d%e5%a4%a7%e5%ad%a6%e7%bd%91%e3%80%91%e6%98%af%e4%bb%80%e4%b9%88%e6%a6%82%e5%bf%b5%e5%95%8a%ef%bc%9fwhat-is-fastuni-%e4%b8%ad%e6%96%87-%e9%a6%99%e6%b8%af/)
 * Instead of [https://www.fastuni.com/zh/…&#8230](https://www.fastuni.com/zh/…&#8230);
 * Can someone shed some insight, please? Thank you.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmulti-language-sitemap-3%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Sybre Waaijer](https://wordpress.org/support/users/cybr/)
 * (@cybr)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/multi-language-sitemap-3/#post-13603179)
 * Hello!
 * The URLs in the Chinese sitemap are valid. We need to URL-encode non-ASCII characters;
   otherwise, the sitemap would be invalid.
 * From [https://www.w3schools.com/tags/ref_urlencode.ASP](https://www.w3schools.com/tags/ref_urlencode.ASP):
 * > URL encoding converts characters into a format that can be transmitted over
   > the Internet.
   > URLs can only be sent over the Internet using the ASCII character-set.
   > Since URLs often contain characters outside the ASCII set, the URL has to be
   > converted into a valid ASCII format.
   > URL encoding replaces unsafe ASCII characters with a “%” followed by two hexadecimal
   > digits.
   >  URLs cannot contain spaces. URL encoding normally replaces a space
   > with a plus (+) sign or with %20.
 * Modern browsers can convert them back to human-readable characters in the URL-
   bar at the top, and so does WordPress for you in its interface. However, this
   is not a requirement. We can’t implement a URL-decoder in the sitemap’s XSL stylesheet:
   decoding thousands of URLs for display requires a lot of resources and can crash
   the visitor’s browser.

Viewing 1 replies (of 1 total)

The topic ‘Multi-language sitemap’ is closed to new replies.

 * ![](https://ps.w.org/autodescription/assets/icon.svg?rev=3000376)
 * [The SEO Framework – Fast, Automated, Effortless.](https://wordpress.org/plugins/autodescription/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autodescription/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autodescription/)
 * [Active Topics](https://wordpress.org/support/plugin/autodescription/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autodescription/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autodescription/reviews/)

## Tags

 * [multi-lingual](https://wordpress.org/support/topic-tag/multi-lingual/)
 * [sitemap](https://wordpress.org/support/topic-tag/sitemap/)

 * 1 reply
 * 2 participants
 * Last reply from: [Sybre Waaijer](https://wordpress.org/support/users/cybr/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/multi-language-sitemap-3/#post-13603179)
 * Status: resolved