最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

urls - Can non-latin characters appear in slugs?

programmeradmin0浏览0评论

For a non-latin category name such as "我的种类", the slug generated is "%e6%88%91%e7%9a%84%e7%a7%8d%e7%b1%bb". What function does Wordpress use to generate this slug? Can I directly use "我的种类" as the slug? I tried to change the slug from "%e6%88%91%e7%9a%84%e7%a7%8d%e7%b1%bb" to "我的种类" in wordpress database, but when I visited /, it showed "Page not found". If I did not do the change, I could visit the category page without a problem by typing /%e6%88%91%e7%9a%84%e7%a7%8d%e7%b1%bb/ or / in the address bar of my browser. In fact, if I type /%e6%88%91%e7%9a%84%e7%a7%8d%e7%b1%bb/, it is automatically changed to / in the address bar,why? And, are non-latin characters not allowed in a url?

发布评论

评论列表(0)

  1. 暂无评论