我有一些包含特殊字符的 URL。例如:
http://www.example.com/bléèàû.html
Run Code Online (Sandbox Code Playgroud)
如果您在浏览器中输入此 URL,我的 Web 服务器将显示正确的页面(它可以处理特殊字符)。
I have looked at the sitemaps specs and it's not clear whether or not sitemaps file can contain special character. From what I understand of the protocol, if the URL is working fine and the server serves the correct page and the XML file is UTF-8 encoded, then it's ok.
For example, this entry is a valid sitemaps entry:
<url>
<loc>http://www.example.com/bléèàû.html</loc>
<changefreq>weekly</changefreq>
</url>
Run Code Online (Sandbox Code Playgroud)
Anyone can confirm this?
[Update] The reason I'm reluctant to …
sitemap ×1